Gource: Git History Visualization

TUIkit
7 February 2026
PAP-001

Gource visualizes Git history as an animated tree. Files are nodes, committers fly through the repo as avatars. A classic for project timelapses.

Contents

  1. Installation
  2. Configuration
  3. Video Export
  4. Useful CLI Flags
  5. Links

Installation

brew install gource

Configuration

Config file: .gource.conf in the project root.

gource --load-config .gource.conf

Current Config Settings

SettingValuePurpose
viewport1920×1080Full HD
background-colour0D1117GitHub Dark Theme
seconds-per-day1.5Speed per day
time-scale1.5Additional acceleration
highlight-colour58A6FFGitHub Blue for active user
dir-name-depth2Shows Sources/TUIkit, Tests/TUIkitTests
file-idle-time0Files don't disappear
camera-modeoverviewShows entire tree

Filtered Paths

Video Export

gource --load-config .gource.conf -o - | \
  ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - \
  -vcodec libx264 -preset medium -pix_fmt yuv420p -crf 18 \
  tui-kit-history.mp4

ffmpeg Parameters

FlagMeaning
-r 6060 fps Input
-vcodec libx264H.264 Codec
-preset mediumBalance speed/quality
-pix_fmt yuv420pCompatible with all players
-crf 18High quality (0=lossless, 23=default, 51=worst)

Useful CLI Flags

# Only specific time range
gource --load-config .gource.conf --start-date "2026-02-01"

# Screenshot instead of animation
gource --load-config .gource.conf --stop-at-end -o screenshot.ppm

# Highlight specific user
gource --load-config .gource.conf --highlight-user "Frank Gregor"

# Play slower (e.g. for longer repos)
gource --load-config .gource.conf --seconds-per-day 3

# With user avatars (images in avatars/ folder, name = filename)
gource --load-config .gource.conf --user-image-dir avatars/