wechat-article-formatter

Installation
SKILL.md

WeChat Article Formatter & Publisher

Format markdown articles with bm.md styling and publish directly to WeChat Official Account drafts via the official API.

Overview

  1. Read markdown file (typically wechat.md from article directory)
  2. Upload local images to WeChat CDN via media/uploadimg API
  3. Replace local image paths with WeChat CDN URLs in markdown
  4. Render markdown to styled HTML via bm.md API with custom CSS
  5. Publish to WeChat draft via official draft/add API

CRITICAL: Do NOT use third-party publishing APIs (e.g. 微绿 wechat-publish). They strip inline CSS styles. Always use WeChat's official draft/add API directly.

Credentials

Read from ~/.env:

| Variable | Purpose |

Installs
52
GitHub Stars
63
First Seen
Jan 28, 2026