wechat-article-publisher

Installation
Summary

Publish Markdown or HTML articles to WeChat Official Account drafts via API.

  • Supports both Markdown and HTML file formats with automatic conversion; HTML preserves original formatting
  • Two article types available: standard news format and image-focused newspic (小绿书) mode
  • Requires WECHAT_API_KEY environment variable and authorized WeChat account on wx.limyai.com
  • Publishes to drafts only (user manually publishes in WeChat admin panel); includes account listing and error handling for expired tokens or missing authorization
SKILL.md

WeChat Article Publisher

Publish Markdown or HTML content to WeChat Official Account drafts via API, with automatic format conversion.

Prerequisites

  • WECHAT_API_KEY environment variable set (from .env file)
  • Python 3.9+
  • Authorized WeChat Official Account on wx.limyai.com

Scripts

Located in ~/.claude/skills/wechat-article-publisher/scripts/:

wechat_api.py

WeChat API client for listing accounts and publishing articles:

# List authorized accounts
python wechat_api.py list-accounts
Installs
1.8K
GitHub Stars
136
First Seen
Jan 20, 2026