4 ms·
Hey hn! Author here: Thanks to whoever submitted. Electrobun is in the very early stages. The roadmap is a bit out of date. Here are some highlights: - it’s
by yoav 2y ago
Hey hn! Author here:
Thanks to whoever submitted.
Electrobun is in the very early stages. The roadmap is a bit out of date. Here are some highlights:
- it’s like Tauri in that it uses the system webview and does not bundle chromium
- it’s like Electron in that it bundles Bun instead of Node for the main process so you just write typescript for both the main and browser contexts
- native bindings written in c/objc with a zig wrapper that the bun process runs
- it will be cross platform, but working on stability first
- the cli handles updates code signing and everything else you need and outputs build artifacts that you just need to upload to S3 or any static file host.
- it has a custom optimized bsdiff implementation in zig that autogenerates updates for your app as small as 4KB
- it has a custom zig self extracting mechanism that uses zstd so your initial download is also as small as can be.
- it has a custom encrypted easy to use RPC mechanism between bun and browser processes where you just write method signatures and handlers.
- it has a custom OOPIF implementation so you can embed isolated browser contexts with your html <electrobun-webview> element that are performant and easy to use so you could build a multi tab web browser with it if you wanted.
- pmuk 2y agoDo you have any examples apps built on electrobun?
- yoav 2y agohttps://www.eggbun.sh/ https://www.eggbun.sh/ is built with Electrobun.
- bsimpson 2y ago[flagged]
- joshmanders 2y ago> You should pick a different name. Can we please stop telling people to change their names because something else exists with a similar name? If we take this stance seriously, then Google would have to change their name as San Diego Colab has existed for a year before Jupyter was created, therefore existed before Google Colab.
- benatkin 2y agoThese comments don't solve the annoyance of false assumptions on HN, because they often contain a false assumption of their own. Google didn't have the same issue with confusion because of San Diego Colab that colab.sh will have if they keep their name and get popular. That's because San Diego Colab wasn't nearly as well known as Google Colab is now. So I can say "Can we please stop" to your comment, and I'm sure you can find something with my comment and get in a loop of "can we please stop".
- joshmanders 2y agoAnd then when this project explodes and becomes as well known as Electron is eclipsing Google Colab (I never heard of it until today) then your argument is invalid. And you're right, we can keep getting into this loops, so lets nip it in the bud where it all begins and shocker, not tell people to change the name of their stuff because something else exists with a similar name but completely unrelated.
- jacobgorm 2y agoTauri also uses the system webview and does not bundle Chromium, right?
- davidmurdoch 2y ago"it’s like Tauri in that it uses the system webview and does not bundle chromium"
- chalst 2y ago> Thanks to whoever submitted. That would be https://news.ycombinator.com/user?id=CharlesW https://news.ycombinator.com/user?id=CharlesW aka Charles Wiltgen.
- chalst 2y agoHe’s on BlueSky, where I see Yoav already follows.