All projects

DIY HTTP Server

Live

A multi-threaded HTTP server in C++ on Berkeley sockets, with a live system dashboard.

Year
2026
Stack
  • C++
  • Berkeley Sockets
  • POSIX Threads
  • REST API
  • Linux

A multi-threaded HTTP web server written from scratch in C++ on top of Berkeley sockets. It parses and serves requests itself instead of leaning on an existing framework, which is the entire reason for building it.

On top of the server sits a system monitoring dashboard: a custom REST API exposes live metrics from the host, and the front end polls them and renders the result.

Mostly an exercise in getting genuinely close to the metal — socket lifecycle, thread synchronization, and the parts of HTTP that a framework normally hides from you.