Baoyu Electron Extract
Extracts resources and JavaScript from any installed Electron app (`.asar` bundle), restoring original sources from `.js.map` files when available or formatting minified code with Prettier otherwise. Use when user wants to "extract Electron app", "decompile Electron", "get the source code of <app>", "inspect app.asar", "看 Electron 应用源码", "提取 .asar", or asks how a desktop Electron app is built. Skips `node_modules` and supports both macOS and Windows.
- Type
- Skill
- Author
- jimliu
- Category
- Automation
- GitHub stars
- 27.0K
- Installs
- 7.9K
- Last updated
- November 1, 2026
Install
npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-electron-extractUse cases
- Extract the source of an installed Electron app to see how it works.
- Inspect an app.asar bundle when debugging a desktop app.
- Recover readable JavaScript from a minified Electron build.
Frequently Asked Questions
Which platforms does the extraction support?
It works on both macOS and Windows.
How does it handle minified JavaScript?
It restores original sources from .js.map files when available, and otherwise formats minified code with Prettier.
Does it extract node_modules too?
No, it skips node_modules while extracting resources and JavaScript from the .asar bundle.
About this skill
Extracts resources and JavaScript from an installed Electron app's .asar bundle, restoring original sources from .js.map files when they exist or formatting minified code with Prettier otherwise. It skips node_modules and works on both macOS and Windows. Use it to inspect how a desktop Electron app is built or to get readable source out of a bundle.
Summary written with AI assistance from the project's public description.
More from jimliu
Baoyu Post To Wechat
Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) with HTML, markdown, or plain text input, and...
by jimliu
Baoyu Image Gen
AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream, Replicate and...
by jimliu
Baoyu Infographic
Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends layout×style combinations, and generates...
by jimliu
Baoyu Markdown To Html
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), Pl...
by jimliu
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh