强烈建议在桌面端使用。 桌面端独有的「下载增强」功能可显著提升微信公众号内容和防盗链图片的下载成功率。
https://community.obsidian.md/plugins/ima-copilot-sync
将腾讯 IMA 个人笔记和知识库同步到 Obsidian vault 的插件。
微信公众号内容转发到ima后,自动同步公众号内容到Obsidian
⚠ 单向同步:本插件仅支持 IMA → Obsidian 单向同步。在 Obsidian 中对笔记做的任何修改不会同步回 IMA,每次同步会用 IMA 服务端内容覆盖本地文件。
个人笔记同步:将 IMA 笔记本中的所有笔记自动下载到 Obsidian
图片和文件本地化:自动下载笔记中的图片并保存到本地附件目录
知识库同步:同步知识库中的所有类型条目
增量同步:仅同步上次同步后有修改的笔记,减少不必要的请求
自动定时同步:按设定间隔自动在后台同步
安全凭证存储:凭证存储于 Obsidian 钥匙串(系统 Keychain),不以明文保存在配置文件中
知识库删除同步:支持删除/保留/标记三种模式处理 IMA 端已删除的条目
访问 https://ima.qq.com/agent-interface,登录后复制页面上的 Client ID 和 API Key。
打开 Obsidian 设置 → ima.copilot Sync,在设置页面:
凭证将安全存储于 Obsidian 钥匙串中,不会以明文保存在配置文件里。
点击「测试」按钮验证连接是否正常。
| 设置项 | 说明 |
|---|---|
| 同步 IMA 笔记 | 同步 IMA 个人笔记本中的所有笔记 |
| 同步知识库 | 开启后选择要同步的知识库,支持所有类型条目 |
| 同步文件夹 | 笔记保存到 vault 内的哪个文件夹(默认:ima) |
| 同步间隔 | 自动同步的时间间隔(分钟,默认 60) |
| 设置项 | 说明 |
|---|---|
| 下载附件 | 是否将图片、PDF 等附件下载到本地(关闭则保留原链接) |
| 附件大小限制 | 超过限制的附件保留原链接,不下载(0 = 不限制) |
# 安装依赖
npm install
# 开发模式(文件监听)
npm run dev
# 生产构建
npm run build
An Obsidian plugin to sync notes from Tencent IMA personal notebook and knowledge base into your Obsidian vault.
Forward WeChat official account articles to IMA, then auto-sync the content to Obsidian.
⚠ One-way sync only: This plugin syncs IMA → Obsidian only. Any edits made in Obsidian will not be synced back to IMA — each sync overwrites local files with the content from IMA.
Personal notes sync: Automatically downloads all notes from your IMA notebook
Image and file localization: Downloads inline images and file attachments to a local folder
Knowledge base sync: Syncs all item types from your IMA knowledge base
Incremental sync: Only fetches notes modified since the last sync
Auto periodic sync: Runs silently in the background on a configurable interval
Secure credential storage: Credentials stored in Obsidian keychain (system Keychain), never saved in plaintext
Knowledge base delete sync: Three modes (delete/keep/mark) for handling items deleted from IMA
Visit https://ima.qq.com/agent-interface, log in, and copy your Client ID and API Key.
Open Obsidian Settings → ima.copilot Sync:
Credentials are securely stored in the Obsidian keychain and never saved in plaintext.
Click 「测试」 to verify the connection.
| Setting | Description |
|---|---|
| Sync IMA Notes | Sync all notes from your IMA personal notebook |
| Sync Knowledge Base | Enable and select a knowledge base to sync (all item types) |
| Sync Folder | Vault folder where notes are saved (default:ima) |
| Sync Interval | Auto-sync interval in minutes (default: 60) |
| Setting | Description |
|---|---|
| Download Attachments | Download images/PDFs locally, or keep original links if disabled |
| Size Limit | Skip download for attachments exceeding the limit (0 = no limit) |
# Install dependencies
npm install
# Development mode (watch)
npm run dev
# Production build
npm run build
MIT
This project includes defuddle (MIT) by Steph Ango (@kepano), used for HTML-to-Markdown conversion.