Skip to content

Feature Request: WeChat Official Account (公众号) Article Publishing Support #441

@stephen-jx

Description

@stephen-jx

Feature Request: WeChat Official Account (公众号) Article Publishing Support

Summary

Add support for publishing articles to WeChat Official Accounts (微信公众号), enabling automated content distribution to the WeChat platform.

Current State

Currently, opencli supports:

  • opencli weixin download - Export WeChat Official Account articles to Markdown

But there is no publishing capability.

Proposed Feature

Add commands like:

# Create draft
opencli weixin create-draft --title "文章标题" --content "正文内容" --cover-image ./cover.jpg

# List drafts
opencli weixin drafts

# Publish draft
opencli weixin publish --draft-id xxx

# Or one-shot publish
opencli weixin publish --title "标题" --content "正文" --author "作者"

Use Case

Many content creators and businesses in China use WeChat Official Accounts as their primary content platform. Automated publishing would enable:

  1. Cross-platform content distribution - Write once, publish to Xiaohongshu, Jike, and WeChat
  2. Scheduled publishing - Queue articles for optimal posting times
  3. AI-assisted content workflows - Generate articles with AI and auto-publish

Technical Considerations

API Limitation

Personal subscription accounts (个人订阅号) do not have API access. This feature would primarily benefit:

  • Verified subscription accounts (认证订阅号)
  • Service accounts (服务号)
  • Enterprise accounts

Browser Automation Alternative

For personal accounts, browser automation via the existing Browser Bridge could work:

  1. Navigate to mp.weixin.qq.com
  2. Create new article
  3. Fill in title, author, content
  4. Upload cover image
  5. Save as draft or publish

This follows openclis existing pattern of reusing Chrome login state.

Related

Similar to existing xiaohongshu publish and jike create commands

Willing to Contribute

Yes, can help test this feature with a personal subscription account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions