This repository has been archived on 2021-01-14 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
				
			
		
		
		
			
				
					
						
					
					565a91e4eca9ce8e539c11d2096ad82beb7b6ef7
				
			
			
		
	It doesn't really make sense to encrypt the keys, but store the secret literally in the same directory. uploadkeys will now be stored in plaintext. The branch `legacy` has the old code from before this commit.
imgupload
What is imgupload?
imgupload is a Flask + uWSGI application to serve as an all-purpose image/file uploader over POST requests.
Installation
- Clone the repository: 
git clone https://github.com/BBaoVanC/imgupload.git - Enter the imgupload directory: 
cd imgupload - Create a virtualenv: 
python3 -m venv env - Enter the virtualenv: 
source env/bin/activate - Install dependencies: 
python3 -m pip install -r requirements.txt - Run the Flask app
 
Running the Flask app
Using uWSGI
https://uwsgi-docs.readthedocs.io/en/latest/Configuration.html
Instructions specific to imgupload are coming soon
Using Flask development server
$ source env/bin/activate  # if you haven't already entered the virtualenv
$ export FLASK_APP=imgupload.py
$ flask run
								v2.4
								
	Latest
							
						
					Languages
				
				
								
								
									Python
								
								100%