Electrobun aims to be a complete solution-in-a-box for building, updating, and shipping ultra fast, tiny, and cross-platform desktop applications written in Typescript.
Electrobun is a framework for building desktop applications using Typescript. Some of its key features and benefits include:
Typescript: Use Typescript for both the main process and webviews.
Speed: Electrobun prioritizes fast build times to enable rapid iteration on features and fixes. It also allows for small and cost-effective updates, enabling frequent shipping of new features and fixes to end users.
Small bundle size: Electrobun creates small, self-extracting app bundles of approximately 12MB with updates as small as 4KB.
Batteries included: Electrobun aims to provide everything you need to build, test, code-sign, and update your application in a single, integrated workflow.
Affordability: Electrobun is MIT open-source and only requires a file server to distribute the application, making it affordable to maintain.
Flexibility: Electrobun allows you to use any modern framework for the user interface, including plain HTML, Preact, and SolidJS. It uses the built-in system webview and will support bundling third-party webviews like Chromium in the future.
Security and Performance: Built on Bun and Zig, Electrobun isolates the main process and browser processes. It provides optional, fast, typed, and extensible remote procedure calls (RPCs) between the main and browser processes. It also includes a custom webview tag implementation for OOPIFs to enable web browser development.
Electrobun is under active development and the API is subject to change.