wechatsync
它能做什么
该技能帮助你通过一条命令,把同一篇文章发布到 Zhihu、Juejin、CSDN 和 WordPress 等许多内容平台。适合在多个平台发布内容的作者和营销人员。
适用场景
- ✓当你想同时把同一篇文章发布到多个内容平台时。
- ✓当你需要把 Markdown 或 HTML 文章同步到 Zhihu、Juejin、CSDN、WordPress 或类似网站时。
- ✓当你想把文章分发到许多平台,而不想手动复制时。
技能链接
https://github.com/wechatsync/Wechatsync/blob/v2/skills/wechatsync/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这篇 Markdown 文章一次性发布到我的 Zhihu、Juejin 和 WordPress 账户。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能引导智能体使用一个命令行工具,配合你自行安装的浏览器扩展,从而借助你现有的登录状态,在每个平台上发布文章。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
WechatSync
Publish and sync Markdown/HTML articles to 29+ content platforms via CLI.
Prerequisites
This skill requires external tools that the user must install themselves:
- CLI tool (
@wechatsync/cli): Open-source npm package (source code). Install withnpm install -g @wechatsync/cli - Chrome extension: Open-source browser extension (source code). Install from Chrome Web Store or download ZIP
- Token: User-generated token set in extension settings. The token is created locally by the user and used only for localhost communication between CLI and extension. Set via
export WECHATSYNC_TOKEN="your-token" - Platform logins: Log in to target platforms in browser (extension uses existing browser cookies, no credentials are stored or transmitted)
Security model: All data stays local. The CLI communicates with the Chrome extension over localhost. The extension calls platform APIs directly from the browser using existing login sessions. No third-party server involved. Full source code is open and auditable.
Before running any command, confirm the user has completed the prerequisites. Do not install packages on the user's behalf without explicit consent.
Commands
Sync
wechatsync sync article.md -p juejin # single platform
wechatsync sync article.md -p juejin,zhihu,csdn # multiple platforms
wechatsync sync article.md -p juejin -t "Title" # custom title
wechatsync sync article.md -p juejin --cover ./cover.png # cover image
wechatsync sync article.md -p juejin --dry-run # preview only
Platforms & Auth
wechatsync platforms # list all platforms
wechatsync platforms --auth # show login status
wechatsync auth zhihu # check single platform
Extract
wechatsync extract # extract from current browser page
wechatsync extract -o article.md # save to file
Platform IDs
zhihu, juejin, csdn, jianshu, toutiao, douyin, weibo, bilibili, xiaohongshu, baijiahao, weixin, yuque, douban, sohu, xueqiu, woshipm, dayu, yidian, 51cto, sohufocus, imooc, oschina, segmentfault, cnblogs, x, eastmoney, smzdm, netease, wordpress, typecho
Notes
- Images auto-uploaded to target platform CDN (PNG, JPG, GIF, WebP, SVG)
- Markdown title extracted from front matter
titleor first# heading - Articles sync as drafts by default — user reviews before publishing
Workflow
- Confirm prerequisites are installed (ask user if unsure)
- Check login:
wechatsync platforms --auth - Sync:
wechatsync sync <file> -p <platform1>,<platform2> - Report results with draft URLs
Example prompts:
- "Sync this article to Juejin and Zhihu"
- "Which platforms am I logged into?"
- "Extract the article from browser and save it"
- "把这篇文章同步到掘金和知乎"
常见问题
我需要先安装什么吗?
需要。你必须安装命令行工具和 Chrome 扩展,设置令牌,并登录每个平台。
我的密码会被发送到别处吗?
该技能表示不会存储或传输任何凭据,工具与浏览器之间的数据保留在本地。
支持哪些平台?
该技能列出了 29 个以上的平台,包括 Zhihu、Juejin、CSDN、Weibo 和 WordPress。
详情
作者的原始描述
Multi-platform article publisher and content distribution tool. Sync and cross-post Markdown/HTML articles to 29+ platforms including Zhihu (知乎), Juejin (掘金), CSDN, Toutiao (头条), Weibo (微博), Xiaohongshu (小红书), Bilibili (B站), WordPress, Typecho, WeChat (微信公众号), and more. Use when the user wants to publish, sync, cross-post, or distribute articles (文章同步/多平台发布/一键发布) to Chinese content platforms, tech communities, blogging sites, or self-hosted blogs. Also use when checking platform login status or extracting articles from web pages. Keywords: content syndication, blog distribution, multi-platform
repo: wechatsync/Wechatsync
热度
- GitHub 星标
- 6.6k
- 排名
- #13870
- 许可证
- GPL-3.0
- 更新时间
- 2026/10/23
评论
- …