WeChat MP Multi-Publisher
v1.0.0Publish one or multiple Markdown articles to WeChat Official Account (公众号) draft box in a single API call. Supports multi-article combined drafts (mAIn article + sub-articles), smart cover image selection with Unsplash auto-match + 12-image fallback rotation, custom styling (gold quote highlights, && section dividers, accent headings), inline image auto-上传 to WeChat CDN, digest auto-提取ion, and optional immediate publish. Activate when user wants to push Markdown files to WeChat MP, publish to 公众号草稿箱, schedule WeChat articles, or automate public account content delivery.
运行时依赖
安装命令
点击复制本土化适配说明
WeChat MP Multi-Publisher 安装说明: 安装命令:["openclaw skills install wechat-multi-publisher"] 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
wechat-mp-publisher
Publish Markdown articles to WeChat Official Account draft box.
Key features Multi-article push — mAIn article + up to 7 sub-articles in one draft (unique vs single-article 工具s) Smart cover images — keyword-matched Unsplash + 12-image fallback pool, each article 获取s a different cover Custom styling — gold quote highlights, && section dividers, accent-colored headings Inline images — local PNG/JPG auto-上传ed to WeChat CDN Flexible 凭证s — env vars or ~/.config/wechat-mp/凭证s.json Quick 启动 # 安装 dependency npm 安装 @wenyan-md/core
# 设置 凭证s 导出 WECHAT_应用_ID=your_应用id 导出 WECHAT_应用_SECRET=your_应用secret
# Push to draft box node scripts/publish.mjs mAIn-article.md [sub-article.md ...]
See references/设置up.md for full 凭证 设置up, IP white列出, and cron 自动化.
Markdown conventions
Section divider (renders as gradient rule):
paragraph text
&&
next paragraph
Section header (renders as accented H2):
&& My Section Title
Gold quotes — automatically highlighted when text 启动s with:
真正的... / 不是...而是... / 底层逻辑是... / 关键不是... 命令行工具 reference node scripts/publish.mjs [sub1.md] [sub2.md] ... --dry-运行 Render to /tmp/wechat-preview/ without 上传ing --publish Also trigger freepublish after draft creation --media-id=xxx Publish an existing draft by media_id
Author field
设置 WECHAT_AUTHOR env var to customize the author name shown in WeChat.