Skip to content

ZQPei/Huster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huster

HTTP Uploading Server Tool

Install

You can install it from pip or source code.

  1. pip

    pip install huster
  2. source code

    git clone https://github.com/ZQPei/Huster.git
    cd Huster
    python setup.py install # use sudo if necessary

Usage

build_server --port [port=8000] --base_dir [base_dir="/"]

or

python -m huster.server --port [port=8000] --base_dir [base_dir="/"]

For simplification, the following command can redirect the output to /dev/null.

nohup build_server --port 8000 >/dev/null 2>&1 &

Example

If you have built a server on your machine, you can assess it by browsing http://xxx.xxx.xxx.xxx:8000.

It provides a button to upload file from local to server.

bash

demo

Releases

No releases published

Packages

No packages published

Languages