miniserve logo

miniserve

Single-binary CLI HTTP server for quickly serving files

7.8k stars 398 forks last commit first released MIT

Actively maintained

Last commit 1 Aug 2026.

miniserve is a small, self-contained CLI tool that serves local files and directories over HTTP with minimal setup. It provides a web UI for browsing content and supports common sharing features like authentication, uploads, and on-the-fly downloads.

Key Features

  • Serve a directory or single file with automatic directory listings
  • Correct MIME type handling out of the box
  • Single static binary with no runtime dependencies
  • Optional basic authentication (including hashed passwords or auth file)
  • TLS support for HTTPS serving
  • File uploads, optional directory creation, and optional deletion controls
  • On-the-fly folder downloads as .tar.gz or .zip
  • WebDAV support and HTTP range requests
  • SPA mode, pretty URLs, and optional custom headers
  • QR code display for quick access from mobile devices

Use Cases

  • Quickly share files on a LAN for ad-hoc collaboration or device transfers
  • Serve a static site or SPA locally for testing and demos
  • Lightweight file drop or upload endpoint for small teams and temporary workflows

Limitations and Considerations

  • Intended for lightweight sharing and quick setups rather than complex web hosting scenarios
  • TLS support may vary by target architecture depending on build features

miniserve is a pragmatic choice when you need an easy, fast way to expose files over HTTP without deploying a full web server stack. Its single-binary approach and built-in sharing features make it especially useful for quick, temporary, or local file distribution.

Categories:

Tags:

Tech Stack:

Share:

Similar to miniserve

AList logo

AList

Multi-storage file listing server with WebDAV and previews

50.1k
7.9k
Last commit

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

AGPL-3.0Actively maintained
Alternative to:
Dropbox logo
Dropbox
+19

Tiny File Manager

Single-file PHP web file manager with built-in editor and uploads

6k
1.8k
Last commit

Tiny File Manager is a lightweight single-file PHP web file manager to upload, browse, edit, search, and manage files and folders directly from your browser.

GPL-3.0Actively maintained
Alternative to:
cPanel File Manager logo
cPanel File Manager
+2

Erugo

Self-hosted file-sharing platform built with PHP/Laravel and Vue.js

1.1k
83
Last commit

Open-source, self-hosted file-sharing app (PHP/Laravel + Vue) with password protection, expirations, download limits and Docker-first deployment.

MITActively maintained
Alternative to:
WeTransfer logo
WeTransfer
+11

Mikochi

Minimalist remote file browser with streaming and upload features

371
17
Last commit

Mikochi is a minimalist remote file browser for self-hosted servers and NAS. Browse, fuzzy-search, upload, download (tar.gz), manage and stream files via a Go API and Preact frontend.

MITActively maintained
Alternative to:
FileBrowser logo
FileBrowser
+9
copyparty logo

copyparty

Portable file server with fast resumable uploads and many protocols

46.4k
1.9k
Last commit

Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

MITActively maintained
Alternative to:
WeTransfer logo
WeTransfer
+19
FileGator logo

FileGator

Multi-user web-based file manager with pluggable storage backends

3.1k
446
Last commit

Self-hosted, open-source web file manager with multi-user access, roles, and chunked uploads. Manage local files or connect external storage like S3 via adapters.

MITActively maintained
Alternative to:
cPanel File Manager logo
cPanel File Manager
+19