Skip to content
Miska-raligunPublic

About

轻量级 Flask 网络磁盘:用户注册登录(密码哈希)、文件上传下载与预览、文件夹管理;管理后台可查看用户列表、上传下载日志并删除用户,可选 zeroconf mDNS 局域网广播服务发现。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetDisk

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.

Features

  • 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

Setup

  1. Create a virtual environment (optional):
    python -m venv venv
    source venv/bin/activate
  2. Install dependencies:
    pip install -r requirements.txt
  3. (Optional) Create a .env file to override the default admin account:
    ADMIN_USERNAME=admin
    ADMIN_PASSWORD=admin123
  4. Run the server:
    python main.py
    By default the application listens on port 5000.

Uploaded files and metadata will be stored inside the uploads/ directory and various *.json files in the project root.

Requirements

All required third‑party packages are listed in requirements.txt.

About

轻量级 Flask 网络磁盘:用户注册登录(密码哈希)、文件上传下载与预览、文件夹管理;管理后台可查看用户列表、上传下载日志并删除用户,可选 zeroconf mDNS 局域网广播服务发现。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages