electron-wrapper

Wrap a Bun-based web server into a native Electron desktop application.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/arvindbattula/my-agent-config --skill electron-wrapper-arvindbattula
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electron-wrapper
Source: https://github.com/arvindbattula/my-agent-config/tree/main/skills/electron-wrapper
Command: npx skills add https://github.com/arvindbattula/my-agent-config --skill electron-wrapper-arvindbattula

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Wrapping a Bun-based web server into a native Electron desktop application to deliver a seamless desktop experience.

Core Features & Use Cases

  • Packaging a Bun server as a desktop app for macOS and Windows with Electron, including window chrome, native menus, and auto-updates.
  • Distributing the packaged app with CI/CD pipelines and code signing to meet platform requirements.
  • Opening a path to native UX improvements while keeping the Bun server unchanged.

Quick Start

Follow the Phase-driven guide to wrap your Bun web app into a native Electron desktop application.

Frequently Asked Questions about electron-wrapper

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

FAQPage Schema
How do I package a Bun web server into a native Electron desktop app?

Packaging a Bun web server into a native Electron desktop app involves bundling the server, generating Electron main and preload scripts, and configuring cross-platform build automation for macOS and Windows.

Can I set up auto-updates and code signing for my Electron desktop app?

Yes, you can configure auto-updates and code signing for your Electron desktop app to meet macOS and Windows platform requirements, ensuring secure distribution and seamless version control.

Does the Electron wrapper support cross-platform desktop app builds for both macOS and Windows?

Yes, the Electron wrapper supports cross-platform desktop app builds for both macOS and Windows by applying build automation, window management, and secure resource path configuration.

How do I integrate CI/CD pipelines for distributing an Electron app built with a Bun server?

You integrate CI/CD pipelines for an Electron app built with a Bun server by configuring build automation workflows that handle code signing and platform-specific distribution requirements.

What is the best way to manage native window behavior and UX integration in an Electron desktop app?

The best way to manage native window behavior in an Electron desktop app is by configuring secure preload scripts, native menus, and proper environment configurations to deliver a seamless desktop experience.

Why should I not wrap my Bun server into an Electron app if I only need a local web server?

You should not wrap your Bun server into an Electron app if you only need a local web server, because the wrapper adds window management and build system overhead meant for native desktop distribution and UX integration.