公开记录
软件健康报告模式 0.31.0 · 指标 2.10.0 · 2026-08-19 06:46 UTC

james-see / swatchify

Extract dominant colors from images using k-means clustering

Go · TypeScript · HTMLMIT★ 72 星标⑂ 0 复刻始于 2025年11月在 GitHub 上查看 ↗
类型命令行工具如何判定

james-see/swatchify 的健康指数为 100 分中的 50 分,处于「中等」区间。 其得分最高的类别是Engineering Quality(69/100),最低的是Security(32/100)。 最近一次更新在 26 天前。 近期的大部分工作由 1 位贡献者完成。

50
总分 / 100
中等

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

50
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 50 经校准后在公布的指数量表上为 50(记录校准 2026-08-02)。

所有权

JC个人账户
149 关注者173 个公开仓库始于 2011年2月

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
Gogithub.com/james-see/swatchifyv0.4.0-427 天前
npmswatchme0.1.0311225 天前colorpaletteextractdominantkmeansimageswatchbrowser

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

58中等 · 占总体的 21%
评分方式
28.8/36推送新近度最近一次推送于 26 天前
2.1/36提交节奏52 周中有 3 周有提交
11.1/18提交量最近一年 16 次提交
0/10OpenSSF Scorecard:Maintained1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year16
human_commit_share
days_since_last_push26
active_weeks_last_year3

发布纪律

83优秀
评分方式
27/27有发布版本已发布 4 个发布版本
36/36发布时效最近一次发布版本于 26 天前
19.8/27发布节奏约每 79.1 天发布一次
0/10OpenSSF Scorecard:Signed-ReleasesProject has not signed or included provenance with any releases.
所用输入
releases_count4
latest_release_tagv0.4.0
releases_from_tags
days_since_latest_release26
mean_days_between_releases79.1

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

36薄弱 · 占总体的 17%

流行度与采用

30存在风险
评分方式
30/60星标72 个星标
0/25复刻0 个复刻
0/15关注者0 位关注者
所用输入
forks0
stars72
watchers0
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges0
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
20.1/80月度下载量go, npm 合计每月 31 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesgithub.com/james-see/swatchify, swatchme
dependents
ecosystemsgo, npm
total_downloads
monthly_downloads31
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

48薄弱 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
0/22.5提交分布头号贡献者编写了 100% 的提交
1.4/13.5贡献者广度1 位贡献者
0/10OpenSSF Scorecard:Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
所用输入
bus_factor1
contributors_sampled1
top_contributor_share1
评分方式
0/42议题解决0% 的议题已关闭
30/30PR 接受已裁定的 PR 中 1/1 已合并
13/13Newcomer PR acceptance30 天内首次贡献者的 PR 已合并 1/1
0/15OpenSSF Scorecard:Code-ReviewFound 0/16 approved changesets -- score normalized to 0
所用输入
merged_prs1
open_issues1
closed_issues0
prs_merged_7d0
prs_decided_7d0
prs_merged_30d1
prs_decided_30d1
issue_closed_ratio0
closed_unmerged_prs0
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
评分方式
10/30所有权背书个人(用户)账户
0/20已验证域名不适用于个人账户
15.6/25所有者影响力james-see 有 149 位关注者
25/25既往记录173 个公开仓库,账户约 15 年
所用输入
followers149
owner_typeUser
is_verified
owner_loginjames-see
public_repos173
account_age_days5,665
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析go, npm 上有 2 个软件包
35/35发布时效最近一次发布于 27 天前
12/20版本历史4 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesgithub.com/james-see/swatchify, swatchme
ecosystemsgo, npm
any_deprecated
min_days_since_publish27

工程质量

基础的工程与文档实践是否到位?

69良好 · 占总体的 19%

工程实践

48薄弱
评分方式
24/24CI 工作流2 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests0 out of 1 merged PRs checked by a CI test -- score normalized to 0
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

