Bachery / zotero-gpt

GPT Meets Zotero.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zotero GPT

This plugin is for users with some basic programming skills

Share the tag command you made in here

Using Zotero Plugin Template Latest release Release Date License Downloads latest release


Development preview

Chat with PDF you are reading.

image

Quick Start

Use Shift + / to call this plug-in,select the text in a PDF file and then pressShift + Tab + / to enter the prompt input. Use Esc to exit.

API-key:

image

Command labels

The plug-in design concept is to configure command tabs according to different application scenarios, and directly click on the tabs to complete the interaction with GPT.

Type #label_name[color=#eee][position=1] and Enter to edit a lable. Save with Ctrl + S. Save and Run with Ctrl + R.

color can be abbreviated to c, position can be reviated to pos and the values can be quoted.

For example, #test[c=#eee][pos=9] is a legit input.

Of course color and position are optional parameters and will have default values if not entered.

In the next step, you can declare an executable code fragment for the current environment like this:

image

It will be executed and the returned result will replace the code snippet here.

You can command GPT to output a code fragment and the plugin can execute it.

Click the left mouse button and hold to enter the edit mode of a label.

Hold with the right mouse button is to delete the label.

Single click on a label is to execute it.

You can click and hold on each label after installing the plugin to see the internal statements of the sample tags, and I'm sure you'll be up and running writing a new one in no time.

Demonstration

image

image

Support the project

Here

About

GPT Meets Zotero.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 91.5%Language:JavaScript 7.2%Language:HTML 1.3%Language:CSS 0.1%Language:Python 0.0%