8000 GitHub - kazgu/zotero-chatgpt: ChatGPT plugin for Zotero
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kazgu/zotero-chatgpt

Repository files navigation

Zotero ChatGPT Plugin

Zotero target version License: AGPL-3.0-or-later

A Zotero plugin that integrates ChatGPT functionality directly into your reference management workflow.

overvieww

## Features
  • 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

Installation

  1. Download the latest .xpi file from the Releases page
  2. In Zotero, go to Tools → Add-ons
  3. Click the gear icon and select "Install Add-on From File"
  4. Select the downloaded .xpi file
  5. Restart Zotero

Development

Prerequisites

Setup

  1. Clone the repository:
    git clone https://github.com/kazgu/zotero-chatgpt.git
    cd zotero-chatgpt
  2. Install dependencies:
    npm install
  3. Configure environment variables by copying .env.example to .env and updating the paths:
    cp .env.example .env

Running in Development Mode

npm start

This will:

  • Start the development server
  • Launch Zotero with the plugin loaded from the build/ directory
  • Open developer tools
  • Watch for changes in src/ and addon/ directories and automatically reload

Building for Production

npm run build

The production build will be created in the build/ directory.

License

This project is licensed under the AGPL-3.0-or-later License - see the LICENSE file for details.

Acknowledgments

0