wechat-article-to-obsidian
Installation
SKILL.md
WeChat Article → Obsidian
Save WeChat MP articles (微信公众号) as clean Markdown notes in Obsidian. No browser, no CDP, no plugins needed.
How it works
WeChat articles are fetched with a two-stage strategy. First, try a normal curl with browser-like headers. If that only returns a shell page and the parser cannot find usable metadata / #js_content, fall back to a real browser fetch using Playwright + Chrome, extract the rendered article body, then convert it to clean Markdown and save it into Obsidian.
Dependencies
- curl (pre-installed on macOS/Linux)
- Node.js >= 18
- Playwright + a Chromium/Chrome browser (only needed for fallback mode)
- obsidian CLI (optional for vault-side workflows, not required for saving)
First-time setup
On first use, check <skill-path>/config.json. If obsidian_vault or default_path is empty, ask the user: