Re:Show HN: Socket to Me, a static file server that runs in ...
by retmarut on Monday June 22, 2026 @10:10PM
(#48639306)
I am sure I will. And to be honest, what you described would be the perfect combo: JS (or TypeScript) for the front, and PHP for the backend. It'll run anywhere!!
---
Guys: upvote this so OP makes time to create a repo. Please.
The front end is written in Next.js, although I should probably rewrite it in vanilla JavaScript for the OSS version. The back end is a PHP service—essentially a continuously running `php -f server.php` process. Since it's a long-running process, it's effectively as fast as anything else (think a Rust binary).
It's very well written, with a strong focus on security and memory management. I think you'll like it.