a simple http server as replacement of python -m http.server
$ 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
- 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
- zhuzhenfeng.code - creator and maintainer