Extract source code from Electron apps
baoyu-electron-extractskillsetup L2★20,870
JimLiu/baoyu-skills ↗What it does
Extract and restore source code from Electron apps
Best for
Inspecting shipped Electron desktop app structure, dependencies, and implementation details
Inputs
- · [object Object]
Outputs
- · [object Object]
Requires
- · bun/npx
- · Prettier
- · source-map library
Preconditions
Electron app installed (macOS/Windows), app name or full path
Failure modes
- · Multiple candidates (needs disambiguation)
- · Non-empty output dir (use --force)
- · Encrypted or proprietary .asar format
Trust signals
- · Source-map path restoration resolves relative paths correctly
- · Skips node_modules and webpack/* noise
- · Handles both .js.map and minified fallback