ciceroyang/dsh-topic-audit ↗★ 0
dsh-topic-audit
审计GitHub上的dsh-plugin主题仓库真实性 适合需要清理和筛选真实DSH插件生态、排除污染仓库的维护者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 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.