Loading...
Loading...
Automatically publish HTML articles to WeChat Official Account draft box, supporting cover image upload, title, author and metadata management. Use this when the user says "push to WeChat", "publish to official account draft", "upload to draft box" or mentions WeChat article publishing.
npx skill4agent add bnd-1/wechat_article_skills wechat-draft-publisherpython publisher.py --title "Article Title" --content article.htmlpython publisher.py \
--title "Title" \
--content article.html \
--author "Author Name" \
--cover cover.png \
--digest "Article Abstract"YanGcover.png*_formatted.html.html<!-- Title: xxx -->cover.pngpython publisher.py --title "xxx" --content xxx.html --cover xxx.pngpython publisher.py --title "Test" --content test.html~/.wechat-publisher/config.json{
"appid": "wx1234567890abcdef",
"appsecret": "your_secret_here"
}wechat-tech-writerxxx_article.mdcover.pngwechat-article-formatterxxx_formatted.htmlwechat-draft-publisher*_formatted.htmlcover.pnginvalid ip not in whitelistAppSecret error~/.wechat-publisher/config.jsontitle/author size out of limitpublisher.pywechat-draft-publisher/
├── SKILL.md # This file
├── publisher.py # Core publishing script
├── scripts/ # Utility scripts
│ ├── fix-wechat-style.py # HTML optimizer
│ ├── optimize-html.py # HTML compression tool
│ ├── publish-workflow.sh # Complete workflow
│ ├── install.sh # Installation assistant
│ └── test.sh # Test script
├── examples/ # Example files
│ ├── config.json.example # Configuration example
│ └── example.html # HTML example
└── README.md # Detailed English documentationpython publisher.py \
--title "VSCode Renaming Incident" \
--content article.htmlpython publisher.py \
--title "Technical Article" \
--content article.html \
--author "YanG" \
--cover images/cover.png \
--digest "This is an article about..."python publisher.py --interactive