alt.hn

6/22/2026 at 12:24:15 PM

Show HN: Socket to Me, a static file server that runs in the browser

https://socket2.me/

by markjivko

6/22/2026 at 2:44:10 PM

Nice and easy! Is there a repo?

by retmarut

6/22/2026 at 3:51:52 PM

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.

by markjivko

6/23/2026 at 2:10:03 AM

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.

by retmarut

6/23/2026 at 11:28:26 PM

[flagged]

by heliskyr2