• Stars
    star
    4,813
  • Rank 8,748 (Top 0.2 %)
  • Language
    TypeScript
  • License
    GNU Affero Genera...
  • Created over 1 year ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GPT Meet Zotero.

Awesome GPT

👋

Welcome to share your command tag here using Meet API.

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


🚀 Main Features

Features about GPT:

  • 🔗 Integrate with Zotero: You can use the plugin to search and ask items in the library based on the selected text or the PDF file.
  • 🧠 Use GPT to generate reply text: support gpt-3.5-turbo and gpt-4
  • 🏷️ Command tags: Click once to accelerate your research.
    • 💬 Ask questions about current PDF file (full-text or selected text).
    • 💬 Ask questions about selected paper (Abstract).
    • 📝 Summarize the selected paper into several highly condensed sentences.
    • 🔍 Search items in the library based on the selected text.
    • ... ...
  • ⚙️ Advanced settings for GPT: You can set the api key, model name, api url, temperature.
  • 📚 Integrate with Better Notes: You can directly open this plugin when using Better Notes.

Features about UI:

  • 🎨 Real-time markdown rendering for reply text: Latex and mathjax are supported.
  • 🔍 Zoom in and out of the reply text or the size of the plugin window.
  • 🖱️ Move the plugin window to any position on the screen.
  • 📋 Copy the reply text to the clipboard.
  • ⚠️ Detailed error message will be displayed when the request fails.
  • 🔧 Compatible with Zotero 6 and Zotero 7.
  • 🎉 Discover more exciting features that are not listed here.

How to use

  • Get .xpi file
    • download latest release .xpi file
    • or build this project [1] to generate a .xpi file
  • Install .xpi file in Zotero [2]
  • Open Zotero GPT [3]
  • Set your OpenAI secret key [4]

[1] Build the project

Here is an example on how to build this project. For more information on how to build, please visit this project: https://github.com/windingwind/zotero-plugin-template

git clone https://github.com/MuiseDestiny/zotero-gpt.git
cd zotero-gpt
npm install
npm run build

The generated .xpi file in the build directory is the extension that you can install in Zotero.

[2] Install the extension in Zotero

Open Zotero. In the top menu bar, click on Tools > Add-ons. Click on the gear icon at the top right of the window. Click on Install Add-on From File and open the generated .xpi file in the build directory from the previous step.

[3] Open/Exit Zotero GPT

Action Shortcut
Open
Exit ESC
Multi-line editing Shift + Enter

[4] Set up the API key

image

Hi, Command Tag.

👻 Follow the steps below, and you will gain a new understanding of command tags.

Step Description Supplementary Information
1 Open Zotero GPT Refer to [3] Open/Exit Zotero GPT
2 Type #Tag Name and press Enter image
3 Input your prompt or code image
4 Run your tag Press Ctrl + R
5 Save your tag Press Ctrl + S
6 Long press a command tag to access the editing interface image
7 Modify the tag's color, position, or trigger; remember to save with Ctrl + S image
8 Press ESC to exit the editing interface Remember to save your changes with Ctrl + S before exiting
9 Long press the right mouse button to delete a tag Note: Build-in tags do not support deletion

How to run a command tag

Trigger is an attribute of a command tag, as are color and position. Long press any label to view/modify its trigger word. It supports both plain text and JS regular expressions.

How to run a command tag

image

How to write a code block

You can find some build-in APIs here.

A simple example:

Summarize the following paragraph for me:

${Meet.Zotero.getPDFSelection()}

Here, the Summarize the following paragraph for me: represents plain text, while ${your code} denotes a code snippet. Undoubtedly, if you are familiar with Zotero APIs, you can develop your own code. The code snippet will be executed, and the text returned by the code snippet will replace the code snippet. Finally, the replaced text will be input to GPT. So, theoretically, you can accomplish all interactions between Zotero and GPT using command tags.

How to navigate historical chats

Press the up (↑) and down (↓) keys on the keyboard to navigate.

image

Support the project

Here

More Repositories

1

zotero-style

Ethereal Style for Zotero
JavaScript
3,370
star
2

zotero-reference

PDF references add-on for Zotero.
JavaScript
1,963
star
3

zotero-citation

Make Zotero's citation in Word easier and clearer.
TypeScript
760
star
4

zotero-attanger

Attachment Manager for Zotero
TypeScript
532
star
5

zotero-figure

一个基于 PDFFigure2 的 PDF 图表解析插件
JavaScript
400
star
6

zotero-file

Zotero 7 Meet ZotFile: Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items.
Java
254
star
7

zotero-connected-papers

Zotero Connected Papers
131
star
8

zotero-gpt-helper

配合Zotero GPT插件实现向PDF提问
Python
60
star
9

Beauty

从中央天气网获取七天天气数据http://www.weather.com.cn/ 搜索框联想功能,根据输入联想位置名称和城市代码 窗体呈现,每一个卡片在hover时有三个动画,上升一定高度,阴影渐变出现,offset渐变增加,卡片上方按钮渐变出现
Python
21
star
10

TaylorDiagram

绘制泰勒图,比其它库相比,可以指定绘制的ax,可调参数更灵活,需要手动添加legend,不裁剪参考点,多么的大都可以显示
Python
9
star
11

zotero-style-old

Zotero Style
JavaScript
7
star
12

MuiseDestiny.github.io

HTML
7
star
13

anjuke

从安居客爬取数据,包含经纬度信息用于地学分析,部分不包含则调用百度地图api获取
Python
6
star
14

PerformanceDiagram

可以更改xy轴范围
Python
5
star
15

zotero-GPT

GPT Meets Zotero.
TypeScript
3
star
16

share

代码分享
Python
3
star
17

getColorbarFromImage

Jupyter Notebook
3
star
18

Library

图书馆抢座位
Python
2
star
19

sciDownload

2
star
20

MuiseDestiny

Config files for my GitHub profile.
1
star