dexploarer/plugin-electrobun-dev/electrobun-config

Claude Code and agent skill by dexploarer/plugin-electrobun-dev

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks about "electrobun.config.ts", "electrobun config", needs the config field reference, wants to understand config defaults, or is configuring platform-specific electrobun behaviour.

Install

npx vskill@latest install dexploarer/plugin-electrobun-dev/electrobun-config

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as dexploarer/plugin-electrobun-dev/electrobun-config.

electrobun.config.ts — Complete Reference

typescript
import type { ElectrobunConfig } from "electrobun";
export default {
// ── App identity ────────────────────────────────────────────────────────
app: {
name: "MyApp", // Display name (default: "MyApp")
identifier: "com.example.myapp", // Reverse DNS bundle ID (REQUIRED, must be unique)
version: "0.1.0", // Semver — bump for each release
description: "My app", // Used in Linux .desktop file
urlSchemes: ["myapp"], // Deep link schemes: myapp:// (macOS only currently)
},
// ── Build ────────────────────────────────────────────────────────────────
build: {
// Output directories
buildFolder: "build", // Where built apps go (default: "build")
artifactFolder: "artifacts", // Where release artifacts go (default: "artifacts")
targets: "current", // Target platforms; "current" = host platform (default: "current")
// Bun main process bundle
bun: {
entrypoint: "src/bun/index.ts", // Main process entry (default: "src/bun/index.ts")
minify: false, // Any Bun.build() options work here
sourcemap: "inline",
define: { "process.env.NODE_ENV": '"development"' },
},
// Renderer (browser-side) bundles — one per BrowserView with a TS entrypoint
views: {
mainview: { entrypoint: "src/mainview/index.ts" },
sidebar: { entrypoint: "src/sidebar/index.ts" },
// Each key becomes a URL scheme: mainview://index.html
},
// Static file copies — key: source path, value: dest path in bundle Resources
copy: {
"assets/": "assets/",
"data/schema.sql": "data/schema.sql",
},
// ASAR archive (packs Resources into a single file — reduces file count)
useAsar: false, // default: false
asarUnpack: ["*.node", "*.dll", "*.dylib", "*.so"], // default — native libs always unpacked
// Version overrides (pin runtime versions — test thoroughly before use)
cefVersion: undefined, // e.g. "CEF_128+chromium-128.0.6613.84"
wgpuVersion: undefined, // e.g. "0.2.3"
bunVersion: undefined, // e.g. "1.4.2"
// Locale trimming — reduces CEF bundle size on Linux/Windows
locales: "*", // "*" = all locales; ["en", "de"] = only those
// Watch mode extras
watch: [], // Additional paths to watch in `dev --watch`
watchIgnore: [], // Glob patterns to ignore in watch mode
// ── Platform: macOS ───────────────────────────────────────────────────
mac: {
bundleCEF: false, // Use CEF instead of WKWebView (adds ~120MB)
bundleWGPU: false, // Bundle Dawn for GpuWindow (adds ~8MB)
defaultRenderer: "native", // "native" (WKWebView) | "cef" (Chromium)
codesign: false, // Enable codesign (requires ELECTROBUN_DEVELOPER_ID)
notarize: false, // Enable notarization (requires Apple creds env vars)
icons: "icon.iconset", // Path to .iconset folder (must contain icon_1024x1024.png)
entitlements: { // Hardened runtime entitlements
"com.apple.security.cs.allow-jit": true,
"com.apple.security.cs.allow-unsigned-executable-memory": true,
},
chromiumFlags: { // CEF Chromium flags (CEF only)
"disable-web-security": true,
"allow-running-insecure-content": true,
},
},
// ── Platform: Windows ─────────────────────────────────────────────────
win: {
bundleCEF: false,
bundleWGPU: false,
defaultRenderer: "native", // "native" (WebView2) | "cef"
icon: "assets/icon.ico", // .ico file path
chromiumFlags: {},
},
// ── Platform: Linux ───────────────────────────────────────────────────
linux: {
bundleCEF: false,
bundleWGPU: false,
defaultRenderer: "native", // "native" (GTKWebKit) | "cef"
icon: "assets/icon.png", // .png file path
chromiumFlags: {},
},
},
// ── Runtime config ───────────────────────────────────────────────────────
runtime: {
exitOnLastWindowClosed: true, // Quit app when last window closes (default: true)
// Any additional keys are accessible via BuildConfig at runtime
apiEndpoint: "https://api.example.com",
},
// ── Build lifecycle hooks ─────────────────────────────────────────────────
scripts: {
preBuild: "bun run scripts/pre-build.ts", // Runs before bundling
postBuild: "bun run scripts/post-build.ts", // Runs after bundle, before codesign
postWrap: "echo Done wrapping", // Runs after .app is assembled
postPackage: "bun run scripts/upload.ts", // Runs after DMG/installer created
},
// ── Release / auto-update ─────────────────────────────────────────────────
release: {
baseUrl: "https://cdn.example.com/releases/myapp",
generatePatch: true, // Generate bsdiff patch (default: true)
},
} satisfies ElectrobunConfig;

Most-Changed Fields by Task

Starting a new project: app.name, app.identifier, app.version

Adding a new renderer view: build.views.<viewname>

Enabling GPU rendering: build.mac.bundleWGPU: true (all platforms you target)

Enabling CEF: build.mac.bundleCEF: true, build.mac.defaultRenderer: "cef"

Setting up releases: release.baseUrl, release.generatePatch: true

Code signing: build.mac.codesign: true, build.mac.notarize: true, set env vars

Adding static assets: build.copy

Deep linking: app.urlSchemes

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
Repository forks
1
7-day trend score
9

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dexploarer/plugin-electrobun-dev/electrobun-config/badge)](https://verified-skill.com/skills/dexploarer/plugin-electrobun-dev/electrobun-config)

Something wrong with this skill or its page? Tell us.