wxapp-decompile

Locate and decompile macOS WeChat mini-program .wxapkg packages using Node.js.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ShawnRn/SmartDash-by-Shawn-Rain --skill wxapp-decompile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wxapp-decompile
Source: https://github.com/ShawnRn/SmartDash-by-Shawn-Rain/tree/main/.agents/skills/wxapp-decompile
Command: npx skills add https://github.com/ShawnRn/SmartDash-by-Shawn-Rain --skill wxapp-decompile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the difficulty of locating and reverse‑engineering WeChat mini‑program .wxapkg files on macOS, enabling developers to access the source code for analysis or customization.

Core Features & Use Cases

  • Cache Location: Identifies the hidden directories where WeChat stores .wxapkg packages.
  • Environment Setup: Guides installation of Node.js via Homebrew and cloning of the wxappUnpacker tool.
  • Automated Decompilation: Executes the unpacker to extract JavaScript, WXML, WXSS, and JSON assets from the package.
  • Use Case: A security analyst wants to inspect a third‑party mini‑program's code; this skill locates the package, runs the unpacker, and provides the readable source files.

Quick Start

Ask the skill to decompile the given .wxapkg file path and receive the unpacked source directory.

Frequently Asked Questions about wxapp-decompile

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

FAQPage Schema
How do I decompile WeChat mini-program .wxapkg files on macOS?

To decompile WeChat mini-program .wxapkg files on macOS, use Node.js and the wxappUnpacker tool to locate cached packages and extract JavaScript, WXML, WXSS, and JSON source code assets automatically.

What is the best way to extract WXML and WXSS from a wxapkg package?

The best way to extract WXML and WXSS from a wxapkg package is running the wxappUnpacker script via Node.js, which unpacks the bundle and generates readable source code assets.

Where does macOS store WeChat mini-program .wxapkg cache files?

macOS stores WeChat mini-program .wxapkg cache files in hidden directories, which this decompilation process locates automatically to retrieve packages for analysis without manual file handling.

Do I need Homebrew and Node.js to reverse-engineer WeChat mini-programs?

Yes, you need Homebrew to install Node.js and the wxappUnpacker repository to execute decompilation and generate source code assets from WeChat mini-programs on macOS.

Can I unpack wxapkg packages on macOS without manual file handling?

Yes, you can unpack wxapkg packages on macOS without manual file handling by using the wxappUnpacker tool with Node.js to locate caches and output source code assets automatically.

What source code assets are generated when decompiling a WeChat mini-program?

Decompiling a WeChat mini-program generates readable source code assets including JavaScript, WXML, WXSS, and JSON files extracted from the original .wxapkg package.