ImperialSquid / zotero-zotts

A Zotero plugin adding text to speech (TTS) functionality to various screens
GNU Affero General Public License v3.0
86 stars 1 forks source link

ZoTTS

ZoTTS is a Zotero plugin to add TTS functionality

Zotero target version 7 Using Zotero Plugin Template

Install :rocket:

The latest stable version is available here The full version list, including any prerelease versions is here

  1. Download the .xpi file from the latest release
    • If you're using firefox, right click and select "Save as..."
  2. In Zotero, go to Tools > Plugins
  3. Click the gear icon in the top right
  4. Select Install Add-on From File...
  5. Browse to the downloaded .xpi file and select it

The plugin should load straight away, and future updates will be downloaded automatically!

[!NOTE] ZoTTS might fail to init the TTS engine for Linux users who use Zotero in sandboxed environments (flatpak/snap/etc) due to a long-standing non-trivial bug, a workaround might be possible but you might find it easier to use a non-sandboxed Zotero if you can, feel free to open a bug report for further assistance

Features :sparkles:

Shortcuts

In the Library tab, by default Ctrl/Cmd + S will speak a paper's title, Ctrl/Cmd + Shift + S will speak its abstract.

In Reader tabs, Ctrl/Cmd (+ Shift) + S will speak the full text of a paper. If you have any text selected within the document, it will read that instead. If no text is selected but some annotations are selected Ctrl/Cmd + S will speak their annotated text, Ctrl/Cmd + Shift + S will speak the attached comment if there is one.

You can swap the behaviour of Ctrl/Cmd + S and Ctrl/Cmd + Shift + S in the preferences.

UI Elements

In the Library tab, right clicking an item will bring up a context menu, you can tell ZoTTS to speak the title or abstract from here.

In Reader tabs there's also buttons for playing/pausing/cancelling in the top right. These will act the same as using the speak/pause/cancel shortcuts in terms of speaking selected text/annotations, however, when speaking annotations it will default to speaking the annotated text.

On each annotation there are also buttons to speak the annotated text, and the comment if one exists.

Preferences

In the preferences you can:

Contributing :wrench:

Refer to the contribution guide for details on setting up your environment and places to start!