微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚀

多平台文章一键同步分发

WechatSync · v1.0.0
效率 安全 B 级 作者 lljxx1 公开目录收录
1k 下载 2 安装 4.3k 收藏 47 浏览

简介

一键将 Markdown 文章同步至 27+ 中文内容平台(知乎、掘金、公众号等),自媒体创作者的内容分发利器

原始描述

Multi-platform article publisher and content distribution tool. Sync and cross-post Markdown/HTML articles to 27+ platforms including Zhihu (知乎), Juejin (掘金)...

通过你的 Agent 添加

安装目录:wechatsync/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/wechatsync/
Codex CLI~/.codex/skills/wechatsync/
DeepSeek Harness~/.agents/skills/wechatsync/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: wechatsync description: "Multi-platform article publisher and content distribution tool. Sync and cross-post Markdown/HTML articles to 30+ 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 publishing, self-media (自媒体), content creator tools." metadata: openclaw: requires: env: - WECHATSYNC_TOKEN bins: - wechatsync primaryEnv: WECHATSYNC_TOKEN emoji: "\U0001F4DD" homepage: https://github.com/wechatsync/Wechatsync install: - kind: node package: "@wechatsync/cli" bins: [wechatsync]

WechatSync

Publish and sync Markdown/HTML articles to 30+ content platforms via CLI.

Prerequisites

This skill requires external tools that the user must install themselves:

  1. CLI tool (@wechatsync/cli): Open-source npm package (source code). Install with npm install -g @wechatsync/cli
  2. Chrome extension: Open-source browser extension (source code). Install from Chrome Web Store or download ZIP
  3. 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"
  4. 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 title or first # heading
  • Articles sync as drafts by default — user reviews before publishing

Workflow

  1. Confirm prerequisites are installed (ask user if unsure)
  2. Check login: wechatsync platforms --auth
  3. Sync: wechatsync sync <file> -p <platform1>,<platform2>
  4. 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"
  • "把这篇文章同步到掘金和知乎"

正文来自原始仓库, 版权归作者所有,许可:GPL。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/wechatsync/Wechatsync

标签

content-syndicationmarkdownmulti-platform-publishing自媒体bloggingcli-toolcontent-distribution中文平台

同类 Skill