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.
- Node.js 18+
- pnpm (
npm install -g pnpm) - Rust (stable toolchain)
- Tauri CLI prerequisites for your platform
- A GitHub personal access token (PAT) with
reposcope
-
Clone the repo
git clone https://github.com/cynfria/git-visualizer cd git-visualizer -
Install dependencies pnpm install
-
Set your GitHub token
-
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