Zotero Source Code

Note: If you do not plan to make any code changes yourself, and only wish to run the latest prerelease versions of Zotero, you can just install a beta build.

Licensing

Zotero code is available under the AGPLv3 license, except where the source code specifies otherwise.

Code Repositories

Zotero Code

Zotero source code is hosted on GitHub.

Third-Party Components

Issue Tracking

We don't use GitHub Issues for bug reports or feature requests regarding the Zotero client or website. Please post all such requests to the Zotero Forums, where Zotero developers and many others can help. Keeping product discussions in the Zotero Forums allows the entire Zotero community to participate, including domain experts that can address many questions better than Zotero developers. See How Zotero Support Works for more information.

For confirmed bugs or agreed-upon changes, Zotero developers will create new issues in the relevant repositories.

Working with the Zotero Source Code

Zotero

Zotero Connector

To run a Git build of the Google Chrome Connector, you need to:

  • git clone --recursive https://github.com/zotero/zotero-connectors/
  • cd zotero-connectors
  • npm i
  • ./build -d && gulp
  • Run Zotero and Chrome
  • Load the Connector extension in Chrome
    1. Browse to chrome://extensions/
    2. Expand the “Developer mode” bar
    3. Click the button “Load unpacked extension…”, and give the path to the build/browserExt directory within the local repository

You should now see a Zotero icon in the address bar when visiting translatable webpages (e.g., this article or this book), and clicking the icon should add the item to your Zotero library.

After making changes, click Reload for the Connector entry in the Chrome Extensions pane and reload any open pages where you want to use the Connector. (If gulp isn't running, you'll need to run ./build -d after each change.)

See the Zotero Connector GitHub repo for more details.

Contributing patches

The preferred way to contribute code is to fork the relevant Git repository, commit your changes, and submit a pull request on GitHub.

See Client Coding for more information on coding for Zotero.