A simple cli utility for service static website files.
Casey DeLorme 2b6be256ea add go mod | il y a 3 mois | |
---|---|---|
.gitignore | il y a 8 ans | |
go.mod | il y a 3 mois | |
go.sum | il y a 3 mois | |
license | il y a 8 ans | |
main.go | il y a 8 ans | |
main_test.go | il y a 8 ans | |
readme.md | il y a 8 ans |
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.