Huster

HTTP Uploading Server Tool.


Keywords
http-server, http-server-upload
License
MIT
Install
pip install Huster==0.0.5

Documentation

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