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
+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"
]
}
]
}