A simple cli utility for service static website files.

Casey DeLorme 2b6be256ea add go mod há 11 meses atrás
.gitignore cece1ea771 add utility to launch page in browser after starting server process há 9 anos atrás
go.mod 2b6be256ea add go mod há 11 meses atrás
go.sum 2b6be256ea add go mod há 11 meses atrás
license 90fecda434 initial commit with readme and license há 9 anos atrás
main.go cece1ea771 add utility to launch page in browser after starting server process há 9 anos atrás
main_test.go cece1ea771 add utility to launch page in browser after starting server process há 9 anos atrás
readme.md 90fecda434 initial commit with readme and license há 9 anos atrás

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.