Go to file
2025-03-31 11:30:25 +08:00
.github/workflows fix for plugins in z6 2024-10-12 08:15:15 +08:00
addons Create Rphone#zotero-tab-enhance.json 2025-03-31 11:30:25 +08:00
.gitignore parse id from xpi 2023-11-11 13:30:15 +08:00
addon_info.py set check version to 7.* 2025-01-03 15:50:56 +08:00
convert_addon_from_zchinese.py update plugins from zchinese 2024-03-08 16:24:45 +08:00
fallback_infos.py update json infos 2024-03-07 20:37:51 +08:00
file_cache.py improve codes 2024-04-12 21:11:38 +08:00
github_operations.py check duplicate issue before report 2024-04-19 09:44:35 +08:00
LICENSE init 2023-10-19 21:35:29 +08:00
main.py replace ghproxy link 2025-03-16 18:13:27 +08:00
moz_addons.py fetch xpi from xpi's update json 2024-12-26 21:09:14 +08:00
README.md rm deploy key in readme 2024-04-12 21:21:09 +08:00
requirements.txt support jsonc 2024-02-20 19:55:04 +08:00

Zotero Addons Scraper

GitHub Build Status GitHub Last Commit Time jsdelivr hits

This is a script repository for scraping Zotero add-ons, intended for use with Zotero Addons.

Switch to addon-scraper source in Zotero Addons to use this repository.

Workflows

This repository utilizes GitHub Actions workflow for automation. including the following steps:

  • Retrieve Zotero add-on information specified in addons folder
  • Parse add-on information into JSON data
  • Publish the JSON data to the publish branch and the latest release

Contributing

Adding a new add-on entry {owner}#{repo}.json in the addons folder.
e.g.,

{
  "repo": "syt2/zotero-addons",
  "releases": [
    {   
      "targetZoteroVersion": "7",
      "tagName": "latest"
    },
    {
      "targetZoteroVersion": "6", 
      "tagName": "0.6.0-6"
    }
  ]
}
  • repo(required):
    GitHub repository of the plugin.
  • releases(required):
    XPI releases information of the Add-on.
    Provide at least one valid release information.
  • targetZoteroVersion(required):
    Zotero compatibility version for the add-on. Supports "6" or "7".
  • tagName(required): The release tag name in the GitHub repository.
    Supports "latest", "pre" or a specified tag name.
    If "latest" is used, script will automatically retrieve the latest release tag. If "pre" is used, script will automatically retrieve the latest pre-release tag.

Usage

  1. fork this repository
  2. Enable actions and scheduled workflow in Actions page of forked repository

Generated Format

The output format for add-on information follows the format specified in zotero-chinese/zotero-plugins.