github.com/gofenix/ser
1.0.0 / published Aug 17, 2021 / repository
a simple http server as replacement of python -m http.server
ser
a simple http server as replacement of python -m http.server
Installation
Usage
$ ser -h
ser is a simple http server.
-v, --version Show version
-h, --help Show help
-p PORT, --port=PORT On port
-a ADDR, --address=ADDR On ip address
examples:
ser
ser .
serve . directory using port 8080
ser -p 8088
serve . directory using port 8088
ser ..
serve .. directory using port 8080
ser -p 8088 ..
serve .. directory using port 8088
ser -a 0.0.0.0 -p 9999
serve . directory using address 0.0.0.0:9999
Contributing
- Fork it (https://github.com/your-github-user/ser/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- zhuzhenfeng.code - creator and maintainer
API
This version publishes no documented types.