/serve

Convenient way to serve a directory over HTTP.

Primary LanguageGoDo What The F*ck You Want To Public LicenseWTFPL

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