A simple web-based file hosting application built with Flask.
- Upload files (up to 100MB)
- List uploaded files with size and date
- Paginated file listing
- Download files
- Clean, modern interface
- Mobile-friendly design
# Clone and run with setup script
git clone https://github.com/redpeppers-01/FileHostMe.git
cd FileHostMe
chmod +x setup.sh
./setup.sh
- Clone the repository:
git clone https://github.com/redpeppers-01/FileHostMe.git
cd FileHostMe
- Create and activate virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Start the server:
python app.py
- Local: http://localhost:5000
- Network: http://your-ip-address:5000
- Command line:
wget http://your-ip-address:5000/files/your-filename
# Files are stored in static/files/ and accessed via /files/ endpoint
# Default settings in app.py
UPLOAD_FOLDER = 'static/files/'
MAX_CONTENT_LENGTH = 100MB
FILES_PER_PAGE = 20
This is a basic implementation. For production use, consider adding:
- Authentication
- File type restrictions
- CSRF protection
- Secure filename validation
- Rate limiting
Requirements:
- Python 3.8+
- Flask 2.3.3+
- Modern web browser
MIT License - See LICENSE file
://dla.network [oZark oRChes✝ra✝'d]