jnsahaj/lumen
Beautiful git diff viewer, generate commits with AI, get summary of changes, all from the CLI
What it solves
Lumen is a fast terminal-based user interface (TUI) for viewing code diffs and performing code reviews. It eliminates the need to leave the terminal to review git diff, commits, branches, or GitHub Pull Requests side-by-side, while remaining performant even with very large diffs.
How it works
Written in Rust, Lumen provides an interactive side-by-side viewer with tree-sitter syntax highlighting. It integrates with Git and Jujutsu (jj) and can be used as a review surface for coding agents. Users can annotate selections, hunks, or entire files, and in agent-integrated workflows, send these annotations back to the agent as a prompt via stdout.
Who it’s for
Developers who prefer working in the terminal and want a high-performance diff viewer for local changes, commit history, and PR reviews.
Highlights
- Side-by-side diffing: View changes across commits, branches, or GitHub PRs.
- AI-powered helpers: Generate commit messages, explain changes, and generate Git commands using natural language.
- Agent integration: Use as a review surface for AI coding agents (e.g., Claude Code) to provide inline feedback.
- Stacked review: Review a range of commits one by one while preserving progress.
- Extensive AI provider support: Compatible with OpenAI, Claude, Gemini, Groq, DeepSeek, xAI, Ollama, and others.
Related
- Project
- Project
- Project
- Project
- Project