frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Electrobun v1: Build fast, tiny, and cross-platform desktop apps with TypeScript

https://blackboard.sh/blog/electrobun-v1/
34•merlindru•1h ago
I'm building a commercial macOS app with Electrobun [1]. I have previously written the same app with Tauri. I'll say that, while I love Tauri, using Electrobun has been an absolute breeze. I got the same app done in roughly 70% of the time [2]. It's a very productive stack. In no small part due to Electrobun, but also the fact that Bun has tons of DX niceties and a builtin bundler.

Electrobun lets you open/manipulate/close webview windows and communicate with them using typed rpc. It also handles building, code signing, and notarization.

And because I'm using Bun, running an HMR + React + Tailwind server is just one command (`bun ./index.html`) or like 5 lines of code. Pass --console and the webview's console.log()s get streamed to your Terminal too.

There's tons of other things Electrobun does that I haven't even mentioned, because I haven't interacted much with them yet. E.g. I know that it lets you show platform-native notifications, prompts/popups, etc.

There also is a very impressive updating mechanism that relies on a bsdiff implementation written in Zig. You just ship the deltas, so updates to very large apps are just a few KBs most of the time.

It's genuinely a very productive stack and impressive piece of tech.

[1] Not affiliated - I just like the project.

[2]: The API and implementation was clear, so I'll cautiously say this is not a case of "rewrites are always faster". In fact, the Tauri version was a rewrite too :)

Comments

maddada•1w ago
Looks very promising, will be building my next project with it. Full TS stack is where I'm most productive. I'm glad we now have a more performant and lean alternative to Electron while not needing to deal with Rust and long compilation steps.
zdragnar•1h ago
Neat! Here's the project main page for those interested in more than the release announcement:

https://blackboard.sh/electrobun/docs/

It certainly looks clean enough, and I'm more familiar with zig than rust, so I might give it a shot.

queenkjuul•1h ago
I'm going to production with a new Electron app at my job this week, i wish this had existed a year ago lol. Electron Builder does a pretty good job making the updates and signatures not TOO painful but it hasn't been painless by any stretch.

Looks cool, I'll try this for my next personal desktop project and see how it goes

hu3•1h ago
I see a lot of game devs in discord experimenting with Electrobun to release desktop games.

I think it's going to eat a piece of the Electron pie for Steam indie games.

Most stay with bun after seeing how fast and seamless it is to run typescript games with instant auto reload:

bun --watch game.ts

GCUMstlyHarmls•7m ago
Are many games built with Electron ...? I know there are a few HTML5 games, crosscode was the first one I recall seeing that really pushed it. Aren't most small games Unity or Godot?
skybrian•1h ago
I'm wondering about security for this sort of thing. I guess it's like node.js in the sense that while you could load JavaScript code downloaded from the Internet at runtime, you probably shouldn't? Any additional gotchas due to the web view?
nine_k•38m ago
/* Looked at the product for which Electrobun was built, co(lab). «Focus on building instead of managing tools. Keep your code, browser, terminal, notes, and git workflow in one unified interface.» Well, a great idea! This is what Emacs mostly gives me. */
synergy20•20m ago
size? performance? bun last time I checked alone is 130MB

Sizing chaos

https://pudding.cool/2026/02/womens-sizing/
397•zdw•8h ago•212 comments

27-year-old Apple iBooks can connect to Wi-Fi and download official updates

https://old.reddit.com/r/MacOS/comments/1r8900z/macos_which_officially_supports_27_year_old/
246•surprisetalk•8h ago•121 comments

Anthropic officially bans using subscription auth for third party use

https://code.claude.com/docs/en/legal-and-compliance
156•theahura•2h ago•175 comments

15 years of FP64 segmentation, and why the Blackwell Ultra breaks the pattern

https://nicolasdickenmann.com/blog/the-great-fp64-divide.html
60•fp64enjoyer•3h ago•16 comments

Cosmologically Unique IDs

https://jasonfantl.com/posts/Universal-Unique-IDs/
322•jfantl•10h ago•103 comments

How to Choose Between Hindley-Milner and Bidirectional Typing

