Install python-flask before using any of these:
sudo apt install python-flask python3-flask
Current projects:
-
http_gallery --- Simple gallery for webm and mp4 videos.
-
tls12_gallery --- Gallery w/ TLS1.2 encryption.
-
tls12_gallery_auth --- Gallery w/ TLS1.2 encryption, custom working directory and password.
-
tls12_gallery_accounts --- Gallery w/ TLS1.2 encryption, custom working directory, accounts + passwords and logging.
Add a user:
$ printf "USERNAME:$(echo -n 'PASSWORD' | sha1sum | head -c 40)\n" >> access.txt
-
tls12_flask_DL_only_server --- A general purpose server with TLS1.2 and no indexing.
-
tls12_flask_upload_server --- A file upload server with indexing:
Add a cleanup routine on files older than 24 hours:
@hourly find /media/kingdian/up/* -mtime 1 -type f -not -name 'index.html' -delete
Licensed under the WTFPL license.