miniserve
simple file server
TLDR
Serve current directory
$ miniserve .
Serve specific directory$ miniserve [/path/to/dir]
Serve single file$ miniserve [file.zip]
Custom port$ miniserve -p [8080] .
Enable upload$ miniserve -u .
With authentication$ miniserve -a [user:pass] .
SYNOPSIS
miniserve [options] path
DESCRIPTION
miniserve is a simple file server. It serves files over HTTP with minimal setup.The tool supports uploads, authentication, and QR codes. Written in Rust for performance.
PARAMETERS
PATH
File or directory to serve.-p PORT
Port number.-u
Enable uploads.-a CREDS
Basic auth (user:pass).-i ADDR
Interface to bind.--help
Display help information.
CAVEATS
Development use recommended. Not for production. Rust-based.
HISTORY
miniserve was created as a fast, minimal Rust-based HTTP file server for quick sharing.
SEE ALSO
python(1), http-server(1), serve(1)
