A Zotero plugin that integrates ChatGPT functionality directly into your reference management workflow.
-
ChatGPT Query Interface:
- Directly query ChatGPT with research questions
- Stream responses in real-time
- Supports system prompts for customized behavior
-
Research Paper Tools:
- PDF Summarization: Automatically summarize attached PDFs of research papers
- BibTeX Generation: Fetch BibTeX entries from DBLP for references
- Context Integration: Auto-include paper titles/abstracts in queries
-
Translation:
- Translate text to Chinese with one click
- Customizable translation prompts
-
UI Integration:
- Right-click context menu for quick access
- Dedicated reader pane interface
- Customizable style sheets
- Keyboard shortcuts for common functions
-
Configuration:
- Set OpenAI API key and model preferences
- Customize base API URL
- Configure default behaviors
- Download the latest
.xpifile from the Releases page - In Zotero, go to Tools → Add-ons
- Click the gear icon and select "Install Add-on From File"
- Select the downloaded
.xpifile - Restart Zotero
- Clone the repository:
git clone https://github.com/kazgu/zotero-chatgpt.git cd zotero-chatgpt - Install dependencies:
npm install
- Configure environment variables by copying
.env.exampleto.envand updating the paths:cp .env.example .env
npm startThis will:
- Start the development server
- Launch Zotero with the plugin loaded from the
build/directory - Open developer tools
- Watch for changes in
src/andaddon/directories and automatically reload
npm run buildThe production build will be created in the build/ directory.
This project is licensed under the AGPL-3.0-or-later License - see the LICENSE file for details.
- Built using the Zotero Plugin Template
- Uses zotero-plugin-toolkit for plugin utilities
