HeadlinesBriefing favicon HeadlinesBriefing.com

Electrobun v1: TypeScript Desktop Apps 70% Faster Than Tauri

Hacker News •
×

Yoav has released Electrobun v1, a TypeScript desktop app framework that promises to build ultra fast, tiny, and cross-platform applications. The framework emerged from frustration with Electron's complex tooling and Tauri's Rust dependency, offering developers a more productive alternative. Electrobun leverages Bun's runtime to handle window management, code signing, and notarization while maintaining impressive performance.

A developer testing the framework reported completing the same macOS app 70% faster than with Tauri, attributing the speed gain to Electrobun's clear API and Bun's developer experience. The framework includes hot module replacement with simple commands like `bun ./index.html`, and streams console logs directly to the terminal. Electrobun also features a sophisticated updating mechanism using a Zig-based bsdiff implementation that delivers differential patches as small as a few kilobytes.

Electrobun has evolved from macOS-only to support Windows and Ubuntu with automatic installer generation and cross-platform window controls. The framework's OOPIF implementation solves Electron's deprecated `<webview>` issues with true process isolation and DOM positioning. With co(lab), Yoav's hybrid browser-code editor-terminal, already rewritten on the platform, Electrobun appears positioned as a stable foundation for building long-lived desktop applications without platform churn.