commands.sh

miniserve

all

Simple HTTP file server.

More info →

Options (1)

-a, --authboolean

Serve a directory using HTTP basic authentication

Example: miniserve {{[-a|--auth]}} {{username}}:{{password}} {{path/to/directory}}

Examples (3)

Serve a directory

miniserve path/to/directory

Serve a single file

miniserve path/to/file

Serve a directory using HTTP basic authentication

miniserve [-a|--auth] username:password path/to/directory
made by @shridhargupta | data from tldr-pages