Open-source pipeline compiles product demo videos from code with Claude Code
keto_brain · reddit · 2026-11-20
From screen recordings to video-as-code
The author replaced product demo screen recordings with plain text in git: each video is a folder containing a small React scene plus a narration script, rendered to MP4 by a Python script. UI changes now mean editing code, not re-recording. Built with Claude and open source under Apache 2.0.
How Claude was involved
- Claude Design produced the first video, exported as a reusable Stage component (one animation clock, timeline, sprites, easing helpers); subsequent scenes were built by Claude Code copying previous ones, saving Design credits.
- CLAUDE.md points at the real product repo: it catalogs where the product's UI source lives, which component renders each route, redesign-surviving selectors, and decisions like rejected icons—so the agent reads actual page components instead of guessing.
- The author cloned the repo and had a fresh Claude Code session review it, which caught a silent 25 fps cap in the real-time recorder and a color-range bug washing out whites; both were fixed.
Technical highlights
- Every visual is a pure function of time—no component state, so the frame at 14.2s always looks identical.
- Narration carries beat markers like [[B0]]; one ElevenLabs with-timestamps call returns audio plus exact beat times, so animation follows the voice automatically.
- The exporter doesn't record: it pauses the page clock with Playwright's fake clock, steps exactly 1/60 s per frame, screenshots each frame, and lets ffmpeg encode—true 60 fps, audio-synced, byte-identical across runs.
Honest limits
- Aimed at engineers/coding agents, no timeline editor; good for explainers of typed text, cards and rebuilt UI, wrong for footage or on-camera people; 6 min render per minute of video; previews/exports need internet for CDN. Remotion and Motion Canvas do video-as-code at larger scale—this is a smaller, no-build-step take centered on narration timing and an agent writing scenes against your real product.
Repo: github.com/bcarpio/outcomeops-video-production-pipeline
More from coding & agent
- DeepMind's Antigravity Robotics Plugin: 2 Prompts, ~20 Minutes to Command a Real FR3 Duo Arm — jackyliang42 · 2026-11-21
- Ruff author warns: setting MYPY speeds up type checking on Pydantic but collapses types to Mapping[str, Any] — charliermarsh · 2026-11-21
- Asking Astra 6.2 to Review Code Written by Opus 5.5 Yields Almost Nothing — rickasaurus · 2026-11-21
- Security & Web3 Firewall MCP Server Hits Official Registry: Detects Tool-Poisoning and Rug-Pull Drift — ezelech · 2026-11-21
- Artificial Analysis Launches Search API Benchmark Covering 26 Products Across 14 Providers — ArtificialAnlys · 2026-11-21
- Pydantic hacks Mypy detection: why type checkers crawl and how to fake your way to speed — charliermarsh · 2026-11-21