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 development build.
Zotero code is available under the AGPLv3 license, except where the source code specifies otherwise.
Zotero source code is hosted on GitHub.
Branches and Tags
Zotero's Git repositories often have multiple branches for different lines of development. The default branch,
master, is the main development branch where development is most active and where most new features are first introduced. Because of this,
master code may be less stable and may be riskier for production use. Once a major version has been out for a while, a branch is created, and that branch then receives mostly bug fixes and small changes. When a release is made (e.g., Zotero 5.0.30), a snapshot of the relevant code is tagged with its version number. See Git documentation for more information on working with branches and tags.
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.
For confirmed bugs or agreed-upon changes, Zotero developers will create new issues in the relevant repositories.
Zotero developers previously used Trac as a source code browser and internal issue tracker, and very old tickets are still archived there.
Working with the Zotero Source Code
Zotero Connector for Chrome
To run a Git build of the Google Chrome Connector, you need to:
git clone --recursive https://github.com/zotero/zotero-connectors/
./build -d && gulp
- Run Zotero and Chrome
- Load the Connector extension in Chrome
- Browse to chrome://extensions/
- Expand the “Developer mode” bar
- Click the button “Load unpacked extension…”, and give the path to the
build/browserExtdirectory within the local repository
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.)