Miniserve

Table of Contents

Miniserve

Miniserve is a simple utility that serves files and directories over http.

Installation

brew install miniserve
cargo binstall miniserve

Usage

Serve a directory:

$ miniserve path/to/directory

Serving $PWD on the current port with an index file.

$ miniserve . --port=3000 --index index.html

Serve a single file:

$ miniserve path/to/file

Serve a directory using HTTP basic authentication:

$ miniserve --auth username:password path/to/directory