Loading video player...
Electron apps ship an entire copy of Chromium and eat hundreds of megabytes of RAM. Electrobun takes a completely different approach — using Bun as the main process runtime, native bindings written in Zig, and system webviews to produce desktop apps as small as 12MB. Updates can be as tiny as 14KB thanks to binary diff patching with bsdiff. In this video, I break down Electrobun's entire architecture after reading through its source code. We cover the multi-process model (Bun + WebKit/CEF + native layer), the fully type-safe encrypted RPC system, the clever self-extracting bundle system with Zstandard compression, WebGPU support with Three.js and Babylon.js, and much more. Whether you're building developer tools, creative apps, or anything where performance matters, Electrobun offers a modern alternative to Electron that's worth serious consideration. Note: This video is generated by AI. I designed a workflow that uses OpenCode to investigate open-source repositories to write a script about public codebases. Some of the information in this video may be inaccurate. If you maintain one of the projects I cover and notice a discrepancy with what the video says and what the codebase is, please leave a comment and I will investigate. Electrobun on GitHub: https://github.com/blackboardsh/electrobun Electrobun docs: https://blackboard.sh/electrobun/