talira

miniserve

Serve some files over HTTP right now

open sourceMITself-hostablefree

miniserve is a single-binary CLI that serves a file or directory over HTTP at once, with correct MIME types and no dependencies. It's written in Rust on Actix, and adds what quick sharing needs: username and password authentication (hashed passwords too), file uploads and directory creation, folder downloads compressed on the fly as .tar.gz or .zip, search by name, a QR code for opening it on a phone, README.md rendering like GitHub's, range requests, WebDAV, TLS and light and dark themes, with secure defaults.

Problems it solves

  • share a folder over HTTP on my local network right now
  • let someone upload files to my machine through a browser
  • a quick file server with a password, in one binary
  • serve a directory to my phone by scanning a QR code

Features

  • single binary, no dependencies
  • password authentication
  • file uploads and directory creation
  • folder downloads as .tar.gz or .zip
  • QR code for quick access
  • WebDAV, TLS and range requests
  • README.md rendering

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what miniserve does.

  1. serve Static file serving and directory listing

Compare miniserve with the top 3