Electrobun

Build incredibly small and fast cross-platform desktop apps with TypeScript. Uses native bindings, Bun's runtime, and the system's native webview for performance.

Screenshot of Electrobun website

Create cross-platform desktop applications with TypeScript that are incredibly small and blazingly fast. This framework combines the power of native bindings with Bun's runtime to deliver unprecedented performance, resulting in apps with a bundle size of around 14MB and a startup time under 50ms.

Electrobun achieves this efficiency by leveraging native components and modern tools. Key features include:

  • Native Performance: Bindings written in C++, ObjC, and Zig for maximum speed.
  • Modern Backend: Utilizes Bun as the backend runtime and bundler.
  • Lightweight Renderer: Uses the system's native webview, with CEF as an optional alternative.
  • Efficient Updates: A custom bsdiff-based update mechanism keeps update sizes as small as 14KB.
  • Cross-Platform: Build for macOS, Windows, and Linux from a single codebase.

The comprehensive documentation provides everything you need, from getting started guides and step-by-step tutorials to advanced topics like code signing and platform compatibility. Explore detailed API references for both the main process (Bun) and the browser, along with CLI commands and configuration options.

Share:

Similar to Electrobun

Favicon

 

  
  
Favicon

 

  
  
Favicon