A simple cli utility for service static website files.

Casey DeLorme 0e80927a70 add first-draft implementation plus tests il y a 8 ans
.gitignore 90fecda434 initial commit with readme and license il y a 8 ans
license 90fecda434 initial commit with readme and license il y a 8 ans
main.go 0e80927a70 add first-draft implementation plus tests il y a 8 ans
main_test.go 0e80927a70 add first-draft implementation plus tests il y a 8 ans
readme.md 90fecda434 initial commit with readme and license il y a 8 ans

readme.md

serve

A utility that makes testing static web files stupidly simple.

Written in go, it produces a cli that when run from any folder will host that folder as the root path of a webserver.

It defaults to http://localhost:3000/, but you can override the port via the PORT environment variable or the first parameter supplied to the app.