miniserve

Simple HTTP file server CLI.

TLDR

Serve a directory

$ miniserve [path/to/directory]
copy

Serve a single file

$ miniserve [path/to/file]
copy

Serve a directory using HTTP basic authentication

$ miniserve --auth [username]:[password] [path/to/directory]
copy

Copied to clipboard
3commas