MiniServ 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global MiniServ --version 0.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MiniServ --version 0.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MiniServ&version=0.3.0
                    
nuke :add-package MiniServ --version 0.3.0
                    

MiniServ

A tiny, unambitious file server - for all the cases where file:// is not enough but a full-blown host would be too much.

Features

  • Host files from any path on disk
  • Automatically resolve /foo to /foo/index.html
  • Redirect a 404 to /404.html (opt-in)

Usage

miniserv is available as a dotnet tool:

dotnet tool install --global miniserv

Serve the current directory with default settings:

miniserv

Serve a specific directory with default settings:

miniserv path/to/content # Can be absolute or relative to the current directory
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.4.0 52 7/26/2026
0.3.0 56 7/26/2026
0.2.0 110 7/13/2026
0.1.0 100 7/12/2026