# yoshiko-pg/difit

A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view

Repository: https://github.com/yoshiko-pg/difit
Canonical: https://ross.abutalabs.com/products/difit
Homepage: https://yoshiko-pg.github.io/difit/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-09T06:45:26+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 96, release rhythm 84, longevity 30
- inputs: {"age_days": 430, "days_push": 24, "days_rel": 24, "gap_med": 1, "n_releases_24m": 94}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3100, forks 173 (observed 2026-08-28T04:07:43.520930+00:00)

## What it is
difit is a lightweight CLI tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view. It supports comparing commits and branches, viewing GitHub PR diffs, adding review comments, and copying comments as AI prompts.

## Use cases
- review local git commit diffs in a GitHub-style viewer
- compare two branches or commits side by side
- review uncommitted or staged changes before committing
- review GitHub pull requests locally with gh CLI
- copy review comments as prompts for AI coding agents
- run local code reviews without pushing to GitHub

## When to choose
- you want GitHub-quality diff review for local commits without pushing
- you review code with AI agents and want comments exportable as prompts
- you need to inspect PRs or branch diffs offline in a browser

## When to avoid
- you need full hosted code review with team collaboration and CI integration
- you only need a quick terminal diff, where plain git diff suffices
- your workflow requires GitHub Enterprise features beyond PR diff fetching

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, http-server, code-review, version-control, developer-tools
- domain: developer-tools, version-control
- platform: cli, cross-platform
- tags: diff-viewer, git, code-review, github-style, ai-assisted-review, local-web-server, command-line, nodejs

## Member repositories
- yoshiko-pg/difit (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.520930+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-30T07:27:03.286788+00:00, confidence not recorded.
  - readme: https://github.com/yoshiko-pg/difit (fetched 2026-08-28T04:07:43.520930+00:00, sha 1dd33e16240e)
  - homepage: https://yoshiko-pg.github.io/difit/ (fetched 2026-08-29T09:42:32.451981+00:00, sha 3db3688d80ce)
  - registry_npm: https://registry.npmjs.org/difit (fetched 2026-08-29T09:42:32.460857+00:00, sha ed2aee887087)
- Data as of 2026-08-30T08:39:29.467469+00:00.
