Loading...
Loading...
WeChat Official Account article publishing tool. Use wxgzh CLI to publish Markdown articles to the official account draft box. Trigger scenarios: Users need to publish official account articles, configure official account AppID/AppSecret, generate cover images, convert Markdown to HTML.
npx skill4agent add lyhue1991/wxgzh wxgzh@lyhue1991/wxgzh1. Check Installation → 2. Check Configuration → 3. Publish Articlecommand -v wxgzhnpm install -g @lyhue1991/wxgzhwxgzh config --listAppIDAppSecretwxgzh config --appid YourAppID --appsecret YourAppSecret⚠️ Remind users: You must add your local public IP to the IP whitelist in the official account backend Check public IP: Visit https://ip.sb/
wxgzh article.md --author "Author Name"--author <name>--theme <theme>--cover <path>--digest <text>--enable-commentwxgzh config --appid YourAppID --appsecret YourAppSecretwxgzh cover --title "My Article" --to .wxgzh/cover.jpgwxgzh cover --title "My Article" --to .wxgzh/cover.jpg && open .wxgzh/cover.jpgwxgzh cover --listwxgzh md2html --from article.md --to .wxgzh/article.html~/.config/wxgzh/wxgzh.json.wxgzh/# View help
wxgzh --help
# View configuration
wxgzh config --list
# View themes
wxgzh config --list-themes
# One-click publishing
wxgzh article.md --author YourName --theme blue
# Step-by-step execution
wxgzh md2html --from article.md --to .wxgzh/article.html
wxgzh fix .wxgzh/article.html
wxgzh cover --title "Title" --to .wxgzh/cover.jpg
wxgzh publish --article .wxgzh/article.html --cover .wxgzh/cover.jpg