Simple static file server, with support of HTTP and HTTPS. Useful for local testing of web applications.
There are no configuration files and no dependencies (except one for testing). Serving the current directory on HTTP port 8080 is as simple as invoking:
$ go run github.com/go-monk/static-server@latest
<timestamp> Serving directory "." on http://127.0.0.1:8080
If you want to install static-server locally first, you can run:
$ go install github.com/go-monk/static-server@latest