Miniserve
Miniserve is a simple utility that serves files and directories over http.
Installation
brew install miniservecargo binstall miniserveUsage
Serve a directory:
$ miniserve path/to/directoryServing $PWD on the current port with an index file.
$ miniserve . --port=3000 --index index.htmlServe a single file:
$ miniserve path/to/fileServe a directory using HTTP basic authentication:
$ miniserve --auth username:password path/to/directory