100卓越
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点https://james-see.github.io/swatchify/
10/10仓库描述
10/10主题标签5 个主题标签
10/10Wiki
所用输入
topicscli, color-palette, color-schemes, colors, image-analysis
has_wiki
homepagehttps://james-see.github.io/swatchify/
docs_sitehttps://james-see.github.io/swatchify/
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

32存在风险 · 占总体的 16%

安全态势

24存在风险
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Tests0 out of 1 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/16 approved changesets -- score normalized to 0
0/2.5Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
0/7.5Maintained1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-ReleasesProject has not signed or included provenance with any releases.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities37 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate2.4
评分方式
13.7/35直接依赖不含已知公告2 个受影响:golang.org/x/image v0.14.0 (high 7.5), github.com/disintegration/imaging v1.6.2 (low)
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
33/40没有长期未处理的公告2 个携带公告的软件包超过 90 天未处理;最早一条发布于 1,079 天前
所用输入
sourceosv
advisories45
affected_packages16
assessed_packages165
unassessed_packages0
affected_by_severitycritical 1, high 10, moderate 3, low 1, unknown 1
direct_affected_packages2
已排除计分(无数据或不适用):间接依赖不含已知公告。 其余权重已重新归一化。 已将 165 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

58中等 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
12.6/18一条命令的引导启动go.mod(工具链约定,无任务运行器)
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查js/tsconfig.json
10/10可复现环境lockfile
0/10已体现的代理实践无数据
0/8自动化维护无数据
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesgo.sum, package-lock.json
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configsjs/tsconfig.json
agent_commit_share
toolchain_manifestsgo.mod
dependency_bot_commit_share
已排除计分(无数据或不适用):已体现的代理实践, 自动化维护。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码Go(静态类型)
55/55可控的文件大小采样的 20 个源文件中有 0 个超过 60KB
所用输入
primary_languageGo
largest_source_bytes6,807
source_files_sampled20
oversized_source_files0
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)不适用于此类软件
0/20MCP 服务器不适用于此类软件
40/40可运行示例example, examples
所用输入
example_dirsexample, examples
has_mcp_signal
api_schema_files
interfaces_expected_of
已排除计分(无数据或不适用):API 模式(OpenAPI/GraphQL/proto), MCP 服务器。 其余权重已重新归一化。

关键数据

72GitHub 星标
1贡献者
16最近 12 个月提交数
26距最近推送天数
4发布版本数
1巴士系数(bus factor)
1开放议题
Go, npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

OpenSSF Scorecard 2.4 / 10
2.4综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-19 06:46 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests0 out of 1 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/16 approved changesets -- score normalized to 0
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities37 existing vulnerabilities detected
直接依赖 3
注册表软件包版本约束清单文件
Gogithub.com/disintegration/imagingv1.6.2go.mod
Gogithub.com/spf13/cobrav1.8.0go.mod
Gogolang.org/x/imagev0.14.0go.mod
全部依赖 165

