LinuxCommandLibrary

miniserve

simple file server

TLDR

Serve current directory

$ miniserve .
copy
Serve specific directory
$ miniserve [/path/to/dir]
copy
Serve single file
$ miniserve [file.zip]
copy
Custom port
$ miniserve -p [8080] .
copy
Enable upload
$ miniserve -u .
copy
With authentication
$ miniserve -a [user:pass] .
copy

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community