Skip to content

Electrobun

Everything you need to build ultra fast, tiny, cross-platform desktop applications with TypeScript.
Terminal window
hutch electrobun init
import { BrowserWindow } from "electrobun/main";
const win = new BrowserWindow({
title: "My App",
url: "views://mainview/index.html",
});

Why Electrobun

Tiny and fast

System webviews and the Cottontail runtime instead of a bundled Chromium and Node — apps measured in megabytes, not hundreds of them. CEF stays available as an option when you want a pinned browser engine.

One build tool

Hutch handles scripts, devkits, bundling, pinned toolchains, signing, and releases. Its built-in resolver handles JavaScript dependencies by default; external package managers remain an explicit option.

TypeScript first, native when you want it

Write your main process in TypeScript on Cottontail — or swap in Bun, Zig, Rust, Go, or Odin and keep the same workflow.

Native bindings

Windows, menus, trays, dialogs, and GPU surfaces implemented in C++, Objective-C, and Zig across macOS, Windows, and Linux.

Built-in updates

Verified updates served from static storage, with transactional replacement and rollback across Windows, macOS, and Linux.

Independent channels

Build stable and canary releases side by side, each with its own installers and update line.

Start here

Go deeper

Community & support

Electrobun is open source and built in the open.