Skip to content
Projets

À propos

【Maintenance suspendue | Mises à jour temporairement suspendues】Collection de plugins Zotero | Collection de plugins Zotero | Awesome Zotero Plugins

Apprentissage et éducation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Zotero Plugins Collection

This repository maintains a local Zotero plugin catalog and independently collects repository metadata and XPI compatibility information. Visit Zotero Chinese. 中文说明.

New plugins and plugin updates

We are accepting new plugin submissions and updates to existing plugin information again. Contributions are welcome through an issue or pull request.

Submission guide and listing badge instructions

  • For a new plugin, include the repository URL, a brief description, a release/download link and the supported Zotero versions. For a pull request, add an entry to src/plugins.ts in repository-name order, with repo, tags, releases and discoverReleases: true. An empty releases array enables discovery of the latest stable release.
  • Plugin updates: describe the correction, such as a repository transfer, category, download URL or historical compatibility range, and include supporting links.

The collector checks the latest stable release, so ordinary version releases generally require no manual catalog edit. Historical release selectors still need maintenance for older Zotero versions. Reviewed submissions enter the local catalog after merging; store availability depends on publication builds and the website's configured data source.

Listed badge

Once your plugin appears in the Zotero Chinese plugin store, you can add this badge near the top of its README. The badge links to the plugin store.

Listed in Zotero Chinese

[![Listed in Zotero Chinese](https://zotero-chinese.com/badges/listed.svg)](https://zotero-chinese.com/plugins/)

Collector rollout

The default shadow build runs our collector and compares its candidate data with the external scraper. Published plugins.json continues to use external data during validation, enriched with locally maintained Chinese names, summaries and search terms. Existing upstream entries retain their versions, compatibility and download URLs. Reviewed local sources marked publishInShadow: true supplement plugins not yet listed upstream, using the collector’s XPI-derived data. A missing required local result stops publication; unrelated collector failures do not block shadow mode. Gitee file dates come from their latest file commits; a failed date lookup stops publication. Chart collection remains disabled; published charts are preserved.

  1. Merge the changes and inspect comparison.json and collector/fetch-report.json in the Actions artifact.
  2. Check repository coverage, historical releases, compatibility ranges and download URLs. Fetch failures, missing releases and version regressions block promotion.
  3. Run CI manually with collector-mode: primary to publish independently collected data. Set the repository variable COLLECTOR_MODE=primary after validation to retain this mode for scheduled builds. Revert it to shadow to publish external data again.
  4. The website reads this repository’s published plugin data and update timestamps through .github/scripts/fetch-data.mjs. Successful publication triggers a website rebuild.

Unreleased sources absent from the external output are marked pending and do not block promotion. The collector does not create issues or comments. Incomplete candidates remain available for inspection and cannot replace the published catalog in primary mode.

Source reconciliation

On 2026-10-05 the local catalog was reconciled with upstream's addons directory: 337 unique repositories, compared with 336 published plugins. See the reconciliation report for additions, duplicates and the unpublished source entry.

src/plugins.ts contains active plugins; src/deprecated.ts retains legacy plugins. Historical release selectors are combined with the newest stable release from the most recent release page. XPI manifests determine compatible Zotero versions (6–11). assetName selects an attachment, customLink supports external download sources, and tags / recommended preserve upstream metadata.

Optional nameZh, summaryZh and keywords fields hold an established Chinese name, a short Chinese purpose statement and search terms. Maintain them in the source catalog; upstream sync preserves them, and both collector and shadow output include them. Omit nameZh when the plugin has no established Chinese name. Repository aliases remain separate and only identify previous repository names. Set publishInShadow: true after reviewing a local plugin’s release and compatibility to publish it before upstream lists it; upstream sync preserves this flag and shadow publication avoids duplicate repositories and aliases.

Development

Use the pnpm version in package.json and supply GITHUB_TOKEN through the environment.

pnpm install --frozen-lockfile
pnpm typecheck
pnpm lint:check
pnpm test
COLLECTOR_MODE=shadow pnpm build
pnpm data:compare dist/external-plugins.json dist/collector/plugins.json
pnpm data:sync-source /path/to/scraper-checkout /path/to/addon_infos.json
pnpm lint:fix

Use COLLECTOR_REPOS=owner/repo,owner/other and COLLECTOR_DIST=dist/sample with pnpm data:info for a small sample. Review the diff after importing upstream data; local-only repositories are preserved.

XPI files are cached in .cache/xpi by asset ID and update time. Custom URLs are refreshed each run. Candidate data is written to dist/collector; published JSON is written to dist and the legacy dist/dist paths.

Scheduled upstream source sync

.github/workflows/sync-source.yml runs daily at 05:45 Asia/Shanghai and supports manual dispatch. It merges syt2's source catalog and latest published snapshot, then creates or updates a PR on automation/sync-syt2-sources when the catalog changes. Review and merge the PR to update the collector's sources.

The merge retains local-only plugins, repository aliases, historical selectors, verified compatibility corrections and the active/legacy split. New unpublished sources remain pending. Typecheck, tests and lint run before PR creation; artifacts record the source commit, release metadata and merge report.

PR creation uses ACCESS_TOKEN when available, falling back to GITHUB_TOKEN. The fallback requires the repository setting allowing Actions to create PRs and does not trigger ordinary PR workflows. The sync job performs validation itself. PRs are not automatically merged, and upstream code is not executed.

License

MIT. Thanks to Zotero, plugin authors and the external scraper maintainers.

Explorer des projets similaires

Chargement…