Overview of Electrobun core concepts
mainElectrobun is a framework for building ultra-fast, tiny, cross-platform desktop applications using TypeScript. Key architectural features include:
- Tiny Footprint: Uses system webviews and the Cottontail runtime instead of bundling Chromium and Node, resulting in apps measured in megabytes.
- Hutch Build Tool: A unified tool for managing scripts, devkits, bundling, toolchains, signing, and releases.
- Flexible Runtimes: While TypeScript on Cottontail is the default, you can swap the main process runtime for Bun, Zig, Rust, Go, or Odin.
- Native Capabilities: Provides native bindings for Windows, menus, trays, dialogs, and GPU surfaces across macOS, Windows, and Linux.
- Built-in Updates: Supports binary-diff updates to minimize download sizes for users.
- Independent Channels: Allows building production and canary releases side-by-side with separate installers and update lines.