A simple Flask application to list files in a directory.
- File Listing: Lists all the files in a directory
- File Download: Allows the download of files
- File icons: Adds icons to files with known file extensions
You can find a demo at file-hosting.tech
Follow these instructions to get the project up and running on your local machine.
- Python 3.x
- Flask
- Clone the repository
git clone https://github.com/newsfeed-ops/flask-filehost.gitcd flask-filehost
- Install the required packages
pip install -r requirements.txt
- Start the webserver
- For development:
python run.py - For production: Use a gunicorn or uWSGI server