News for hackers. Stuff that matters.
Re:Show HN: Socket to Me, a static file server that runs in ... by markjivko on Monday June 22, 2026 @11:51AM (#48631923)
There's no repo yet, but if enough people find it useful, I'll make time to create one.

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.

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.

Re:Show HN: Socket to Me, a static file server that runs in ... by gnabgib on Monday June 22, 2026 @10:11PM (#48639313)
Perhaps you could read the guidelines:

https://news.ycombinator.com/newsguidelines.html