NetDisk is a lightweight Flask based network disk application. It provides simple user registration, login and file management through a web interface. The admin user can view upload/download logs and manage all registered users.
- User registration and login with password hashing
- File upload, download and preview
- Folder management (create/delete)
- Admin panel with user list, upload/download logs and user removal
- Optional mDNS service advertisement via
zeroconf
- Create a virtual environment (optional):
python -m venv venv source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
- (Optional) Create a
.envfile to override the default admin account:ADMIN_USERNAME=admin ADMIN_PASSWORD=admin123
- Run the server:
By default the application listens on port
python main.py
5000.
Uploaded files and metadata will be stored inside the uploads/ directory and
various *.json files in the project root.
All required third‑party packages are listed in requirements.txt.