Skip to content

kaihendry/serve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serve

Like python -m SimpleHTTPServer, plus more!

Serve a directory on the host and port of your choice.

Usage

$ serve
Serving '/home/james/' on 'http://127.0.0.1:8000'

$ serve -p 1234
Serving '/home/james/' on 'http://127.0.0.1:1234'

$ serve /usr/share/doc/python3-doc/html
Serving '/usr/share/doc/python3-doc/html/' on 'http://127.0.0.1:8000'

$ serve -h 0.0.0.0
Serving '/home/james/' on 'http://0.0.0.0:8000'

Install

go get github.com/jamesadney/serve

About

Serve a directory over HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%