video-digest-site
Installation
SKILL.md
video-digest-site
Input: project dir with digest.json + processed groups/<group>/<item>/ (manifest, highlights, sel_*, take.json; optional zh.json). Needs Pillow.
Build
python3 scripts/vd_site.py <project> # single-file digest.html (data-URI images)
python3 scripts/vd_site.py <project> --dist <project>/dist # folder site (index.html + assets/)
- Single file: for the claude.ai Artifact tool. HARD CAP ~8 MB — over ~10 MB hosted artifacts truncate/403. Size is slide-count-bound; levers:
slide_capin digest.json, IMG_W/IMG_Q in the script. Big events → use dist mode instead. - Dist folder: crisp 900px slides as separate files; publish with the
here-nowskill:bash ~/.claude/skills/here-now/scripts/publish.sh <project>/dist --slug <slug> --client claude(re-publish to the SAME slug to update). here.now fails >1000 files — checkls dist/assets | wc -l; if near, lowerslide_cap. - Talks/highlights link to YouTube (
source.jsonurl) at the right timestamp automatically.
Verify before publishing
Open the built file in a browser (or agent-browser skill): check a card → detail → slide captions render, hash routing works (#back button), no horizontal scroll, and (if zh) the toggle.