dsh-zotero: A Zotero Library Sidebar Plugin for DeepSeek Harness
yuzh2001/dsh-zotero
A DSH plugin that integrates your Zotero library into the sidebar, offering file tree browsing, double-click citation, inline & search, and /zotero command for model reference resolution.
dsh-zotero is a Zotero library plugin for DeepSeek Harness that lets you browse, search, and cite your library directly in the right sidebar. It reads the local Zotero database without an API key, supporting lazy-loaded file tree, double-click citation, & inline search, and /zotero command, plus a model tool to resolve references. Ideal for quickly finding and citing references while writing prompts, reducing window switching.
How to Install
dsh plugin --profile web add github:yuzh2001/dsh-zotero- Category
- Data & Knowledge
- Platform
- DSH Plugin
- Author
- yuzh2001
- Distribution
- Plugin
dsh-zotero Key Features
dsh-zotero Repo Summary
What Does It Do?
dsh-zotero is a DSH plugin for DeepSeek Harness that lets you browse, search, and cite your Zotero library directly in the right sidebar. It solves the hassle of switching windows to find references while writing prompts, reading the local Zotero SQLite database without an API key. Core capabilities include a file tree, double-click citation, inline search, and a model tool to resolve references.
Core Features
- Zotero file tree: renders collection hierarchy in the sidebar with lazy loading, reading local zotero.sqlite.
- Double-click citation: injects a readable reference like 《Title》{%ZoteroItem:key%} into the input box.
- Inline search: type & to open a custom search layer, filter by title or author, and insert with arrow keys.
- Slash command: /zotero opens the same search layer with identical interaction.
- Model tool: registers resolve_zotero_ref so the model can resolve title, author, year, and abstract for a reference.
- Zotero deep link: hover a citation to jump to zotero://select/items/... locally.
How to Use This Plugin?
After enabling it in DSH, a Zotero tab appears in the right sidebar. Browse the file tree or use & or /zotero to search, then double-click or select to insert a citation. The model automatically resolves {%ZoteroItem:key%} references. If papers are not found, check the Zotero data directory; you can set the DSH_ZOTERO_DIR environment variable to point to a custom location.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yuzh2001/dsh-zotero. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
