Communitygithub.com

ph-app-launching-video

Use when making a Product Hunt app launch promo video.

What is ph-app-launching-video?

ph-app-launching-video is a Claude Code agent skill that use when making a Product Hunt app launch promo video.

Works with✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/rabbybhuiyah/ph-app-launching-video/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

PH App Launching Video

A ~60 s, 1080p Product Hunt launch promo for a mobile app, in the clean Airbnb app-promo style: soft off-white canvas, blurred colour blobs, bold rounded type sliding up out of masks, 3D phone mockups, UI cards flying out of the device, floating chips and toasts, and shape-reveal transitions cut on the beat. It ends on a Product Hunt "Coming soon → Notify me" card with confetti, then an end card with a store badge. It has an expressive neural voiceover, burned-in captions and a synthesised music bed that ducks under the voice.

Rendered with HyperFrames (HTML + GSAP → MP4). Everything is deterministic and licence-free: no stock music, no stock footage.

When to Use

  • "Make a Product Hunt launch video / launch trailer / app promo for "
  • "Launching this week / today on Product Hunt" teaser for a mobile app
  • An Airbnb/Apple-style product promo built from an app's screenshots

Not for: talking-head videos, long tutorials, or math explainers (use manim-video).

Scene structure (10 scenes)

#SceneMotion
1Brand intro: logo + wordmark + taglinelogo spins in, pill stretches, masked slide-up type, highlighter underline, drifting blobs
2Hook question on dark brand colourbig type slides up, product image wobbles, "?" marks pop and bob
3Pain points on accent colourthree lines slide up, then get struck through on the beat
4"Meet ."phone swings up in 3D, home UI builds itself, feature chips pop and float
5Feature 1 (scan / core action)scene opens out of the phone's outline, phone slides aside and tilts, scanline sweeps, result card flies out of the phone
6Feature 2 (paper → digital)an artefact writes itself, flies into the phone with a flash, screens swap, notification toasts drop
7Numberscapsule field pops out from the centre, big counters run up
8Feature 3 (order / delivery)map pins drop, route draws, a rider follows the path, category marquee scrolls
9Product Huntorange takeover "Launching this week on Product Hunt", PH card slides up, cursor clicks Notify me, confetti burst
10End cardlogo + wordmark, PH pill, Available free on Google Play badge, URL

Transitions are clip-path reveals (circle() / inset(... round)) on the incoming scene plus a 1.08→1 settle on its camera layer.

Procedure

  1. Gather brand + screenshots. If the app has a website, capture it: npx hyperframes capture https://site -o capture. Pull colours and fonts from capture/extracted/tokens.json, then crop phone screens only (no bezel) from capture/screenshots/scroll-*.png with ffmpeg -i in.png -vf crop=W:H:X:Y out.png. Check each crop with vision.
  2. Copy templates/ into a new project folder. If templates/ is missing (the skill was installed from a bare SKILL.md URL), get it with git clone https://github.com/rabbybhuiyah/ph-app-launching-video.
  3. Edit config.json: brand name, tagline words, colours, PH tagline and topics, URL, store badge, voice and the 10 voiceover lines (with rate/pitch per line), plus scene_lengths.
  4. Edit the feature scenes (2–8) in build.py for the product: headline copy, chip labels, phone screens (assets/*.png), toasts, numbers (timeline.js S7 counters), marquee categories. Scenes 1, 9 and 10 come entirely from config.
  5. Run the pipeline:
    python -m pip install edge-tts numpy soundfile
    python tts.py      # vo/e1..e10.wav + sentence timings
    python timing.py   # timing.json + caps.json (fails loudly if a line overflows its scene)
    python music.py    # music.wav (synthesised beat bed)
    python mix.py      # audio.wav (voice + ducked music, -14 LUFS)
    python build.py    # index.html (inlines style.css + timeline.js)
    npx hyperframes lint
    npx hyperframes render --quality draft --output draft.mp4
    
  6. Review stills. Pull about 12 frames across the video with ffmpeg, put them on one contact sheet with hstack/vstack, and check overlaps, cut-off text and captions covering phones. Fix the issues, then render the final with --quality high.

How the timing works

The animations were authored on a 41 s, 120 BPM grid. timeline.js wraps tl.set/to/from/fromTo in a time-warp proxy: each authored position p maps to W(p), a piecewise-linear map from the original scene starts to the new ones (from scene_lengths). Durations and staggers scale by the local stretch factor. To re-pace the video, change scene_lengths and rebuild. Don't hand-edit timestamps. Captions use the real timeline (RAW) directly.

Voice

edge-tts gives free Microsoft neural voices with real warmth. en-US-AndrewMultilingualNeural (warm male) and en-US-AvaMultilingualNeural (expressive female) work well. Shape the emotion per line through rate and pitch:

  • problem: -10%..-12%, -2..-4Hz
  • reveal: -2%, +5Hz
  • launch news: +0%, +4Hz

Ellipses (…) make natural pauses. Kokoro (npx hyperframes tts) works offline but sounds flat.

Pitfalls

  • FFmpeg EPERM on Windows (Hermes): copy the bundled ffmpeg out of WindowsApps to a normal folder and prepend it to PATH before rendering. Run npx hyperframes browser ensure once.
  • Lint errors to avoid: a CSS transform on an element GSAP scales (use fromTo with no CSS transform), letter-spacing tweens, OS-only fonts (use Google Fonts, e.g. Noto Sans JP for CJK), and z-index:-1 without isolation:isolate on the parent.
  • Captions vs content: captions sit at bottom: 52px. Keep phones ≤ 762 px tall and keep cards, maps and marquees above about y = 900.
  • Product Hunt UI: don't show upvote counts or follower numbers that don't exist. A "Coming soon / Notify me" card is honest before launch day; switch product_hunt.status and button to "LIVE NOW" and "Upvote" on launch day.
  • Product Hunt blocks headless browsers (Cloudflare). Build the card from config; don't scrape it.
  • Music: music.py uses an FFT low-pass; a per-sample Python IIR loop is far too slow. Its BPM is fixed, so cuts won't land exactly on the beat once scenes are stretched. Whooshes are placed at each cut to compensate.
  • Long voice lines: if timing.py stops with "raise scene_lengths[i]", either lengthen that scene or shorten the line.

Verification

  • ffprobe duration equals the sum of scene_lengths, and the file has h264 and aac streams.
  • ffmpeg -af ebur128 integrated loudness is about −14 LUFS.
  • The contact sheet shows every scene populated: no blank frames, no caption/phone overlap, PH card fully visible before the click.

Related Skills