Simple Rest API that saves png
, jpeg
, gif
, webp
images
Make sure you have all libraries by running git submodule init && git submodule update
.
You may compile mukyun_image_hosting
binary by running cmake
.
Generate Mukyun Image Hosting
config file by running mukyun_image_hosting --generate_default_cfg
.
Edit that file and set its path in MUKYUN_IH_CFG_PATH
environment variable.
Run mukyun_image_hosting
.
You need a reverse proxy such as nginx
to handle file delivery and HTTPS.
First edit mukyun_ih_upload.sh
to set your token and your server address.
Then run mukyun_ih_upload.sh image
to upload your image.