aicoolies logo
Electrobun logo
Electrobun logo

Electrobun

Ultra-fast desktop apps with TypeScript, Bun, and Zig

open sourceupdated Jul 1, 2026

Electrobun is an open-source cross-platform desktop app framework that combines TypeScript with Bun runtime and Zig for native performance. It produces 12MB base installs versus hundreds of MB for Electron, while maintaining full web technology compatibility. Electrobun uses the system's native webview instead of bundling Chromium, delivers sub-second cold starts, and provides native OS integrations through a Zig bridge layer.

Electrobun addresses the fundamental problem with Electron-based desktop apps: bloated bundle sizes and high memory consumption caused by shipping an entire Chromium browser with every application. Instead of bundling a browser engine, Electrobun leverages the operating system's native webview component, reducing base application size from hundreds of megabytes to approximately 12MB. The Bun JavaScript runtime replaces Node.js for the main process, delivering significantly faster startup times and lower memory overhead.

The framework's architecture uses Zig as a bridge layer between the TypeScript application code and native operating system APIs. This provides access to system notifications, file dialogs, menu bars, tray icons, and other platform-specific features without the overhead of a full native development environment. Developers write their UI in standard web technologies and their backend logic in TypeScript, while Zig handles the performance-critical native integrations transparently.

Released as v1.0 in February 2026, Electrobun has already gained over 11,000 GitHub stars, signaling strong demand for a lighter Electron alternative. The framework targets developers who want the productivity of web technologies for desktop apps without the performance and size penalties. It supports hot module replacement during development, TypeScript-native APIs for window management and IPC, and produces signed, distributable application bundles for macOS with Windows and Linux support in progress.

Pricing

Free and open source

Platforms

macOS (primary) — Windows and Linux in progress

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Uizard logo

Uizard

Editable UI flows from prompts, screenshots and sketches

AI-assisted product-design platform that turns prompts, screenshots and hand-drawn sketches into editable UI flows for non-designers and early product ideation, complementing rather than duplicating developer-first code generators.

freemiumTelemetry
Magic Patterns logo

Magic Patterns

Design-system-aware AI prototyping for code-ready product interfaces

Magic Patterns turns product ideas, prompts, screenshots, and existing UI into editable, code-ready interfaces. Its design-system-aware editor supports collaborative iteration, two-way GitHub sync, and an MCP workflow for moving designs between the canvas and coding agents—positioning it between prompt-to-app builders and design-handoff tools rather than as a single-screen generator.

freemium
Mitosis logo

Mitosis

Write components once and compile them into native code for multiple frameworks

Mitosis is Builder.io-backed open-source infrastructure for writing a component once and compiling it into native framework components for React, Vue, Angular, Svelte, Qwik, Solid, React Native, and other targets. It supports cross-framework design systems and Figma-to-code synchronization, but is distinct from the Builder.io visual builder product.

Open Source
Figma Console MCP logo

Figma Console MCP

Turn a Figma design system into a programmable API for AI assistants

Figma Console MCP is open-source design-system infrastructure that exposes Figma to AI assistants through MCP. It supports structured extraction, design creation and editing, debugging, accessibility audits, and bidirectional design-token workflows across local, remote read-only, and paired cloud modes; it is not a generic one-click Figma-to-code exporter.

Open SourceTelemetry
OpenUI logo

OpenUI

Open-source UI generation from natural-language prompts

OpenUI is an Apache-2.0 design-to-code tool from W&B that turns natural-language interface prompts into live HTML previews and frontend code. Teams can run it locally or with Docker, connect OpenAI, Groq, LiteLLM-compatible providers, or Ollama, and export generated UI toward React, Svelte, Web Components, and related workflows. It fits rapid UI mockups where developers want editable code instead of screenshots.

Open SourceTelemetry
Figma MCP Server logo

Figma MCP Server

Official remote MCP server for design-to-code and write-to-canvas Figma workflows.

Figma MCP Server is Figma’s official remote Model Context Protocol surface for design-to-code agents. It gives supported clients structured design context, variables, components, selected-frame code context, Code Connect mappings, and beta write-to-canvas tools for creating or updating native Figma frames from an MCP client while keeping the workflow tied to Figma files.

freemiumTelemetry

FAQ

What is Electrobun?

Electrobun is an open-source cross-platform desktop app framework that combines TypeScript with Bun runtime and Zig for native performance. It produces 12MB base installs versus hundreds of MB for Electron, while maintaining full web technology compatibility. Electrobun uses the system's native webview instead of bundling Chromium, delivers sub-second cold starts, and provides native OS integrations through a Zig bridge layer.

Is Electrobun free?

Yes — Electrobun is open source and free to use. Free and open source

Is Electrobun open source?

Yes — Electrobun is open source.

What are the best Electrobun alternatives?

The top editor-verified Electrobun alternatives are Tauri, Suspensive.