SKILL7.9K installs27.0K

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-extract

Use cases


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.


Categories


More from jimliu


Similar Skills