feat(expand): P0-P3 素材扩库批次(发现器 + Google Fonts + Poly Haven + Noto Emoji 3D)

- P0: scripts/discover-sources.js 四通道候选发现,产出 candidates.json / registry.json

- P1: build-posters 新增 fontsource 适配器,接入 Google Fonts 2766 个 woff2

- P2: 新增 polyhaven 适配器,接入 Poly Haven CC0 纹理 238 张

- P3: build-icons 新增 gh-raster listPath(Git Tree 逐级下钻),接入 Noto Emoji 3D 3797 个 PNG

- 修复: GitHub Contents API 不支持目录分页导致重复/截断,改为 Git Tree 下钻并按路径去重;audit-files.json 同步重建

- 判定 noto-emoji-2d / twemoji-png 与既有 Iconify 源同图重复,不予收录

- 基线: 图标 264 源/448,551;海报 69 源/5,366;版本联动 20261108a
This commit is contained in:
sgp
2026-11-08 01:46:52 +08:00
parent 5bcd5ab0f2
commit b10184bf94
6829 changed files with 30261 additions and 452 deletions
+5 -5
View File
@@ -5,18 +5,18 @@
## 生成时间
2026-11-05T03:30:14.648Z
2026-11-07T17:24:37.947Z
## ① 图标库(共享,LOGO/头像/海报共用)
- 源数:263 | 图标总数:444754
- 类型分布:icon 177 / emoji 54 / brand 32
- 源数:264 | 图标总数:448551
- 类型分布:icon 177 / emoji 55 / brand 32
- 源清单(含 count/file/workspaces):js/data/manifest/icons.json
## ② 海报素材库
- 源数:67 | 素材总数:2362
- 类型分布:palette 7 / decoration 4 / bg 4 / font 52
- 源数:69 | 素材总数:5366
- 类型分布:palette 7 / decoration 4 / bg 5 / font 53
- 源清单:js/data/manifest/posters.json
## ③ 技能库
+25 -2
View File
@@ -1,7 +1,7 @@
{
"kind": "icons",
"total": 444754,
"builtAt": "2026-11-05T03:24:17.570Z",
"total": 448551,
"builtAt": "2026-11-07T17:23:16.522Z",
"guide": "js/data/manifest/README.md",
"idRule": "「源:名称」,如 lucide:graduation-cap",
"dicebear": {
@@ -6057,6 +6057,29 @@
"logo",
"avatar"
]
},
{
"id": "noto-emoji-3d",
"type": "emoji",
"name": "Noto Emoji 3D",
"nameCn": "Google Noto 3D 立体表情",
"desc": "Google Noto Emoji 官方 3D 渲染版(OFL 1.1),软塑材质与柔和光影,与微软 Fluent 3D 形成两种立体风格,适合头像、贴纸与社交素材",
"style": "3D",
"license": "OFL-1.1",
"licenseNote": "SIL Open Font License 1.1,可商用,需保留版权声明且不得单独售卖字体",
"home": "https://github.com/googlefonts/noto-emoji",
"github": "https://github.com/googlefonts/noto-emoji",
"npm": "",
"format": "gh-raster",
"coordText": "128×128 PNG(渲染时按 24 视口等比缩放)",
"variants": "Noto 3D 全量表情(含肤色与组合序列)",
"added": "2026-11-06",
"count": 3797,
"file": "sources/noto-emoji-3d.js",
"workspaces": [
"logo",
"avatar"
]
}
]
}
+42 -2
View File
@@ -1,7 +1,7 @@
{
"kind": "posters",
"total": 2362,
"builtAt": "2026-11-04T18:01:31.225Z",
"total": 5366,
"builtAt": "2026-11-06T16:19:42.040Z",
"guide": "js/data/manifest/README.md",
"idRule": "「源:相对路径」,如 fontsource-inter:latin-400-normal.woff2",
"sources": [
@@ -1344,6 +1344,46 @@
"workspaces": [
"poster"
]
},
{
"id": "google-fonts",
"type": "font",
"name": "Google Fonts (Latin)",
"nameCn": "谷歌字体库(西文全量)",
"desc": "Google Fonts 全量 OFL/Apache 西文字族(经 Fontsource 分发),每族收录 400/700 两个字重的 latin 子集,覆盖无衬线、衬线、展示、手写与等宽,适合海报标题与正文排版",
"license": "OFL-1.1 / Apache-2.0",
"licenseNote": "OFL 1.1 与 Apache-2.0 混合,均可商用;OFL 需保留版权声明且不得单独售卖字体",
"home": "https://fonts.google.com/",
"github": "https://github.com/google/fonts",
"format": "fontsource",
"coordText": "woff2 latin 子集(约 10–40KB / 字重)",
"variants": "Regular 400 / Bold 700,约 1,900 个西文字族",
"added": "2026-11-06",
"count": 2766,
"file": "posters/google-fonts.js",
"workspaces": [
"poster"
]
},
{
"id": "polyhaven-textures",
"type": "bg",
"name": "Poly Haven Textures",
"nameCn": "Poly Haven 无缝纹理",
"desc": "Poly Haven 的 CC0 真实材质贴图(木纹、砖石、混凝土、织物、金属、岩砂、植被等),可无缝平铺,适合海报背景底色与肌理叠加",
"license": "CC0-1.0",
"licenseNote": "CC0 1.0 公共领域,可商用、可修改、无需署名",
"home": "https://polyhaven.com/textures",
"github": "",
"format": "polyhaven",
"coordText": "1024×1024 JPG(原图 8K,取 1k 预缩放版本)",
"variants": "按分类轮转挑选,覆盖木/砖/混凝土/织物/金属/岩砂等",
"added": "2026-11-06",
"count": 238,
"file": "posters/polyhaven-textures.js",
"workspaces": [
"poster"
]
}
]
}