Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

10 GSGBen 6 8/16/2025, 8:46:15 PM unsafehttp.benren.au ↗
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.

Comments (6)

MelvinButtsESQ · 58s ago
Consider it broke. You are getting hugged to death by HN. Throw Cloudlfare in front.
p0w3n3d · 3m ago
I would expect GitHub page. The server seems down
201984 · 2m ago
It had a link to the GitHub page while it was still up.

https://github.com/GSGBen/unsafehttp

joncfoo · 22m ago
Doesn't seem to be up =\
GSGBen · 13m ago
Whoops, should be back up now. I'll have to check logs later to see why it went down.
eyjafjallajokul · 6m ago
You're going to need a bigger host to support HN traffic :)