News for hackers. Stuff that matters.
Re:Redbean 2.0 turned into more than a hobby project by capableweb on Friday June 17, 2022 @06:14AM (#31776162)
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.

Re:Redbean 2.0 turned into more than a hobby project by Cthulhu_ on Friday June 17, 2022 @08:56AM (#31777401)
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.