Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Haven't used Redbean specifically for it, but built similar things with Rust, Clojure and Golang before.

The way I used it was that if the user launched the binary, it spawned a server and opened the browser pointing at it.

If the user closed the tab, it automatically shut down the server. Or if it lost connection to any browsers for more than one hour.



That seems pretty clever, I think there's actually quite a few applications that work like that. And with binary servers, startup is pretty fast too.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: