micro-httpd

really small HTTP server

Install

All systems
curl cmd.cat/micro-httpd.sh
Debian Debian
apt-get install micro-httpd
Ubuntu
apt-get install micro-httpd
Windows (WSL2)
sudo apt-get update sudo apt-get install micro-httpd
Raspbian
apt-get install micro-httpd

micro-httpd

really small HTTP server

A very small HTTP server implemented in 150 lines of code. Program can be used to serve HTTPS by wrapping it with stunnel. It implements all the basic features of an HTTP server, including: * Security against ".." filename snooping * The common MIME types * Trailing-slash redirection * index.html * Directory listings