Life & fun · alternatives · 2026
24 alternatives to Micro HTTP server in 22 lines of C
This post is from a protected account.
This is a minimal HTTP server implemented in just 22 lines of C code. It's designed for developers and programmers interested in understanding how web servers work at a fundamental level or who need an extremely… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Micro HTTP server in 22 lines of C launched in 2021; newer entries below may have overtaken it.
- 1

A little web server written in C for Linux. Supports: CGI, Reverse Proxy. Single threaded using I/O multiplexing (select).
2023 · github.com · its alternatives →
- 2UT
Hey HN, I wanted to get more familiar with C programming, *nix socket programming and C compilation, so I wrote this "web" ""server"". It's running on a tiny SBC in my office, and there's as little as possible between you and it. Happy for you to try and break it, hopefully with something more interesting than a DoS though :) Please let me know if you find any issues.
2025 · unsafehttp.benren.au · its alternatives →
- 3

2011 · github.com · its alternatives →
- 4

Articles in this series Part I. Iterative ServersPart II. Forking ServersPart III. Pre-forking ServersPart IV. Threaded ServersPart V. Pre-threaded ServersPart VI: poll-based serverPart VII: epoll-…
2019 · unixism.net · its alternatives →
- 5LC
I made a simple virtual machine that runs C in the browser.This project is made as an experiment to see if C can be learned easier if the lower level is covered in paralel. Sandbox: https://vasyop.github.io/miniC-hosting Tutorial part 1: https://vasyop.github.io/miniC-hosting/?0 More info: https://github.com/vasyop/miniC-hosting/blob/master/README.md Please support this project: https://github.com/vasyop/miniC-hosting/blob/master/support.md
2019 · its alternatives →
- 6

A minimal TCP/IP stack. Contribute to cozis/microtcp development by creating an account on GitHub.
2023 · github.com · its alternatives →
- 7MW
2015 · ureq.solusipse.net · its alternatives →
- 8

280 kB minimalistic HTTP server with async I/O and hot-code reloading - diznq/80s
2023 · github.com · its alternatives →
- 9

Asynchronous C networking library with HTTP server, WebSockets, reverse proxy, HTTP/2 gRPC client, TLS and event loop. - Softmotions/iwnet
2022 · github.com · its alternatives →
- 10

I'm relatively new to Go, but recently got interested in how MCP servers work. I started thinking about what the architecture of such a project might look like, and decided to build a minimalist version as an experiment. I based it on my past experience writing regular REST API servers and figured it might be useful or interesting to others as well.
2025 · github.com · its alternatives →
- 11

A minimal Fortran TCP client and server. Contribute to modern-fortran/tcp-client-server development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 12

a lightweight web framework in c. Contribute to ashtonjamesd/lavandula development by creating an account on GitHub.
2025 · github.com · its alternatives →
- 13

A minimalist HTTP server for Linux, written in x86_64 assembly - jcalvinowens/asmhttpd
2014 · github.com · its alternatives →
- 14

Custom web server for my blog. Contribute to cozis/BlogTech development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 15

Minimal HTTP(S) forward proxy using 150LOC and only standard libraries. - jamesmoriarty/forward-proxy
2021 · github.com · its alternatives →
- 16

Introduction to UDP: sockets, frames, and data encoding. We build a Rust client for a simple name server that converts domain names into IP addresses.
2020 · lowlvl.org · its alternatives →
- 17

a brainfuck interpreter supporting linux syscalls with an example HTTP server - ajyoon/systemf
2016 · github.com · its alternatives →
- 18

A minimal C runtime for Linux i386 & x86_64. Contribute to lpsantil/rt0 development by creating an account on GitHub.
2015 · github.com · its alternatives →
- 19M4My 486 Server▲255
Hello. I wrote a multitasking 16-bit real mode "operating system" that works on every IBM PC compatible computer, and a TCP/IP stack for it. Then I wrote an HTTP server for it.
2022 · 486servu.dy.fi · its alternatives →
- 20

A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.
Nov 2025 · github.com · its alternatives →
- 21

I'd found that whilst there's a lot of good options out there for webservers, I was looking for something that is a single deployable binary for usage with containers or unikernels and solves some of the problems that you get with other setups like nginx. It uses a single compiled binary, it's going to have extremely low latency on account of caching all files in memory at runtime, and also the fun feature and really useful that's good for SPAs (e.g. Vite) or things like Astro is that you can inject configuration variables into it at runtime and access them from within your frontend code, so…
2024 · github.com · its alternatives →
- 22

Pure C implementation of Go channels. Contribute to tylertreat/chan development by creating an account on GitHub.
2014 · github.com · its alternatives →
- 23

2018 · gitlab.com · its alternatives →
- 24

Also compare
- A little web server in C alternatives
- unsafehttp – tiny web server from scratch in C, running on an orange pi alternatives
- My embeddable C/C++ webserver alternatives
- ZeroHTTPd: A web server to teach Linux performance, with benchmarks alternatives
- Learn C and its lower levels interactively, in the browser alternatives
- MicroTCP, a minimal TCP/IP stack alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →