Skip to main content

Simple HTTP file server CLI.

# To serve a directory:
miniserve <path/to/directory>

# To serve a single file:
miniserve <path/to/file>

# To serve a directory using HTTP basic authentication:
miniserve --auth <username>:<password> <path/to/directory>