HTTP Uploading Server Tool
You can install it from pip or source code.
-
pip
pip install huster
-
source code
git clone https://github.com/ZQPei/Huster.git cd Huster python setup.py install # use sudo if necessary
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 &
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.