ciceroyang/dsh-topic-audit ↗★ 0

dsh-topic-audit

审计GitHub上的dsh-plugin主题仓库真实性 适合需要清理和筛选真实DSH插件生态、排除污染仓库的维护者。

套件
dsh-topic-audit
相容性
待驗證
版本
0.4.0
授權
MIT
最近更新
2026年9月15日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Usage

No install, no dependencies — clone and run:

git clone https://github.com/ciceroyang/dsh-topic-audit
cd dsh-topic-audit

node topic-audit.mjs                              # human-readable report
node topic-audit.mjs --json --out audit.json      # machine-readable, for a nightly job or a directory ingester
node topic-audit.mjs --strict                     # exit 1 when the topic contains a not-a-plugin
node topic-audit.mjs --full --json --out audit.json   # walk the long tail

An npm package is not published yet (publishing needs credentials this project does not have), so npx dsh-topic-audit does not resolve today. The npm name is free; if you want to publish it yourself, npm publish works from the clone as-is.

Set GITHUB_TOKEN (or GH_TOKEN) to lift the unauthenticated search rate limit. The per-repo checks use raw.githubusercontent.com, which is not part of the API rate limit.