Repository navigation
Releases
0.5.2 · 实时目录选择与进度保留
实时选择目录 / Select articles as pages arrive
- 公众号及合集目录逐页显示,拉取过程中即可搜索和勾选;后续分页保留勾选和列表位置,新文章默认不选中。
- 点击停止或拉取中断后,已取得的目录仍可选择保存,并标明“部分目录”。每页目录和勾选都会写入本地记录,重启插件可恢复。
- 拉取中可点击“停止拉取并保存所选”,当前请求结束后保存点击时选定的文章。再次停止可取消等待中的保存。
- 保存正文不会把部分目录标为完整。刷新目录会从头重新拉取,不从旧分页位置续拉。
- 获取历史目录先尝试已有微信连接,仅在未连接时显示操作提示和备用主页链接;10 分钟内返回 Obsidian 可自动重试一次,也可手动重试或取消。
- 保留 Windows、macOS 单篇和合集保存;Mac 历史目录仍为实验功能。
81 项自动化检查通过,覆盖分页实时显示、勾选保留、停止及重启恢复、并发写入、仅保存指定文章、合集隔离和原有功能。已检查宽窄窗口的独立界面预览;真实微信及 Obsidian 内的本次交互仍待实际使用确认。
History and album catalogs now appear page by page, with filtering and selection available during fetching. Later pages keep earlier selections and leave new articles unchecked. Stopping or interruption retains a selectable partial catalog, including across plugin restarts.
The new stop-and-save action finishes the current request and saves exactly the IDs selected at the click. A second stop cancels the queued save. Saving bodies does not make an incomplete directory complete; refreshing starts a new enumeration.
History requests try existing WeChat context first and show homepage guidance only when needed. Returning to Obsidian can trigger one retry within 10 minutes; manual retry and cancellation remain available. Windows and macOS behavior is retained, with Mac history still experimental.
Validation: 81 automated tests passed and isolated wide/narrow previews were inspected. The updated interaction has not been verified against live WeChat inside Obsidian.
WeChat Official Account Archive 0.5.0 — macOS support
macOS 支持
Mac 的 Obsidian 现在可直接保存公众号单篇文章及图片,并使用公开合集目录。Windows 原有功能保留。
- 单篇归档已在 macOS 27.2(Apple silicon)、Obsidian 1.14.5 的独立测试库中验证:正文成功保存,6 张图片下载到本地,重复保存保留原笔记。
- 公开合集的选择和保存通过模拟数据测试,尚未完成真实合集端到端验证。
- 增加微信 4.x 网页缓存路径发现、Chromium Simple Cache URL 键识别、访问受限提示及 Mac 安装指南。扫描有范围和数量限制,跳过聊天数据库、登录数据、Cookie 与符号链接。
- 全部 65 项自动化测试和生产构建通过。
完整公众号历史目录仍是实验功能,尚未完成 Mac 端到端验证。 本次实测保留“Obsidian → 微信”数据访问开关关闭;不读取缓存也可使用单篇归档。插件不会自动更改系统权限。
安装 / 更新
需要桌面版 Obsidian 1.8.0 或更高版本。下载 wechat-history-archive-0.5.0.zip,将其中的 wechat-history-archive 文件夹放入笔记库的 .obsidian/plugins/ 下,再重新加载并启用插件。更新时保留已有 data.json、归档笔记和附件。也可单独下载 main.js、manifest.json、styles.css。
English
Adds macOS article saving and public-album support, bounded WeChat 4.x web-cache key discovery, permission errors, and installation guidance. A real Mac article/image save and repeat-save preservation were verified; album behavior is fixture-tested. Full-account history remains experimental and was not verified end to end because WeChat data access stayed disabled. All 65 tests and the production build pass.
See MACOS.md for the validation boundaries. SHA-256 checksums and third-party license notices are attached.
WeChat Official Account Archive 0.4.0
单篇文章下载 / Single-article saving
- 新增“保存单篇文章”:粘贴文章链接即可保存正文和图片,不必先获取目录,不扫描微信缓存。
- 保存后可点击“打开刚保存文章”;单篇记录与历史、合集索引独立。
- 页面提供统一标识时,短链接和长链接复用同一笔记;已有内容和使用者修改保持不变。
- 保留中文在前、英文在后的使用说明。
Paste one article URL and click 保存单篇文章 to save its text and images directly. Public articles normally need no WeChat login. Existing notes are preserved; single saves have an independent ledger and index and can be reused by later batch archives.
Validation: 54 automated tests passed, one user-provided public article saved through the plugin workflow with an in-memory vault, short-link identity matched its existing history entry, and wide/narrow isolated interface previews were inspected. No live Obsidian interface was controlled.
Download the ZIP for manual installation, or use main.js, manifest.json, and styles.css. Preserve data.json, notes, and attachments when upgrading. Community directory checks run separately.
WeChat Official Account Archive 0.3.4
WeChat Official Account Archive 0.3.4
- Rename the public display name from WeChat History Archive to WeChat Official Account Archive so the WeChat Official Account purpose is explicit.
- Use 微信公众号归档 for the Chinese archive panel, ribbon tooltip, and status-bar launcher.
- Keep the plugin ID, saved settings, archive folders, index filenames, and update path unchanged.
- Build and all 46 automated tests passed.
Download the ZIP for manual installation, or use the individual main.js, manifest.json, and styles.css assets. Preserve data.json and existing notes when upgrading. Community directory checks run separately for this release.
This independent Windows plugin is not an official WeChat or Obsidian product.
WeChat History Archive 0.3.3
WeChat History Archive 0.3.3
- Add complete English installation, usage, privacy, network, filesystem, and clipboard disclosures. The full Chinese guide is preserved in README.zh-CN.md.
- Replace the bundled CSS parser's dynamic error-constructor fallback with a static lookup. Retain dependency license notices and fail the build if the upstream fallback changes unexpectedly.
- Pass 46 automated tests, including isolated-realm error handling and a check that the distributed bundle contains no dynamic evaluation calls.
Windows desktop only. Fetch currently accessible WeChat history or a native album, then choose articles to save as Markdown with local images. Account history requires the user's logged-in Windows WeChat web cache; public albums usually do not.
For manual installation, extract wechat-history-archive-0.3.3.zip into your vault's plugin directory. Keep existing settings, notes, and attachments when upgrading. The three runtime assets are also attached separately for community installation.
Community listing: submitted, with automated review in progress. A release does not by itself mean that directory review is complete. See the repository README and MIT license for details.
WeChat History Archive 0.3.2
WeChat History Archive 0.3.2(公众号历史归档)
根据 Obsidian 社区目录的初检反馈,将插件显示名称改为 WeChat History Archive,符合目录要求的 Basic Latin 命名规则。插件功能界面继续使用中文。
本版更新显示名称、版本号和安装说明。运行代码与已通过 45 项测试的 0.3.1 完全相同,构建后的 main.js 校验值相同。MIT 许可证、第三方许可、Windows 微信缓存访问说明及安全处理继续包含在发布包中。
安装:下载 wechat-history-archive-0.3.2.zip,将其中的 wechat-history-archive 文件夹放入笔记库的 .obsidian/plugins/,重新打开 Obsidian 并启用 WeChat History Archive。升级时保留配置、笔记和附件。
也可直接下载 main.js、manifest.json 和 styles.css。社区提交及审核状态另行显示;发布此版本不代表已通过社区审核。
公众号历史归档 0.3.1
公众号历史归档 0.3.1
Windows 桌面版 Obsidian 插件。可获取公众号当前可枚举的历史目录或微信原生合集目录,再由使用者勾选文章,将正文和图片保存到笔记库。
此版本补齐社区目录发布所需材料,并修复设置保存与启动恢复问题:
- 采用 MIT 许可证;项目及第三方许可全文随运行文件分发。
- 粘贴链接中的会话参数在保存配置前清理,启动时也会清理旧配置中的此类参数。
- 等待笔记库准备好后恢复目录,兼容尚未加载的归档标签页。
- 补充账号要求、联网目标、笔记库外缓存访问和离线使用范围说明。
验证:45 项自动测试通过,覆盖目录分页、合集篇数核对、文章选择、已有笔记保护、排版、配置隐私及独立构建包加载。源码和发布文件扫描未发现本地个人信息、实际微信会话或用户文章样本。
安装:下载 wechat-history-archive-0.3.1.zip 并解压,将 wechat-history-archive 文件夹放到笔记库的 .obsidian/plugins/ 下,重新打开 Obsidian 并启用插件。也可分别下载 main.js、manifest.json、styles.css 放入该插件目录。升级请保留 data.json、笔记和附件。
完整公众号历史目录需要 Windows 微信已登录并在微信内打开对应主页;公开合集通常无需读取缓存。已删除、受限或接口未列出的文章无法保证获取。详见仓库 README。社区目录审核状态另行显示,发布此 Release 不代表已通过社区审核。
v0.3.0 · 文章勾选与合集归档
Windows 桌面版 Obsidian 的微信公众号历史与合集归档插件。当前为原型预发布版本。
本次更新
- 获取文章目录后暂停,由使用者勾选需要保存的文章;支持标题搜索、全选当前结果、勾选未保存和清空选择。
- 支持微信原生合集 / 专辑链接,自动翻页并核对篇数,只获取指定分组,保留合集顺序。
- 合集使用独立索引和进度,相同文章复用已有笔记,保留使用者修改。
- 左侧工具栏增加绿色图标,右下角增加“公众号归档”按钮,点击即可打开面板。
- 可载入本地目录,停止后继续未完成的选择;未勾选的文章不会自动下载。
独立运行,不需要 wechatDownload、微信读书、Python、Node.js、Docker、MCP 服务或 AI API Key。获取公众号完整历史目录需登录 Windows 微信并在微信内打开目标主页;公开合集可直接使用合集链接。
安装与升级
下载 wechat-history-archive-v0.3.0.zip,将其中的 wechat-history-archive 文件夹放入笔记库的 .obsidian/plugins/,重开 Obsidian 后启用“公众号历史归档”。
也可分别下载 main.js、manifest.json 和 styles.css,放入同一插件文件夹。升级时保留原有 data.json 配置、笔记和附件。
验证与限制
- 41 项自动测试通过,覆盖勾选范围、停止恢复、旧笔记保护、合集分页与数量校验。
- 实际公开合集返回两页,共 27 篇,与接口标注总数一致;取得目录时未自动下载正文。
- 既有历史目录兼容性和界面静态排版已检查,尚无完整的真实 Obsidian 界面自动化验收。
- 当前支持 Windows 桌面版;微信网页接口及缓存格式可能变化。
- 仅保存当前可访问的内容,不保证包含已删除、受限或未列入目录的文章。当前合集功能支持微信原生合集,不解析第三方专题页。
- 音视频保留原文入口,音频帖仅保存页面文字介绍;不会绕过作者隐私设置或微信验证。
- 源码与安装包不包含使用者的微信缓存、会话信息、下载文章或笔记库配置。
SHA256SUMS.txt 用于核对文件完整性;第三方库许可见 THIRD-PARTY-NOTICES.txt。
v0.1.1 · Windows 公众号历史归档
Windows 桌面版 Obsidian 的微信公众号历史归档插件。当前为原型版本。
独立运行,不需要 wechatDownload、微信读书、Python、Node.js、Docker 或 MCP 服务。首次使用需登录 Windows 微信,并在微信内打开目标公众号主页。
本版修复装饰小图放大、模板空行、横排年份拆分、中文加粗/斜体及字体对勾显示问题。支持常规图文、图片短文和音频文字介绍。
安装
下载 wechat-history-archive-v0.1.1.zip,将其中的 wechat-history-archive 文件夹放入笔记库的 .obsidian/plugins/,重开 Obsidian 后启用“公众号历史归档”。升级时保留原有 data.json 和笔记。
也可以分别下载 main.js、manifest.json 和 styles.css,放入相同文件夹。
验证和限制
- 干净环境构建及 28 项自动测试通过;程序代码与当前本地实测版本一致。
- 当前仅验证 Windows 微信 4.1.6.14 的网页缓存布局;没有完整的真实 Obsidian 界面自动化验收。
- 只能归档微信当前允许访问和枚举的历史内容,不保证包含所有曾经发表的文章。
- 音视频保留原文入口;不绕过作者隐私设置或微信验证。
- 源码和安装包不含使用者的微信缓存、会话信息、下载文章或笔记库配置。
SHA256SUMS.txt 可用于核对文件完整性;第三方库许可见 THIRD-PARTY-NOTICES.txt。