Micro HTTP server in 22 lines of C
This post is from a protected account.
Micro HTTP server in 22 lines of C launched on July 31, 2021 with 223 votes, #112 of 3,502 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 5 years on.
In plain words
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 lightweight server for embedded systems or educational purposes. The project demonstrates that core HTTP functionality can be achieved with surprisingly little code, making it useful for learning or as a starting point for custom server implementations.
written from the facts on this page · September 2026
Does a similar job
all alternatives →
A little web server in C2023 · github.com · ▲178A little web server written in C for Linux. Supports: CGI, Reverse Proxy. Single threaded using I/O multiplexing (select).
- UTunsafehttp – tiny web server from scratch in C, running on an orange pi2025 · unsafehttp.benren.au · ▲87
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.
My embeddable C/C++ webserver2011 · github.com · ▲84
ZeroHTTPd: A web server to teach Linux performance, with benchmarks2019 · unixism.net · ▲472Articles 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-…
- LCLearn C and its lower levels interactively, in the browser2019 · ▲356
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
MicroTCP, a minimal TCP/IP stack2023 · github.com · ▲204A minimal TCP/IP stack. Contribute to cozis/microtcp development by creating an account on GitHub.
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, July 2021
the whole month →
Typedream▲1,426No-code site builder, easy as Notion, pretty as Webflow
Dev tools · 2021 · typedream.com


An 8-week founder program inspired by Product Hunt
Life & fun · 2021 · hyper.com

200+ open source alternatives to popular B2B tools
Dev tools · 2021 · btw.so

Het beste casino zonder vergunning voor Nederlandse spelers kiezen? Ontdek waar je op moet letten en hoe je een betrouwbaar platform vindt dat aansluit bij jouw voorkeuren.
Life & fun · 2021 · static.wiki
