EveryDev.ai
Subscribe
Home
Tools

3,750+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. diff-glance
    diff-glance icon

    diff-glance

    Code Review
    Featured

    A CLI tool that turns git diffs into plain-English ELI5 summaries and Mermaid architecture diagrams using AI models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT license. Use, modify, and distribute freely.

    Engagement

    Available On

    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Code ReviewCommand Line AssistantsAI Coding Assistants

    Alternatives

    meatStage CLIHunk
    Developer
    alvynmcqalvynmcq is an independent developer building open-source de…

    Listed Aug 2026

    About diff-glance

    diff-glance is an open-source CLI tool written in TypeScript that converts git diffs into human-readable summaries and module architecture diagrams. It runs via npx diff-glance and requires Node.js 18+, git on the PATH, and an OpenAI-compatible API key or a local Ollama endpoint. The tool is published on npm under the MIT license.

    What It Is

    diff-glance sits between raw git diff output and a developer's mental model of what actually changed. Instead of reading line-by-line patches, you get a 30-second ELI5 summary and a Mermaid-based module graph that shows how the changed files relate to each other. The output is served through an ephemeral local HTTP server bound to 127.0.0.1, so the rendered HTML viewer never leaves the machine. You can also export the analysis as JSON (--json) or write a standalone HTML file (-o report.html).

    How It Works

    When invoked, diff-glance collects the git diff for the specified range (defaulting to HEAD vs the worktree, including staged, unstaged, and untracked changes), strips lockfiles, binaries, and generated directories, then sends the truncated unified diff to the configured AI model. The model returns a structured analysis that the tool renders into the local viewer. Key CLI flags include:

    • [from] [to] — diff between two git refs
    • --staged — staged changes only
    • --commit <sha> — a single commit vs its parent
    • --json — print raw analysis JSON to stdout
    • --max-chars <n> — cap diff characters sent to the model (default 80,000)
    • --no-open — skip auto-opening the browser

    Provider and Model Support

    diff-glance supports multiple AI providers selected automatically by which environment variable is set. Supported providers include OpenAI (default model gpt-4o-mini), Google Gemini (gemini-3.6-flash), OpenRouter (openai/gpt-4o-mini), Groq (llama-3.3-70b-versatile), and Ollama for fully local inference (llama3.2). A custom --base-url flag accepts any OpenAI-compatible endpoint, including Vertex AI and Anthropic via OpenRouter. Key resolution order prioritizes --api-key over environment variables, with Ollama activated automatically when the base URL is a loopback address and no other key is present.

    Privacy and Local-First Design

    The README explicitly states that the HTML viewer listens only on 127.0.0.1 and serves a single generated page — nothing is uploaded except the truncated diff sent to whichever model is configured. Pointing --base-url at a local Ollama server keeps the entire request on localhost with no network egress. Lockfiles and binaries are stripped before the model sees the patch, reducing both token usage and accidental secret exposure.

    Current Status

    The repository was created and last updated on 2025-08-27, with the project at an early stage (5 stars, 0 forks). It is actively published to npm and available via npx diff-glance. The core language is TypeScript and the project is licensed MIT.

    diff-glance - 1

    Community Discussions

    Be the first to start a conversation about diff-glance

    Share your experience with diff-glance, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT license. Use, modify, and distribute freely.

    • Plain-English ELI5 diff summaries
    • Mermaid architecture diagrams
    • Local HTTP viewer
    • JSON and HTML export
    • Multi-provider AI support (OpenAI, Gemini, Groq, Ollama, OpenRouter)

    Capabilities

    Key Features

    • Plain-English ELI5 summaries of git diffs
    • Mermaid architecture diagrams of changed modules
    • Local ephemeral HTTP viewer bound to 127.0.0.1
    • JSON output mode (--json)
    • HTML file export (-o report.html)
    • Staged-only diff mode (--staged)
    • Single commit diff mode (--commit <sha>)
    • Configurable max diff characters sent to model
    • Lockfile, binary, and generated directory filtering
    • Support for OpenAI, Gemini, OpenRouter, Groq, and Ollama providers
    • Custom OpenAI-compatible base URL support
    • Fully local inference via Ollama

    Integrations

    OpenAI
    Google Gemini
    OpenRouter
    Groq
    Ollama
    Vertex AI
    Anthropic (via OpenRouter)
    Git
    npm
    Node.js
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate diff-glance and help others make informed decisions.

    Developer

    alvynmcq

    alvynmcq is an independent developer building open-source developer tooling on GitHub. The diff-glance project converts git diffs into AI-powered summaries and architecture diagrams, published under the MIT license.

    Read more about alvynmcq
    GitHub
    1 tool in directory

    Similar Tools

    meat icon

    meat

    A CLI tool that uses AI to abridge code diffs into concise "reading diffs," surfacing only the conceptually important changes for human review of agent-written code.

    Stage CLI icon

    Stage CLI

    AI-powered CLI code review tool that organizes local code changes into logical chapters and highlights what to review before diving into the code.

    Hunk icon

    Hunk

    A review-first terminal diff viewer for humans and AI agents, with multi-file review streams, inline agent annotations, and syntax highlighting.

    Browse all tools

    Related Topics

    Code Review

    Tools that help review, analyze, and improve code quality.

    109 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    232 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    804 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions