lyxdream59 downloadsExtract the full text of WeChat Official Account articles and save them as Markdown notes.
Obsidian 插件:将微信公众号文章采集到笔记库。
| 功能 | 说明 | 依赖 |
|---|---|---|
| 公众号全文 | 标题、作者、正文、图片 → Markdown | 无(开箱即用) |
在 Obsidian 设置 → 社区插件 中搜索 Wechat Capture 安装。
从 Releases 下载 main.js、manifest.json、styles.css
复制到你的库目录:
<你的库>/.obsidian/plugins/obsidian-wechat-capture/
在 Obsidian 中启用插件
git clone https://github.com/lyxdream/obsidian-wechat-capture.git
cd obsidian-wechat-capture
npm install
npm run build
ln -s "$(pwd)" "<你的库>/.obsidian/plugins/obsidian-wechat-capture"
Cmd/Ctrl + P 打开命令面板设置 → Wechat Capture
| 设置 | 默认值 | 说明 |
|---|---|---|
| 公众号笔记目录 | wechat |
文章保存位置 |
| 附件目录 | attachments |
公众号图片附件根目录 |
npm install
npm run dev # 监听构建
npm run build # 生产构建
构建产物为 main.js(已在 .gitignore 中,Release 时上传)。
obsidian-wechat-capture/
├── main.ts # 插件入口
├── manifest.json # Obsidian 插件元信息
├── styles.css
├── versions.json # 社区插件版本兼容
├── src/
│ ├── wechat.ts # 公众号提取
│ └── ...
└── .github/workflows/ # CI 构建
manifest.json 和 package.json 中的 versionversions.json(Obsidian 最低版本映射)npm run buildmain.js、manifest.json、styles.css