Python Flask application to receive and save images over POST requests.
This repository has been archived on 2021-01-14. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
BBaoVanC f0bb30a747
Change keygen.py to not require root
keygen.py now recommends that you run it as the user you want to have
ownership of secret.key and uploadkeys (such as www-data for nginx).
Then, if uploadkeys or secret.key don't exist, they will be created with
the correct ownership.
2020-09-02 14:26:57 -05:00
.gitignore added encryption to uploadkeys and added a key generator 2020-08-31 17:12:39 -07:00
configtest.py Remove UPLOADKEYS_CHMOD option due to keygen.py 2020-08-31 21:14:09 -05:00
imgupload.py Remove UPLOADKEYS_CHMOD option due to keygen.py 2020-08-31 21:14:09 -05:00
keygen.py Change keygen.py to not require root 2020-09-02 14:26:57 -05:00
LICENSE Initial commit 2020-08-31 16:43:58 -05:00
README.md Remove trailing whitespace from lines 2020-08-31 23:09:39 -05:00
requirements.txt Remove secrets from requirements.txt 2020-08-31 23:46:28 -05:00
settings.py.default Remove UPLOADKEYS_CHMOD option due to keygen.py 2020-08-31 21:14:09 -05:00

imgupload

CodeFactor Grade GitHub repo size GitHub All Releases GitHub issues GitHub closed issues GitHub

What is imgupload?

imgupload is a Flask + uWSGI application to serve as an all-purpose image/file uploader over POST requests.

Usage

Make sure you install the dependencies first. To do this, run sudo python3 -m pip install -r requirements.txt. To deploy imgupload, run flask run.