Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi
7 days ago
- #HTTP-server
- #side-project
- #C-programming
- unsafehttp is a minimal HTTP server written in C for practicing C, *nix socket programming, and C compilation.
- It serves webpages directly from memory using a hash table to prevent filesystem interaction and malicious path access.
- The server runs on an Orange Pi SBC with direct socket connections, no HTTP proxy involved.
- Despite RFC 9112 detailing HTTP 1.1, unsafehttp implements only the bare minimum for browsers to render webpages.
- The project emphasizes keeping side projects fun and short, not strictly following standards.