2026-05-02 06:52:59 +00:00
< p align = "center" >
< img src = "docs/images/paperforge-banner.png" alt = "PaperForge banner" width = "100%" / >
< / p >
2026-04-27 17:20:32 +00:00
2026-04-27 17:25:51 +00:00
# PaperForge
2026-04-21 12:50:17 +00:00
2026-05-01 03:37:50 +00:00
[](https://github.com/LLLin000/PaperForge/releases)
2026-04-30 03:18:52 +00:00
[](https://python.org)
2026-05-01 03:39:14 +00:00
[](LICENSE)
2026-04-21 14:52:22 +00:00
2026-05-13 17:21:52 +00:00
[简体中文 ](README.zh.md ) · **English**
2026-04-27 17:12:58 +00:00
2026-05-09 16:30:44 +00:00
> **铸知识为器,启洞见之明。 — Forge Knowledge, Empower Insight.**
2026-05-13 17:21:52 +00:00
PaperForge brings your Zotero library into Obsidian. Sync papers, run OCR, extract figures, and do AI-assisted deep reading — all inside a single vault.
2026-05-09 16:30:44 +00:00
---
2026-05-13 17:21:52 +00:00
## 0. What PaperForge Is
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
PaperForge is **not just an Obsidian plugin** . It has two parts:
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
| Part | What | Does | Where |
|------|------|------|-------|
| Obsidian Plugin | `main.js` + `manifest.json` + `styles.css` | Dashboard, buttons, settings UI | `.obsidian/plugins/paperforge/` in your vault |
| Python Package | `paperforge` | Sync, OCR, Doctor, repair | Your system Python (`pip install`) |
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
The plugin is the **interface** . The Python package is the **engine** . Every button you click in the plugin actually runs a Python command behind the scenes.
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
**After installing the plugin, you MUST verify that the Python package is also installed and version-matched.**
2026-05-09 16:30:44 +00:00
---
2026-05-13 17:21:52 +00:00
## 1. Install the Obsidian Plugin
2026-05-09 16:30:44 +00:00
2026-05-14 09:56:25 +00:00
### Option A: Community Plugin Browser (Recommended)
1. Open Obsidian → `Settings` → `Community plugins` → `Browse`
2. Search for **PaperForge**
3. Click `Install` , then `Enable`
> Community plugins auto-update through Obsidian. No extra steps needed.
### Option B: BRAT
If you need beta versions or the plugin hasn't appeared in search yet:
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
1. Install **BRAT** from the Obsidian community plugin browser
2. Open BRAT settings → `Add Beta Plugin`
3. Enter: `https://github.com/LLLin000/PaperForge`
2026-05-14 09:56:25 +00:00
4. Enable PaperForge in Settings → Community Plugins
2026-05-09 16:30:44 +00:00
2026-05-14 09:56:25 +00:00
### Option C: Manual Download
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
1. Go to [Releases ](https://github.com/LLLin000/PaperForge/releases )
2. Download the three files: `main.js` , `manifest.json` , `styles.css`
3. Create `.obsidian/plugins/paperforge/` in your vault
4. Put the three files there
5. Restart Obsidian → Settings → Community Plugins → enable PaperForge
2026-05-09 16:30:44 +00:00
2026-05-13 17:21:52 +00:00
> Manual install does not auto-update. You'll need to re-download for each new version.
2026-04-27 17:12:58 +00:00
2026-05-09 16:30:44 +00:00
---
2026-04-27 17:17:23 +00:00
2026-05-13 17:21:52 +00:00
## 2. Install the Python Package
2026-04-27 17:17:23 +00:00
2026-05-13 17:21:52 +00:00
After enabling the plugin, open the PaperForge settings tab. You'll see a **Runtime Status** section:
2026-05-09 16:30:44 +00:00
```
2026-05-13 17:21:52 +00:00
Plugin v1.5.0 → Python Package v1.5.0 ✓ Matched
2026-05-02 06:52:59 +00:00
```
2026-04-27 17:17:23 +00:00
2026-05-13 17:21:52 +00:00
- If it says "Not installed" → click **Open Wizard** to re-run the setup process
- If it says "Mismatch" → the Python package auto-updates when the plugin updates. If it didn't succeed, click **Update Runtime** to manually trigger
2026-05-09 16:30:44 +00:00
---
2026-05-16 14:47:00 +00:00
## 3. Quickstart
2026-05-09 16:30:44 +00:00
2026-05-16 14:47:00 +00:00
```bash
# 1. Export from Zotero (Better BibTeX JSON, Keep updated) to exports/
# 2. Sync
paperforge sync
2026-05-09 16:30:44 +00:00
2026-05-16 14:47:00 +00:00
# 3. Mark a paper for OCR in its frontmatter: do_ocr: true
# 4. Run OCR
paperforge ocr
2026-04-30 03:18:52 +00:00
2026-05-16 14:47:00 +00:00
# 5. Mark for deep reading: analyze: true
# 6. In your Agent chat:
/pf-deep < zotero_key >
2026-04-30 03:18:52 +00:00
```
2026-04-27 17:12:58 +00:00
2026-05-09 16:30:44 +00:00
---
2026-04-27 16:58:30 +00:00
2026-05-16 14:47:00 +00:00
## 文档导航
2026-04-21 14:10:40 +00:00
2026-05-16 14:47:00 +00:00
| 你想做什么 | 去看 |
| ------------------------------------------ | ------------------------------ |
| 完整教程,从安装到精读 | [使用教程 ](docs/getting-started.md ) |
| 遇到问题了 | [故障排除 ](docs/troubleshooting.md ) |
| 查某个命令 | [命令参考 ](docs/COMMANDS.md ) |
| 如何升级 | [更新指南 ](docs/update-upgrade.md ) |
| 架构 / 维护 / 发布 | [架构文档 ](docs/ARCHITECTURE.md ) |
| AI Agent 协作 | [AGENTS.md ](AGENTS.md ) |
2026-04-21 14:10:40 +00:00
2026-05-09 16:30:44 +00:00
---
2026-05-01 03:37:50 +00:00
2026-05-13 17:21:52 +00:00
## License
2026-05-01 03:37:50 +00:00
2026-05-13 17:21:52 +00:00
[CC BY-NC-SA 4.0 ](https://creativecommons.org/licenses/by-nc-sa/4.0/ ). Non-commercial use only.
2026-05-01 03:37:50 +00:00
2026-05-13 17:21:52 +00:00
## Acknowledgments
2026-05-01 03:37:50 +00:00
2026-05-13 17:21:52 +00:00
Built on [PaddleOCR ](https://github.com/PaddlePaddle/PaddleOCR ), [Obsidian ](https://obsidian.md ), [Better BibTeX for Zotero ](https://retorque.re/zotero-better-bibtex/ ), and other great open-source projects.