A console program to upload medias to Imgur.
- Use the official API
- Supported uploading pictures from
- copied files
- copied image data
- drag and drop (required to run in a batch script on Windows 10)
- jpg (jpeg)
- png
- gif
Open the app and it will open a webpage where your media is uploaded. If you upload multiple files, it will just text you the links instead.
-f
: do not open browswer and print links instead
The application was built and executed under JDK Eclipse Termurim 17.0.4, but JDK 12+ (JRE 12+ for execution) should work as well. (Not tested)
javac -d out src\*
jar -c -v -f build\main.jar -e com.carrieforle.uploadtoimgur.Main -C out .
Run the jar executable
java -jar build\main.jar
The following snippets create a JRE to run in jre/
. (45.5MB)
jlink -v --compress=2 -p out --add-modules uploadtoimgur --output jre
If the console is not opened upon opening it on Windows, create a batch
snippet with the following text
java -jar build\main.jar %*