File Upload and Storage Service
I present to the Internet my take on a python+flask web app! File Upload and
Storage Service is a small webapp for uploading and serving files. Please run
an instance behind authentication of some sort (which could be at the web
server level) so malicious actors do not upload bad things to your server.
Check out the code at https://gitlab.com/bgstack15/fuss. FUSS includes some
cool features, like drag-and-drop upload on the optional upload page. If you
disable the separate upload page, then users can just curl to the application
base URL. The application dynamically discovers the path that the user used to
get to the app! But admins who prefer to actually enforce a specific URL for
the application can configure that in the config file. A sysvinit service
script is provided, as well as a systemd service file. A dpkg recipe and also
rpm spec are included. To run this application on CentOS 7, you will need pip3
and a few modules from it. This
program is designed mostly as a demo of all the various bits: javascript,
python and flask, apache reverse proxying, and html.
Comments