https://thunderseethe.dev/posts/how-to-choose-between-hm-and-bidir/
61•thunderseethe•3d ago•7 comments

Tailscale Peer Relays is now generally available

https://tailscale.com/blog/peer-relays-ga
362•sz4kerto•12h ago•184 comments

How AI is affecting productivity and jobs in Europe

https://cepr.org/voxeu/columns/how-ai-affecting-productivity-and-jobs-europe
44•pseudolus•5h ago•17 comments

Zero-day CSS: CVE-2026-2441 exists in the wild

https://chromereleases.googleblog.com/2026/02/stable-channel-update-for-desktop_13.html
291•idoxer•12h ago•147 comments

Minecraft Java is switching from OpenGL to Vulkan

https://www.gamingonlinux.com/2026/02/minecraft-java-is-switching-from-opengl-to-vulkan-for-the-v...
122•tuananh•3h ago•33 comments

A Pokémon of a Different Color

https://matthew.verive.me/blog/color/
78•Risse•3d ago•8 comments

DNS-Persist-01: A New Model for DNS-Based Challenge Validation

https://letsencrypt.org/2026/02/18/dns-persist-01.html
231•todsacerdoti•11h ago•107 comments

Electrobun v1: Build fast, tiny, and cross-platform desktop apps with TypeScript

https://blackboard.sh/blog/electrobun-v1/
35•merlindru•1h ago•8 comments

Step 3.5 Flash: Fast Enough to Think. Reliable Enough to Act

https://static.stepfun.com/blog/step-3.5-flash/
20•kristianp•2h ago•6 comments

The Perils of ISBN

https://rygoldstein.com/posts/perils-of-isbn
103•evakhoury•11h ago•52 comments

Making a font with ligatures to display thirteenth-century monk numerals

https://digitalseams.com/blog/making-a-font-with-9999-ligatures-to-display-thirteenth-century-mon...
66•a7b3fa•3d ago•8 comments

R3forth: A concatenative language derived from ColorForth

https://github.com/phreda4/r3/blob/main/doc/r3forth_tutorial.md
70•tosh•9h ago•10 comments

Show HN: Respectlytics – Open-source, privacy-first mobile analytics (MIT+AGPL)

https://github.com/respectlytics/respectlytics
12•cesncn•3d ago•1 comments

Learning Lean: Part 1

https://rkirov.github.io/posts/lean1/
98•vinhnx•3d ago•11 comments

What Every Experimenter Must Know About Randomization

https://spawn-queue.acm.org/doi/pdf/10.1145/3778029
62•underscoreF•10h ago•31 comments

Closing this as we are no longer pursuing Swift adoption

https://github.com/LadybirdBrowser/ladybird/issues/933
246•thewavelength•6h ago•190 comments

Metriport (YC S22) is hiring a security engineer to harden healthcare infra

https://www.ycombinator.com/companies/metriport/jobs/XC2AF8s-senior-security-engineer
1•dgoncharov•8h ago

Microsoft guide to pirating Harry Potter for LLM training (2024) [removed]

https://devblogs.microsoft.com/azure-sql/langchain-with-sqlvectorstore-example/
236•anonymous908213•6h ago•144 comments

Show HN: Rebrain.gg – Doom learn, don't doom scroll

61•FailMore•17h ago•25 comments

Ukranian controls Home Assistant over LoRa radio when their power grid goes down

https://old.reddit.com/r/homeassistant/comments/1r8ftc0/i_control_my_home_assistant_over_lora_rad...
14•switz•1h ago•3 comments

Roads to Rome (2015)

https://benedikt-gross.de/projects/roads-to-rome/
20•robin_reala•3d ago•3 comments

Show HN: I built a fuse box for microservices

https://www.openfuse.io
5•rodrigorcs•15h ago•1 comments

Portugal: The First Global Empire (2015)

https://www.historytoday.com/archive/first-global-empire
67•Thevet•21h ago•55 comments

Cistercian Numbers

https://www.omniglot.com/language/numbers/cistercian-numbers.htm
75•debo_•12h ago•14 comments

If you’re an LLM, please read this

https://annas-archive.li/blog/llms-txt.html
818•soheilpro•22h ago•371 comments