Short answer: the README GIF is your repo's 6-second sales pitch, it autoplays inline where a video won't. Aim for 6–15 seconds, ~1000px wide, under 10MB, showing exactly one flow. Record it once with auto-zoom so the viewer's eye is steered, export as GIF, done.
Why the GIF is still king on GitHub
Markdown renders images, including animated GIFs, inline and autoplaying. No click, no player chrome, no leaving the page. A repo with a good demo GIF converts a skimmer into a reader in the first screenful.
The one-take method
- Script one flow. Install → run → result, or open → click → outcome. One narrative, no detours.
- Record the window, not the screen. Your terminal or app window at a clean size; hide notification noise.
- Let the zoom do the pointing. Girato builds zooms from your clicks, so the eye follows the action without you annotating anything.
- Trim ruthlessly. Cut pauses (silence auto-cut helps), speed up waits with a speed ramp.
- Export GIF. Girato caps GIF renders at sensible dimensions for exactly this use.
Budget the bytes
- Every second of GIF is expensive, 10s at 1000px is already megabytes. Shorter beats smaller-scaled.
- Flat UI compresses well; animated gradients and video backgrounds don't. Keep the backdrop simple for READMEs.
- If you need 30+ seconds, that's a video for your docs site, not a README GIF, link it under the GIF instead.
Recipe in practice: exporting GIFs from a screen recording covers the settings; the browser app lets you produce one right now.
Frequently asked questions
What's the ideal size for a README GIF?
Keep the file under ~10MB (GitHub's attachment limit is higher, but big GIFs make your README feel slow), 6–15 seconds long, and around 1000–1280px wide. GitHub renders READMEs at ~890px content width, so massive dimensions waste bytes.
GIF or video in a README?
GIFs autoplay inline everywhere GitHub renders markdown, that's their superpower. GitHub also accepts MP4 attachments in issues/PRs, but for the README hero moment, an optimized GIF is still the most reliable choice.
See it on your screen
Girato records, auto-zooms and exports right in your browser, free for 7 days.
Start free No download · no card · nothing uploaded