Electrobun Core

Create cross-platform desktop apps using Bun runtime and native webviews.

366|65|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/milady-ai/milady --skill electrobun-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Electrobun Core
Source: https://github.com/milady-ai/milady/tree/main/.claude/plugins/electrobun-dev/skills/electrobun
Command: npx skills add https://github.com/milady-ai/milady --skill electrobun-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the development of cross-platform desktop applications by providing a framework for managing the main process (Bun) and renderer processes (webviews), along with essential UI components and lifecycle events.

Core Features & Use Cases

  • Cross-Platform Development: Build applications for macOS, Windows, and Linux from a single codebase.
  • Process Management: Seamlessly handle communication between the Bun runtime and webview renderers using RPC.
  • UI Components: Easily implement BrowserWindow, BrowserView, ApplicationMenu, and Tray elements.
  • Configuration: Define app settings, build options, and release configurations via electrobun.config.ts.
  • Use Case: Develop a secure, local-first messaging application with a native-feeling UI and custom menu options.

Quick Start

Use the electrobun skill to build the application for production.

Frequently Asked Questions about Electrobun Core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build cross-platform desktop apps with Bun?

You can build cross-platform desktop apps with Bun by using a framework that manages the main process lifecycle and native webviews. This approach handles window creation, menus, and RPC communication between the Bun runtime and UI renderers.

Can I use native webviews for UI development across macOS, Windows, and Linux?

Yes, native webviews support UI development for macOS, Windows, and Linux from a single codebase. The framework manages renderer processes and allows you to implement UI elements like BrowserWindow and ApplicationMenu seamlessly.

How do I manage application lifecycle and window creation in a Bun desktop application?

Managing application lifecycle and window creation in a Bun desktop application involves using built-in process management features. The framework handles RPC communication between the Bun runtime and webview renderers to coordinate BrowserWindow and BrowserView elements.

Does this desktop application framework support custom tray interactions and menus?

Yes, the desktop application framework supports custom tray interactions and menus. You can easily implement ApplicationMenu and Tray UI components to create a native-feeling experience for your local-first applications.

How do I configure build options and release settings for a Bun desktop app?

You configure build options and release settings for a Bun desktop app by defining them within a dedicated electrobun.config.ts file. This configuration file manages app settings and includes native build and release tooling.

What is the best way to handle RPC communication between a Bun runtime and webview renderers?

The best way to handle RPC communication between a Bun runtime and webview renderers is through dedicated process management. This framework facilitates seamless communication to synchronize application state and UI updates across native or CEF renderers.