MCPcopy
hub / github.com/wechat-article/wechat-article-exporter

github.com/wechat-article/wechat-article-exporter @0.3 sqlite

repository ↗ · DeepWiki ↗ · release 0.3 ↗
154 symbols 253 edges 36 files 9 documented · 6%
README

Logo

wechat-article-exporter

GitHub stars GitHub forks GitHub License

在线批量导出微信公众号文章,支持阅读量、评论数据的导出,支持内嵌的音视频导出,无需搭建任何环境,可100%还原文章样式,支持私有部署。

交流群(QQ): 991482155

文档

文档站点 上线啦 🎉🎉🎉,后续使用教程会在此站点统一进行维护。

:dart: 特性

  • [x] 搜索公众号,支持关键字和biz搜索
  • [x] 搜索公众号内文章(根据文章标题搜索)
  • [x] 导出 html 格式(打包了图片和样式文件,能够保证100%还原文章样式)
  • [x] 批量导出 html 格式(zip打包)
  • [x] 缓存文章列表数据,减少接口请求次数 (关键字搜索的文章不会进入缓存)
  • [x] 支持文章过滤,包括作者、标题、发布时间、原创标识、所属合集等
  • [x] 支持合集下载
  • [x] 支持内嵌的音视频下载
  • [x] 支持图片分享消息
  • [x] 支持视频分享消息
  • [x] 支持导出评论、阅读量等数据 (需要抓包获取 credentials 信息,查看操作步骤)
  • [ ] 支持订阅机制,根据指定规则自动下载文章

:heart: 感谢

:coffee: 支持

如果你觉得本项目帮助到了你,请给作者一个免费的 Star,感谢你的支持!

关于后续更新计划

为了项目能够长期健康的发展,后续会推出一些付费服务,具体可查看 issue 中的 pro计划 标签

:bulb: 原理

在公众号后台写文章时支持搜索其他公众号的文章功能,以此来实现抓取指定公众号所有文章的目的。

:memo: 许可

MIT

:star: Star 历史

Star History Chart

Extension points exported contracts — how you extend this code

VideoPageInfo (Interface)
(no doc)
types/video.d.ts
BaseResp (Interface)
(no doc)
types/album.d.ts
BaseResp (Interface)
(no doc)
types/comment.d.ts
LoginAccount (Interface)
(no doc)
types/types.d.ts
ProxyInstance (Interface)
(no doc)
utils/pool.ts
Info (Interface)
(no doc)
store/info.ts
Asset (Interface)
(no doc)
store/assetes.ts
APICall (Interface)
(no doc)
store/api.ts

Core symbols most depended-on inside this repo

proxyMpRequest
called by 11
server/utils/index.ts
openDatabase
called by 9
store/db.ts
useKv
called by 5
server/utils/kv.ts
padStart
called by 4
utils/index.ts
formatDuration
called by 2
public/custom-elements/mp-common-mpaudio.js
pad
called by 2
public/custom-elements/mp-common-mpaudio.js
formatTimeGap
called by 2
public/custom-elements/mp-common-mpaudio.js
downloadArticleHTMLs
called by 2
utils/index.ts

Shape

Function 59
Interface 53
Method 38
Class 4

Languages

TypeScript100%

Modules by API surface

public/custom-elements/mp-common-mpaudio.js38 symbols
types/types.d.ts21 symbols
utils/index.ts17 symbols
utils/pool.ts15 symbols
types/comment.d.ts5 symbols
types/album.d.ts5 symbols
store/article.ts5 symbols
server/kv/user.ts5 symbols
apis/index.ts5 symbols
types/video.d.ts4 symbols
store/info.ts4 symbols
utils/album.ts3 symbols

Dependencies from manifests, versioned

@deno/kv0.8.2 · 1×
@iconify-json/heroicons-solid1.1.11 · 1×
@nuxt/icon1.3.1 · 1×
@nuxt/ui2.17.0 · 1×
@nuxtjs/tailwindcss6.12.0 · 1×
@types/file-saver2.0.7 · 1×
@vueuse/components10.11.0 · 1×
@vueuse/core10.11.0 · 1×
@vueuse/nuxt10.11.0 · 1×
chart.js4.4.3 · 1×
chartjs-adapter-dayjs-41.0.4 · 1×
date-fns4.1.0 · 1×

For agents

$ claude mcp add wechat-article-exporter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact