Three Git explainer videos, made entirely in code with Claude Code
Verified on · 2026-09-29
What I was trying to do
Section titled “What I was trying to do”I saw someone on X make a stunning video from a single prompt with Opus 5.5. I wanted to try it without copying it. My only requirement: it had to have a “wow” factor. And no video editor: visuals, subtitles, narration, and sound all generated by code.
What I made
Section titled “What I made”Three videos, each a self-contained project:
| Video | Length | How |
|---|---|---|
| The City That Git Built | 1:30 | Node + Three.js, rendered frame by frame in headless Chrome |
| Git explainer | 3:14 | Python + pycairo draws every frame; bilingual subtitles, no narration |
| Git for beginners | 3:30 | Python + pycairo; complete English and Chinese versions narrated with Volcengine TTS |
The City That Git Built turns the 82,327 commits in the git/git repo, from 2005 to today, into a city at night. Every building is a file and its height is its line count; commits light buildings up. The music is synthesized from the same data: a plucked note per commit, bells on the v1.0 and v2.0 releases. Every on-screen claim comes from a facts file, so the AI can’t make things up.
How I split the work with Claude Code
Section titled “How I split the work with Claude Code”The whole thing took about 6.5 hours. I sent 14 messages; Claude Code made 154 tool calls. It did almost all of the work, but I kept pulling the direction back.
| Time | What I said | What happened |
|---|---|---|
| 09:42 | Shared the tweet: “Help me brainstorm something with a wow factor. Research Opus 5.5 best practices first.” | After researching, it proposed a city that grows from a real repo’s git history, with music synthesized from the commits. Its reasoning: “made from one prompt” no longer impresses; real data is something a prompt can’t invent |
| 10:54 | Picked that idea: 16:9, Chinese and English subtitles, use the Git repo on GitHub | About 30 minutes later, the 90-second City That Git Built was done |
| 12:13 | Correction 1: “The architecture isn’t the point. I want an educational video about Git’s history, purpose, and an overview.” | Half an hour later, a 3:14 explainer |
| 14:19 | Correction 2: “Too technical. Think like the viewer: why would they watch, and what do they get out of it? Make it work for someone who has never used Git.” I also gave it a Git intro I’d written myself as a reference | Rebuilt for beginners, opening with “an AI adds a feature, and your whole app stops working” |
| 15:48 | Correction 3: “The voiceover is far too robotic. Check the Volcengine docs and use a good voice for English and another for Chinese. The Chinese subtitles read like machine translation — polish the text before generating audio. The Chinese version should be entirely in Chinese, on-screen text included.” | Two complete versions; the Chinese script was rewritten as natural spoken Mandarin rather than translated line by line |
| Next day | Correction 4: “This code should be in Git. Put the video files in .gitignore.” | Organized into three folders and a private repo |
Pitfalls
Section titled “Pitfalls”- The first version was always “technically right, but not what I wanted.” It’s very good at taking a direction all the way. Choosing the direction — who it’s for and what they should get out of it — still takes a human.
- The AI can’t hear. Every delivery came with “I haven’t listened to the audio; please check it.” It can measure loudness and look at a spectrogram, but only a human ear can tell whether a voice sounds natural. The first voiceover got rejected for sounding robotic.
- Translation isn’t localization. Line-by-line Chinese subtitles read stiffly. Once the script was written as natural spoken Chinese, with all on-screen text in Chinese too, the Chinese version actually worked.
- Even I got confused: at one point I thought The City That Git Built used Linux’s history. It uses the git/git repo, which I had picked myself at the start. Even your own decisions fade quickly, which is one more reason to keep a log.
Next time
Section titled “Next time”- Say who it’s for and what they should get out of it before the AI starts. Three of my four corrections were supplying exactly that.
- Reference material beats adjectives. One intro doc I’d written myself did more than saying “make it simpler” ten times.
- Keep the voice, tone, and “does this sound human” check for yourself. That’s where AI is weakest today, and where viewers notice first.