gitcinema

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 7 Imported by: 0

README ΒΆ

   ___ _ _            _
  / _ (_) |_ ___(_)_ __   ___ _ __ ___   __ _
 / /_\/ | __/ __| | '_ \ / _ \ '_ ` _ \ / _` |
/ /_\\| | || (__| | | | |  __/ | | | | | (_| |
\____/_|\__\___|_|_| |_|\___|_| |_| |_|\__,_|

Watch your codebase evolve β€” git history as a movie.

Step through every commit like a film, with live file changes, author characters, and a timeline scrubber.

Go Version License CI Built with Bubble Tea

demo


What is gitcinema?

gitcinema turns any git repository's history into an interactive terminal experience. Every commit is a frame. Press Space to play and watch your codebase evolve β€” files appear, grow, and disappear as your team's work unfolds chronologically.

  • 🎬 Play / Pause β€” auto-advance through commits at configurable speed
  • πŸ“‚ Live file tree β€” see exactly which files changed, added, or deleted in each frame
  • 🎭 Author characters β€” every contributor gets a unique color + symbol (β—β—†β–²β– β˜…)
  • πŸ” Search β€” fuzzy search through commit messages with /
  • πŸŽ›οΈ Filter β€” show only one author's commits with f
  • 🌿 Branch-aware β€” inspect any branch with --branch

Installation

Using go install

go install github.com/meetsoni15/gitcinema@latest

Requires Go 1.24+. Make sure $GOPATH/bin is in your $PATH.

Download Binary

Grab a pre-built binary for your platform from the Releases page.

Build from Source

git clone https://github.com/meetsoni15/gitcinema
cd gitcinema
go build -o gitcinema .

Usage

# Watch the current repository
gitcinema

# Watch a specific repository
gitcinema ./path/to/repo

# Watch a specific branch
gitcinema --branch develop .

# Limit commit history (useful for very large repos)
gitcinema --max 200 .

# Show help
gitcinema --help

Features

🎬 Playback Controls

  • Space to play/pause β€” commits advance automatically like a movie
  • Adjustable speed: 0.25x β†’ 0.5x β†’ 1x β†’ 2x β†’ 4x via + / -
  • Auto-stops at the last commit

πŸ“‚ File Tree Pane (Left)

Each commit shows which files changed, with colored prefixes:

Symbol Color Meaning
+ 🟒 Green File added
~ 🟑 Yellow File modified
- πŸ”΄ Red File deleted
β†’ πŸ”΅ Cyan File renamed

Per-file +N -N line counts shown inline.

πŸ“ Commit Detail Pane (Right)

  • Full + short commit hash
  • Commit subject in bold
  • Author with their unique color badge: ● meet soni
  • Absolute date + relative time (2 hours ago)
  • Total insertions / deletions
  • Full list of changed files with per-file stats

🎭 Author Legend

Every unique contributor appears in the top strip with their assigned color and symbol. Colors are deterministically assigned by the order authors first appear in history β€” consistent across runs.

Type to instantly filter commits by message, author, or hash. Press Enter to jump to the first result.

πŸŽ›οΈ Author Filter (f)

Type an author name to show only their commits. Press Esc to clear.


Keyboard Shortcuts

Playback

Key Action
Space Play / Pause
+ / = Speed up
- Slow down

Navigation

Key Action
j / ↓ Next commit
k / ↑ Previous commit
g Jump to first commit
G Jump to last commit
Tab Switch pane focus

Search & Filter

Key Action
/ Open commit search
f Filter by author
Esc Clear search / filter

General

Key Action
q / Ctrl+C Quit

Terminal Compatibility

For the best experience, use a modern terminal with true color support:

Terminal Platform Recommended
Ghostty macOS / Linux βœ… Excellent
Kitty macOS / Linux βœ… Excellent
WezTerm All βœ… Excellent
iTerm2 macOS βœ… Great
Alacritty All βœ… Great

Built With

Library Purpose
Bubble Tea TUI framework (Elm architecture)
Lipgloss Styles, borders, color rendering
Bubbles UI components

Contributing

See CONTRIBUTING.md for development setup, code structure, and PR guidelines.


License

MIT β€” see LICENSE for details.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
internal
git
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL