4 ms·
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 bi
by capableweb 4y ago
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.
- Cthulhu_ 4y agoThat 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.