How initialcommit-com/git-story works
git-story is a command-line application that turns a selected range of a local Git repository’s history into an animated MP4. The user runs the CLI with options; it configures output and rendering, constructs a Manim scene, reads commits and refs, and animates the graph with optional intro/outro and visual settings. The README documents additional history and styling options not fully visible in the excerpts. The core scene is monolithic, so the graph separates its principal responsibilities without implying separate modules.
Main entry points: __main__.py Options and setup · git_story.py Commit graph animation
Components 9
Command line
- Options and setup
git_story/__main__.py
Animation scene
- Commit history
git_story/git_story.py - Commit graph animation
git_story/git_story.py - Intro and outro
git_story/git_story.py
Video output
- Rendered MP4
Other components
- CLI user
- Local Git repository
- Manim renderer
- Video player
Connections 9
- CLI user → Options and setup: runs
git_story/__main__.py - Options and setup → Commit graph animation: constructs
git_story/__main__.py - Commit graph animation → Commit history: selects commits
git_story/git_story.py - Commit history → Local Git repository: reads history
git_story/git_story.py - Commit graph animation → Local Git repository: reads refs
git_story/git_story.py - Commit graph animation → Intro and outro: adds sequences
git_story/git_story.py - Options and setup → Manim renderer: configures and renders
git_story/__main__.py - Manim renderer → Rendered MP4: produces
README.md - Options and setup → Video player: opens video
git_story/__main__.py