A poor man's pomf clone without the public nature.
Go to file
2019-09-13 18:37:28 -04:00
templates added text paste area 2019-04-12 18:53:16 -04:00
.gitignore added uploading image from url 2019-04-02 10:12:58 -04:00
fileHost.py added text paste area 2019-04-12 18:53:16 -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.