Blog5 min read

The README GIF that earns the star

Repos with a hero GIF convert visitors to stars better than walls of badges. How to make one that shows install → run → payoff in under 3 minutes.

A GitHub visitor gives your README about five seconds. Badges don't survive that window. A short GIF showing your tool actually doing the thing — install, run, payoff — is the highest-leverage asset a repo can have, and most maintainers still don't have one because the tooling for it is miserable.

Why the usual ways fail

  • Screen recording your real terminal: your prompt, your typos, your font rendering, re-recorded every time the output changes.
  • asciinema: brilliant for embedding on docs sites, but GitHub READMEs can't run the player — you're back to a GIF anyway.
  • Remotion: you can absolutely build a terminal component with a typing animation in React — people do. It's a weekend project, plus npx remotion render, plus a GIF encode step. A weekend, for a README asset.

The 3-minute version

  1. 1Open the DevReel editor → pick the "Repo hero" template. Three frames load: install command, run command, payoff output — each typing itself out in a terminal window.
  2. 2Replace the sample commands with yours. Keep the payoff frame honest: real output, including the numbers your tool actually prints.
  3. 3Export → GIF. The encoder is weight-conscious by default (README GIFs should stay under a few MB); drop the frame rate to 15fps in the GIF settings if you want it smaller.
  4. 4Commit it: ![demo](./assets/demo.gif) above the fold, right under the h1.
Repo hero template: an npm install command typing itself in a terminal window
The Repo hero template — phosphor-green terminal, typing transition, real render.
The typing effect is a real transition, not a screen recording — change one flag in your command next month and re-export in 30 seconds. That's the maintenance win over recorded GIFs.

What makes a hero GIF convert

  • One command per frame. If your install is three commands, your GIF needs one frame per command, not one frame with three.
  • The payoff frame carries the star: show the output that made YOU excited when the tool first worked.
  • Loop cleanly. The template's last frame holds long enough to read before the loop restarts.
  • Match the terminal theme to your brand if you have one — Canvas tab, two clicks.
Open the Repo hero template

Free GIF export in your browser — no watermark, no account.