# jnsahaj/lumen

Beautiful git diff viewer, generate commits with AI, get summary of changes, all from the CLI

Repository: https://github.com/jnsahaj/lumen
Canonical: https://ross.abutalabs.com/products/jnsahaj-lumen
Language: Rust
License: MIT
License Family: permissive
Topics: cli, commit, git, llm, openai, rust
Last push: 2026-07-16T22:10:23+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 93, longevity 48
- inputs: {"age_days": 674, "days_push": 48, "days_rel": 48, "gap_med": 1.0, "n_releases_24m": 55}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2769, forks 144 (observed 2026-08-28T04:07:18.711549+00:00)

## What it is
Lumen is a fast terminal-based git diff viewer and code review TUI written in Rust, shipped as a single static binary. It offers side-by-side diffs with tree-sitter syntax highlighting, GitHub PR review, and optional AI-powered commit messages and change explanations across 10+ providers.

## Use cases
- view git diffs side-by-side in the terminal
- generate AI commit messages from staged changes
- review GitHub pull requests from the CLI
- get AI summaries of code changes
- review stacked commits or branches
- annotate diff hunks during code review

## When to choose
- you want a fast, single-binary terminal diff viewer with syntax highlighting
- you review PRs or stacked commits without leaving the terminal
- you want AI-generated commit messages with multiple provider options
- you use Git or Jujutsu (jj)

## When to avoid
- you need a GUI diff tool with mouse-driven workflows
- you don't use git or a compatible VCS in your workflow
- you want fully offline tooling but require the AI features

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli, terminal-ui, llm-inference, code-review, version-control
- domain: developer-tools, version-control, large-language-models
- platform: cli, rust, cross-platform
- tags: git-diff-viewer, tui, commit-messages, code-review, tree-sitter, jujutsu, github-pr, command-line, macos, linux

## Member repositories
- jnsahaj/lumen (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.711549+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:41.201098+00:00, confidence not recorded.
  - readme: https://github.com/jnsahaj/lumen (fetched 2026-08-28T04:07:18.711549+00:00, sha 3b1a29f5f804)
  - registry_crates: https://crates.io/api/v1/crates/lumen (fetched 2026-08-29T09:56:05.380786+00:00, sha 8fe700df84da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
