A java tool that can be used to upload pictures to an instance of the picture sharing server Lychee, create new albums, edit access rights to albums and a bit more.
Ways to import the code would for example be to
- Import it using JitPack together with a build/dependency management system (currently supported by JitPack: Gradle, Maven, Leiningen, SBT)
- load it as a git-submodule like described here.
You can then use it in your project by creating a LycheeUploaderHttp-object. Check the JavaDoc in the source files for details.
If you just want to copy the code without making it a submodule or JitPack make sure that all dependencies specified in the pom.xml are available.
The CLI apllication does not support all operations, that are available in the LycheeUploaderHttp-Class.
java -jar lycheeUpload.jar [-u <filepath> <albumId> | -l ]
[--user <username>] [--password <password>] [--server <serverAddress>] [--config <path>]
Options:
-u <filepath> <albumId> to upload an image\n
-l to list albums available on the server
Thanks to user finghine for pointing me in the right direction with his code from his upload tool for Lychee!