What problem does it solve?
Enable reliable, repeatable publishing to WeChat Official Accounts without manual browser steps by converting Markdown/HTML, handling images, and saving drafts via API or automated browser actions.
Core Features & Use Cases
- Flexible input: Accepts Markdown, HTML, or plain text and auto-extracts title, summary, author, and images.
- Two publishing methods: Fast API-based draft publishing (requires WeChat credentials) or browser automation via Chrome CDP for interactive sessions.
- Robust processing: Markdown → themed HTML rendering, image placeholder replacement, cover image & comment controls, and EXTEND.md preference management.
- Use case: Convert a local article with images into WeChat-ready HTML, upload images, set cover/comment options, and save as a draft or publish automatically.
Quick Start
Configure your WeChat API credentials and run the skill to publish a markdown article as a draft, for example: npx -y bun scripts/wechat-api.ts ./article.md --theme default --submit