Repository for animated infrastructure explainer videos, built using HyperFrames.
Videos are authored as HTML/CSS/GSAP compositions and rendered to MP4 via a containerized pipeline.
- Docker + Docker Compose: All dependencies (Node, Chromium, FFmpeg, Kokoro TTS) are bundled in the provided Dockerfiles.
| Directory | Description | Status |
|---|---|---|
proof-of-concept |
Initial technical validation video. | Legacy |
renovate-story |
Explainer for self-hosted Renovate automation. | Active |
Execute the following from the videos/ directory:
If the composition includes narration.yaml, generate the TTS assets first:
COMPOSITION=<name> docker compose run --rm generate-audioVerify audio durations to synchronize HTML clip timings:
COMPOSITION=<name> docker compose run --rm audio-timelineGenerate the final MP4 output:
COMPOSITION=<name> docker compose run --rm renderOutput artifacts are saved to videos/output/<composition>.mp4.
When creating or updating a composition:
- Define Narration: Update
narration.yamlwith scene text and voice settings. - Generate Assets: Run the audio generation task to create local
.wavfiles. - Sync Timing: Use the
audio-timelineoutput to setdata-startanddata-durationon HTML.clipelements. - Animate: Script GSAP timelines in
index.htmlto align with the synced timestamps. - Validate: Run the
linttask to ensure HyperFrames compliance before rendering.
See this gist too: https://gist.github.com/tcaddy/9c3f203d4185571867d4e98abb6ab03f