NaitLee / PHFS

This is a Python3 implementation of rejetto's HTTP File Server~*
GNU General Public License v3.0
16 stars 4 forks source link
file-server file-sharing hfs http-server python python3 werkzeug wsgi

English | 简体中文

Going to archive this repo. See #9 for some explanations.

Thank you for your interest!

PHFS

PHFS ~ Python HTTP File Server

💫 This is a Python3 implementation of rejetto's HTTP File Server~


🏗 Under construction...

🎉 Please help make this project grow. Contributions are welcome!


👏 Done Features: 🕳 To-do Features:
Filelist, download Virtual File System
Sorting files, Archiving Ban, Limits
Upload, Search Other
Accounts, Login
File actions

🍉 Supported platforms:

Tips

The release bundle for Windows platform have additional convenient features. Read them at here.

Drag-drop item(s) to batch file (start.bat) or command-line (run.py) for quick file-sharing.

You can just get all requirements for development in a PHFS release package.

Developer Notes

👀 This project is not yet ready for production use. But, please, have a try!

You can try by using a release, or:

  1. Install Python 3.

  2. Install Werkzeug by either using pip install werkzeug or placing the folder Werkzeug-(version)/src/werkzeug from downloaded archive to cloned repo.

  3. Install WSGIserver by either using pip install wsgiserver or placing the file WSGIserver-(version)/wsgiserver.py from downloaded archive to cloned repo.

  4. Get sha256.js, place into repo folder.

  5. Pick a HFS template (for HFS 2.4), rename it to hfs.tpl and place into cloned repo.

  6. Configure port, base folder, upload-allowed folders and accounts in hfs.ini. Note: hfs.ini of original HFS is not compatible to PHFS.

  7. For running a server, open run.py; for developing, open test.py.

Template choices:

Notes

Files