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
+2 -2
View File
@@ -84,7 +84,7 @@
</div>
<script src="js/data/poster-sources.js"></script>
<script src="js/data/poster-builtin.js?v=20261105f"></script>
<script src="js/data/poster-builtin.js?v=20261108a"></script>
<script>
(function () {
const builtin = window.HGB_PosterBuiltin || { sources: {} };
@@ -139,7 +139,7 @@
}
// 优先读机器可读 manifest(js/data/manifest/posters.json,构建时生成);失败回退内置配置
fetch('js/data/manifest/posters.json?v=20261105f')
fetch('js/data/manifest/posters.json?v=20261108a')
.then(r => r.json())
.then(m => { sources = m.sources || []; render(); })
.catch(() => { sources = FALLBACK; render(); });