Skip to content

Git Visualizer

git-viz-screenshot git-viz-screenshot-2 git-viz-screenshot-3

A desktop app for visualizing a local git repository's branch timeline, open/merged PRs, commit history, AI-powered diff summaries, and screenshot previews of any branch.

Built with Tauri 2 (Rust backend) + React + Vite + Tailwind CSS.


Prerequisites


Setup

  1. Clone the repo

    git clone https://github.com/cynfria/git-visualizer
    cd git-visualizer
    
  2. Install dependencies pnpm install

  3. Set your GitHub token

  4. Create a .env file in the project root: GITHUB_PAT=ghp_your_token_here


Running the app

pnpm tauri dev

This starts the Vite dev server and the Tauri desktop window together. The first run will compile the Rust backend, which takes a few minutes.


Building for production

pnpm tauri build

The compiled app bundle will be in src-tauri/target/release/bundle/.


What it does

  • Branch timeline — SVG canvas showing all branches, merges, and direct commits over time
  • PR panel — open and merged pull requests fetched from GitHub, linked to branches on the map
  • Commit history — paginated commit log per branch
  • AI diff summaries — summarizes the diff for any branch using an LLM
  • Screenshot previews — spins up the branch locally and captures a screenshot via headless Chrome

About

A Git Tree Visualizer

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages