Skip to content
Hacker News front pageVieltrinker

Petroly developer builds a 15-second promo video with unit tests using Claude Code

My video has unit tests

A Petroly developer used Claude Code to write a JavaScript renderer that produced a 15-second promo video with unit tests, without opening a video editor. The pipeline generates 375 frames through SVG, sharp and FFmpeg. Tests check that the notification appears once the price hits the target, the list ordering and frame glitches; humans still review the visuals.

Why it matters: It turns a promo video into testable render code, folding animation timing checks and multi-language versions into the same software workflow.

Read the original ↗Export Markdown