来自 GitHub 依赖图的完整解析依赖集合:3 个直接依赖与 162 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
Gogithub.com/disintegration/imagingv1.6.2直接
Gogithub.com/spf13/cobrav1.8.0直接
Gogolang.org/x/imagev0.14.0直接
Gogithub.com/google/jsonschema-gov0.4.3间接
Gogithub.com/inconshreveable/mousetrapv1.1.0间接
Gogithub.com/modelcontextprotocol/go-sdkv1.6.1间接
Gogithub.com/segmentio/asmv1.1.3间接
Gogithub.com/segmentio/encodingv0.5.4间接
Gogithub.com/spf13/pflagv1.0.5间接
Gogithub.com/yosida95/uritemplate/v3v3.0.2间接
Gogolang.org/x/oauth2v0.35.0间接
Gogolang.org/x/sysv0.41.0间接
npm@babel/helper-string-parser7.27.1间接
npm@babel/helper-validator-identifier7.28.5间接
npm@babel/parser7.28.5间接
npm@babel/types7.28.5间接
npm@esbuild/aix-ppc640.25.12间接
npm@esbuild/android-arm0.25.12间接
npm@esbuild/android-arm640.25.12间接
npm@esbuild/android-x640.25.12间接
npm@esbuild/darwin-arm640.25.12间接
npm@esbuild/darwin-x640.25.12间接
npm@esbuild/freebsd-arm640.25.12间接
npm@esbuild/freebsd-x640.25.12间接
npm@esbuild/linux-arm0.25.12间接
npm@esbuild/linux-arm640.25.12间接
npm@esbuild/linux-ia320.25.12间接
npm@esbuild/linux-loong640.25.12间接
npm@esbuild/linux-mips64el0.25.12间接
npm@esbuild/linux-ppc640.25.12间接
npm@esbuild/linux-riscv640.25.12间接
npm@esbuild/linux-s390x0.25.12间接
npm@esbuild/linux-x640.25.12间接
npm@esbuild/netbsd-arm640.25.12间接
npm@esbuild/netbsd-x640.25.12间接
npm@esbuild/openbsd-arm640.25.12间接
npm@esbuild/openbsd-x640.25.12间接
npm@esbuild/openharmony-arm640.25.12间接
npm@esbuild/sunos-x640.25.12间接
npm@esbuild/win32-arm640.25.12间接
npm@esbuild/win32-ia320.25.12间接
npm@esbuild/win32-x640.25.12间接
npm@isaacs/balanced-match4.0.1间接
npm@isaacs/brace-expansion5.0.0间接
npm@jridgewell/sourcemap-codec1.5.5间接
npm@microsoft/api-extractor7.55.2间接
npm@microsoft/api-extractor-model7.32.2间接
npm@microsoft/tsdoc0.16.0间接
npm@microsoft/tsdoc-config0.18.0间接
npm@rollup/pluginutils5.3.0间接
npm@rollup/rollup-android-arm-eabi4.55.1间接
npm@rollup/rollup-android-arm644.55.1间接
npm@rollup/rollup-darwin-arm644.55.1间接
npm@rollup/rollup-darwin-x644.55.1间接
npm@rollup/rollup-freebsd-arm644.55.1间接
npm@rollup/rollup-freebsd-x644.55.1间接
npm@rollup/rollup-linux-arm-gnueabihf4.55.1间接
npm@rollup/rollup-linux-arm-musleabihf4.55.1间接
npm@rollup/rollup-linux-arm64-gnu4.55.1间接
npm@rollup/rollup-linux-arm64-musl4.55.1间接
npm@rollup/rollup-linux-loong64-gnu4.55.1间接
npm@rollup/rollup-linux-loong64-musl4.55.1间接
npm@rollup/rollup-linux-ppc64-gnu4.55.1间接
npm@rollup/rollup-linux-ppc64-musl4.55.1间接
npm@rollup/rollup-linux-riscv64-gnu4.55.1间接
npm@rollup/rollup-linux-riscv64-musl4.55.1间接
npm@rollup/rollup-linux-s390x-gnu4.55.1间接
npm@rollup/rollup-linux-x64-gnu4.55.1间接
npm@rollup/rollup-linux-x64-musl4.55.1间接
npm@rollup/rollup-openbsd-x644.55.1间接
npm@rollup/rollup-openharmony-arm644.55.1间接
npm@rollup/rollup-win32-arm64-msvc4.55.1间接
npm@rollup/rollup-win32-ia32-msvc4.55.1间接
npm@rollup/rollup-win32-x64-gnu4.55.1间接
npm@rollup/rollup-win32-x64-msvc4.55.1间接
npm@rushstack/node-core-library5.19.1间接
npm@rushstack/problem-matcher0.1.1间接
npm@rushstack/rig-package0.6.0间接
npm@rushstack/terminal0.19.5间接
npm@rushstack/ts-command-line5.1.5间接
npm@types/argparse1.0.38间接
npm@types/estree1.0.8间接
npm@volar/language-core2.4.27间接
npm@volar/source-map2.4.27间接
npm@volar/typescript2.4.27间接
npm@vue/compiler-core3.5.26间接
npm@vue/compiler-dom3.5.26间接
npm@vue/compiler-vue22.7.16间接
npm@vue/language-core2.2.0间接
npm@vue/shared3.5.26间接
npmacorn8.15.0间接
npmajv8.12.0间接
npmajv8.13.0间接
npmajv-draft-041.0.0间接
npmajv-formats3.0.1间接
npmalien-signals0.4.14间接
npmargparse1.0.10间接
npmbalanced-match1.0.2间接
npmbrace-expansion2.0.2间接
npmcompare-versions6.1.1间接
npmconfbox0.1.8间接
npmconfbox0.2.2间接
npmde-indent1.0.2间接
npmdebug4.4.3间接
npmdiff8.0.2间接
npmentities7.0.0间接
npmesbuild0.25.12间接
npmestree-walker2.0.2间接
npmexsolve1.0.8间接
npmfast-deep-equal3.1.3间接
npmfdir6.5.0间接
npmfs-extra11.3.3间接
npmfsevents2.3.3间接
npmfunction-bind1.1.2间接
npmgraceful-fs4.2.11间接
npmhas-flag4.0.0间接
npmhasown2.0.2间接
npmhe1.2.0间接
npmimport-lazy4.0.0间接
npmis-core-module2.16.1间接
npmjju1.4.0间接
npmjson-schema-traverse1.0.0间接
npmjsonfile6.2.0间接
npmkolorist1.8.0间接
npmlocal-pkg1.1.2间接
npmlodash4.17.21间接
npmlru-cache6.0.0间接
npmmagic-string0.30.21间接
npmminimatch10.0.3间接
npmminimatch9.0.5间接
npmmlly1.8.0间接
npmms2.1.3间接
npmmuggle-string0.4.1间接
npmnanoid3.3.11间接
npmpath-browserify1.0.1间接
npmpath-parse1.0.7间接
npmpathe2.0.3间接
npmpicocolors1.1.1间接
npmpicomatch4.0.3间接
npmpkg-types1.3.1间接
npmpkg-types2.3.0间接
npmpostcss8.5.6间接
npmpunycode2.3.1间接
npmquansync0.2.11间接
npmrequire-from-string2.0.2间接
npmresolve1.22.11间接
npmrollup4.55.1间接
npmsemver7.5.4间接
npmsource-map0.6.1间接
npmsource-map-js1.2.1间接
npmsprintf-js1.0.3间接
npmstring-argv0.3.2间接
npmstrip-json-comments3.1.1间接
npmsupports-color8.1.1间接
npmsupports-preserve-symlinks-flag1.0.0间接
npmtinyglobby0.2.15间接
npmtypescript5.8.2间接
npmtypescript5.9.3间接
npmufo1.6.1间接
npmuniversalify2.0.1间接
npmuri-js4.4.1间接
npmvite6.4.1间接
npmvite-plugin-dts4.5.4间接
npmvscode-uri3.1.0间接
npmyallist4.0.0间接
依赖安全公告 16

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 165 个包,其中也包含从不交付的开发与测试版本固定:16 个存在已知公告,2 个为直接依赖。

软件包版本关系严重程度公告数修复版本
rollup4.55.1间接严重14.59.0
golang.org/x/imagev0.14.0直接130.45.0
@isaacs/brace-expansion5.0.0间接15.0.1
brace-expansion2.0.2间接45.0.9
lodash4.17.21间接34.18.0
minimatch10.0.3间接310.2.3
minimatch9.0.5间接310.2.3
nanoid3.3.11间接25.1.16
picomatch4.0.3间接24.0.4
postcss8.5.6间接48.5.23
vite6.4.1间接48.0.16
ajv8.12.0间接18.18.0
ajv8.13.0间接18.18.0
diff8.0.2间接18.0.3
github.com/disintegration/imagingv1.6.2直接1
golang.org/x/sysv0.41.0间接未知10.44.0

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.31.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计Go, npm.