Yihtsy / ZotLink
git clone https://github.com/Yihtsy/ZotLink.git
v0.8.0 · 8d ago
Zotero linked attachment manager with Windows file ID tracking
+~-81
stars, 24h · #62,586
+~-567
stars, 7 days · #62,734
+1
stars, 30 days · #35,823
1
★ total · -100% this week
0
forks · 1 open issues
Star history (as recorded here)
LanguageJavaScript
LicenseMIT
Created2026-10-01 (22d ago)
Last push8d ago
Watchers1
OwnerUser
Links
- GitHub: github.com/Yihtsy/ZotLink
- Releases · Issues · Hacker News mentions
README excerpt
# ZotLink ZotLink is a Windows attachment manager for Zotero 10 users who prefer linked attachments and keep their PDFs in ordinary folders. ZotLink 是一个面向 Zotero 10 的 Windows 链接附件管理插件,服务于喜欢将 PDF 保存在普通文件夹中的用户。 In line with Obsidian's file-first philosophy, ZotLink follows one guiding principle: your literature files should remain understandable, portable, and independently usable, even in a future where Zotero and/or ZotLink are no longer part of your workflow. 与 Obsidian 的文件优先理念一致,ZotLink 坚持一个总的指导原则:即使未来 Zotero 和/或 ZotLink 不再是工作流程的一部分,文献文件也应当始终清晰、可迁移、可独立使用。 ## Highlights 核心特性 1. **File Identity and Link Repair 机内码与链接修复** Track Windows file ID and attachment path together to recover links after external renaming or moving. 同时记录 Windows 机内码与附件路径,修复外部改名或移动造成的附件脱钩。 2. **Collection-Aware File Moves 文件随分类移动** Move files and folder trees with collection changes, including renames, merges and retries for temporarily locked files. 文件及完整目录树随分类变化而移动,支持分类改名、目录合并及文件占用后的自动重试。 3. **Multi-Collection Shortcut Mirrors 多重分类与快捷方式分身** Keep one real PDF with shortcut mirrors in other collections, and swap the real file's location when needed. 一份真实 PDF 对应多个分类快捷方式分身,并可按需切换本体所在位置。 4. **Folder-Based Library Rebuilding 从文件夹重建文献库** Rebuild collection structure, import PDFs by DOI/ISBN metadata, and reconnect an existing folder-based library. 根据文件夹重建分类结构,利用 DOI/ISBN 元数据导入 PDF,并接续已有文件夹文献库。 5. **PDF Processing and Windows Tools PDF 处理与 Windows 工具** Update DOI metadata, rename PDFs and align page labels; registered Windows PDF commands also work with Zotero closed. 更新 DOI 元数据、重命名和对齐 PDF 页面标签;已注册的 Windows PDF 右键命令在 Zotero 关闭后仍可使用。 6. **Quick Literature Links 快速复制文献链接** Copy DOI/URL links or combined DOI and Zotero PDF Markdown links for Obsidian and other note-taking tools. 为 Obsidian 等笔记工具快速复制 DOI/URL,或同时包含 DOI 与 Zotero PDF 引用的 Markdown 链接。 ## Getting Started and Recommendations 使用方式与建议 Install the latest XPI, restart Zotero, and enter your PDF root folder under **附件顶层路径** in ZotLink preferences. Settings are saved automatically. 安装最新版 XPI 并重启 Zotero,在 ZotLink 设置的 **附件顶层路径** 中填写 PDF 根目录。设置自动保存。 **Starting from scratch:** try a few items first. If you have uncataloged PDFs in local folders, use **仅根据本地文件夹重建子分类结构(不导入PDF)**, then **仅导入当前文件夹 PDF** folder by folder rather than importing everything at once. **从零开始:**先用少量条目试用。如果本地已有尚未编目的 PDF 文件夹,先使用 **仅根据本地文件夹重建子分类结构(不导入PDF)**,再通过 **仅导入当前文件夹 PDF** 逐个导入,不建议首次一口气导入全部文件。 **Continuing an existing linked library:** if you previously used ZotLink or Attanger and already keep your literature in a dedicated folder tree, set **附件顶层路径** to that existing root, then click **从顶层文件夹重建链接库**. Existing items and attachments are matched and reused where possible. **接续已有链接附件库:**如果此前使用 ZotLink 或 Attanger,已将文献集中在固定文件夹中,先把 **附件顶层路径** 设为该现有根目录,再点击 **从顶层文件夹重建链接库**,按匹配结果复用已有条目和附件。 Back up your Zotero data and PDFs before bulk operations. Prefer complete, original publisher PDFs. Keep a network connection for Crossref queries. If you prefer attachm