electrobun

Develop cross-platform desktop applications using TypeScript, Bun, and native OS webviews.

11|2|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/rajavijayach/electrobun-skills --skill electrobun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electrobun
Source: https://github.com/rajavijayach/electrobun-skills/tree/main/electrobun
Command: npx skills add https://github.com/rajavijayach/electrobun-skills --skill electrobun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies and accelerates the development of cross-platform desktop applications using TypeScript and the Bun runtime, abstracting away complex native integrations.

Core Features & Use Cases

  • Project Scaffolding: Quickly initialize new Electrobun projects with various templates.
  • Main/Webview Communication: Implement type-safe, bidirectional RPC for seamless interaction between the main process and webviews.
  • Native UI Integration: Easily add application menus, context menus, and system tray icons.
  • Distribution & Updates: Configure packaging, code signing, and auto-update mechanisms for seamless deployment.
  • Use Case: You need to build a desktop application for Windows, macOS, and Linux that has a custom UI, interacts with the file system, and periodically checks for updates.

Quick Start

Use the electrobun skill to initialize a new project with the react-tailwind-vite template.

Frequently Asked Questions about electrobun

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

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

Build cross-platform desktop apps with Bun and TypeScript by using native OS webviews for the UI and a Bun runtime for the main process. This approach abstracts complex native integrations to create fast, small, and efficient applications.

How do I set up type-safe RPC communication between a main process and webview?

Type-safe bidirectional RPC between a main process and webview is implemented to enable seamless interaction. This mechanism allows the webview UI to securely communicate with the native Bun backend without manual serialization.

Can I use native UI elements like system tray icons and context menus in a Bun desktop app?

Yes, native UI elements including application menus, context menus, and system tray icons can be integrated into a Bun desktop app. This provides a native user experience alongside the webview-based custom UI.

What is the best way to distribute and auto-update desktop applications built with webviews?

Distribute and auto-update desktop applications built with webviews by configuring packaging, code signing, and auto-update mechanisms. This ensures seamless deployment across Windows, macOS, and Linux.

Does the Electrobun skill provide project scaffolding for cross-platform desktop development?

Yes, the Electrobun skill provides project scaffolding to quickly initialize new cross-platform desktop applications. You can start development using various templates like react-tailwind-vite.