Skip to content
M

miniserve

Lightweight file and directory HTTP server

by svenstaroFree

#458in Utilities
0In stores

Description

miniserve is a small, self-contained command-line tool that serves files and directories over HTTP. It is a single cross-platform binary, so…

Highlights

  • Serve a folder or single file over HTTP
  • Username and password protection
  • TLS and custom headers
  • Random routes and multiple interfaces
  • Uploads with the -u option

Ratings & Reviews

No ratings yet

Be the first to rate miniserve.

People also visit

G

Go Http File Server

Simple command line based HTTP file server to share local file system

Utilities
Launch
U

Updog

Updog is a replacement for Python's SimpleHTTPServer

Utilities
Launch
D

Dufs

A file server that supports static serving, uploading, searching

Utilities
Launch
M

Microbin

A secure, configurable file-sharing and URL shortening web app written in Rust

Utilities
Launch
C

copyparty

Portable file server with accelerated resumable uploads, deduplication, WebDAV

Utilities
Launch
Z

Zipline

A lightweight, fast and reliable file sharing server that is commonly used

Utilities
Launch

miniserve FAQ

What is miniserve?

A small command-line tool that serves files and folders over HTTP from a single binary.

How do I serve a folder?

Run miniserve with the folder path, for example miniserve linux-distro-collection/.

Can I require a password?

Yes. Use --auth with a username and password, a hash, or an auth file with one login per line.

Does it support HTTPS?

Yes. Use --tls-cert and --tls-key, and a full-chain certificate with HSTS is supported.

Can visitors upload files?

With the -u option, which can be restricted to certain paths. The README shows an example upload with curl.

Can it serve a single-page app?

Yes. The --spa option forwards unknown paths to the app's router.

What are the best miniserve alternatives?

Popular alternatives to miniserve include Go Http File Server, Updog and Dufs. See all miniserve alternatives

Developer Stuff

Badges