launch-video

Installation
SKILL.md

Hunk video pipeline

Maintainer-only: requires a hunk source checkout (the pipeline lives in scripts/launch-video/, which never ships to npm). Unix-only — the capture scripts exec /bin/bash.

Generates product videos where every terminal frame is the real Hunk TUI — no screen recording, no mockups. Three stages:

capture.ts   (bun)               drive Hunk over a PTY, snap styled keyframes to PNG
compose.mjs  (node + Playwright) render each PNG on a 1920x1080 HTML stage in Chromium
ffmpeg                           encode the composited PNGs at 30fps to mp4/webm

Playwright controls headless Chromium: for each planned frame it loads the terminal PNG onto the HTML stage, applies the window chrome, cards, captions, and transition state, then screenshots the completed stage back to PNG. ffmpeg sequences those composited screenshots into the final videos.

Installs
3
Repository
modem-dev/hunk
GitHub Stars
9.2K
First Seen
Aug 11, 2026
launch-video — modem-dev/hunk