pushrax / serve

Convenient way to serve a directory over HTTP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

serve

Start serving a directory over HTTP (à la python -m SimpleHTTPServer). Defaults to the current working directory and port 8080.

Installation

Install Go, and go get github.com/pushrax/serve. Ensure your Go bin folder is in your $PATH.

Usage

Just run serve somewhere and it'll start serving.

$ serve -help
Usage of serve:
  -path=".": Directory to serve
  -port=8080: Port to listen on

About

Convenient way to serve a directory over HTTP.

License:Do What The F*ck You Want To Public License


Languages

Language:Go 100.0%