A poor man's pomf clone without the public nature.
Go to file
2019-09-29 14:49:06 -04:00
templates use buckler for security 2019-09-29 14:49:06 -04:00
.gitignore use buckler for security 2019-09-29 14:49:06 -04:00
buckler_flask.py use buckler for security 2019-09-29 14:49:06 -04:00
config.py.template use buckler for security 2019-09-29 14:49:06 -04:00
fileHost.py use buckler for security 2019-09-29 14:49:06 -04:00
LICENSE add license 2019-09-28 14:47:10 -04:00
README.md update readme 2019-09-13 18:37:28 -04:00
run.py first commit 2018-02-19 23:01:28 -05:00

upload shit

Note: I switched to Gunicorn at some point because Bjoern was somehow annoying. Don't use run.py, use

gunicorn -b localhost:5000 -e SCRIPT_NAME=/upload fileHost:app

Dependencies:

passlib argon2_cffi flask gunicorn flask-paranoid apscheduler requests

This application makes use of the secrets module (a cryptographically strong version of random) from the standard library, which is only available in Python 3.6+. If you really can't be bothered use the latest version of python3, or just don't want cryptographically strong random character filenames/prefixes for some reason, you can directly replace all instances of secrets with random.