Cue
Paste a long YouTube video or Twitch VOD and get ranked, captioned 9:16 clips. Moments are picked from what viewers did: the replays, the timestamps they comment, the chat spikes.
- Year
- 2026
- Role
- Solo. Design, build, release
- Stack
- Python, Whisper, OpenCV, Cloudflare Workers, D1, React
- Ships as
- Web app in invite-only beta, plus a worker that runs on a Mac or Windows PC

The problem
AI clippers guess which moments matter. Viewers already told you.
People rewind the good part, leave 12:34 lol in the comments and flood chat when something lands. I wanted clips picked from that evidence, with the proof shown on every clip, and cut well enough to post without opening an editor.
What I built
A Cloudflare app for the queue and review, and a home worker for the heavy lifting.
The worker downloads the source, scores every second from viewer signals, and asks a model to judge each candidate. Each kept clip is transcribed with Whisper, snapped to whole sentences, jump-cut on pauses, cropped to follow the speaker, captioned word by word, beeped for strong swears and normalised to -14 LUFS. Streams with a facecam get a split layout: webcam on top, gameplay below.
The web app handles sign-in, review with keyboard shortcuts, captions, and auto-posting to Instagram and Facebook Pages on a per-page schedule.
- clip.pyThe pipeline: signal, pick, transcribe, sentence snap, jump cut, render.
- judge.pyClaude reads the numbered transcript and the audience evidence, then returns the trigger, start, end, a title and a caption, or rejects the stretch.
- facetrack.pyOpenCV YuNet face detection for the 9:16 crop. Falls back to a blurred fit when there is no single face.
- cloud/Cloudflare Worker and D1: the React app, the job queue, posting crons and a daily prune.
- worker.pyClaims jobs over outbound HTTPS, runs the pipeline and uploads the clips.
Where the moments come from
Every second of the source gets a score. The judge only sees candidates the signals or the transcript put forward.
| Signal | Source | What it adds |
|---|---|---|
| Most replayed | YouTube's replay graph | A 0 to 1 replay score per second |
| Timestamp comments | Up to 400 top comments | Each mm:ss adds weight to the next 20 seconds, scaled by likes |
| Chat spikes | Twitch chat replay | Chat density against the local median, over a 10 minute window, shifted 7 seconds earlier for reaction lag |
| Content scout | The transcript | Moments viewers did not spike on, interleaved with the signal picks |
| Moment judge | Claude, no tools | Finds the trigger, the setup a cold viewer needs and the payoff. Rejects anything under 6 out of 10 |
Hard decisions
The calls that shaped it.
No signal, no clip
If a video has no replay graph and no timestamp comments, the job fails with a plain explanation instead of guessing. Fresh or small videos lose out, but every clip that ships carries the evidence behind it.
A home worker, not a cloud GPU
Whisper, OpenCV and ffmpeg run on a Mac or Windows machine that polls the Cloudflare queue. No open ports, several workers can share the queue, and the heavy work needs no rented server. The cost is one point of failure, so the app says "Waiting for a worker" rather than pretending.
Judge with no hands
The judge runs the local Claude Code login headless with no tools, no MCP and no hooks. Transcripts and chat are untrusted text, so the worst a hostile line can do is sway one keep or skip.
Score chat against its own normal
Twitch chat is scored with a rolling median and MAD, so one busy minute does not set the baseline. Chat is read first and only the sections around picks are downloaded, never the full VOD.
Where it is now
Live in an invite-only beta.
- BetaWaitlist on the landing page, Google sign-in, free during beta with the plan meter visible
- Auto-postingInstagram and Facebook Pages. YouTube Shorts is built and waits on Google's audit
- RetentionClips delete after 30 days, skipped clips after 2, in a daily cron
- ChecksPipeline unit tests and an end-to-end run with a real worker on one video