Custom Flask webserver designed for sharex
Upload files using SFTP or whatever you use into /files from the project root
Also supports HTTP(S) uploading image at the /upload endpoint using multipart/form-data (simply pass file as form data under 'upload' and add Authorization
header, it will save as the file's original name)
set necessary configuration in start.sh
- rename start_example.sh
to start.sh
and input desired config
to deploy w/ default config:
apt install gunicorn
<python_cmd> -m pip install -r requirements.txt
configure reverse proxy to point to the port in start.sh