Skip to content
Trending storyDeveloping

Petroly made a 15-second promo video with Claude Code, unit tests included

1 report1 sourceupdated 2 hours ago

What happened

AI digest

On October 27, Hacker News' front page reported that a Petroly developer used Claude Code to write a JavaScript renderer and produce a 15-second promo video without touching a video editor. The pipeline used SVG, sharp and FFmpeg to generate 375 frames, and the developer wrote unit tests for the video: whether the notification appears once the price hits the target, whether the list is sorted correctly, and whether frames show anomalies. The approach pairs programmatic rendering with automated testing, but a human still reviews the visuals; the tests do not judge them.

Written by AI from the coverage · updated 46 minutes ago

Coverage

Follow the reports to see the story from different sides.

Oct 27
  1. Hacker News front pagePick
    Petroly developer builds a 15-second promo video with unit tests using Claude Code

    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.

Heat over time

Not enough continuous observations to draw a trend yet.