EveryDev.ai
Subscribe
Home
Tools

3,277+ 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. Hunk
    Hunk icon

    Hunk

    Code Review
    Featured

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

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source under the MIT license. Install via npm, Homebrew, or Nix.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Code ReviewCommand Line AssistantsAI Coding Assistants

    Alternatives

    Atlassian Rovo DevCodex Plugin for Claude CodeStage CLI
    Developer
    ModemToronto, CanadaEst. 2025$4.4M raised

    Listed Jul 2026

    About Hunk

    Hunk is an open-source, review-first terminal diff viewer built by Modem and released under the MIT license. It is designed for both human developers and AI coding agents, offering a fast, visually polished interface that works across macOS, Linux, and Windows. The project has accumulated over 7,800 GitHub stars and reached v0.17.6 as of late July 2026.

    What It Is

    Hunk is a terminal UI (TUI) application that replaces plain-text git diff output with an interactive, multi-file review stream. Rather than scrolling through raw patch text, users navigate a sidebar of changed files, view split or stacked diff layouts, and read syntax-highlighted code changes. It is built on OpenTUI and Pierre diffs, and is distributed as an npm package (hunkdiff), a Homebrew formula, and a Nix flake.

    Agent-First Design

    What sets Hunk apart from tools like delta, difftastic, or diff-so-fancy is its first-class support for AI coding agents. Agents can connect to a live Hunk review session, navigate hunks, and leave inline comments and annotations that render directly beside the code they describe — keeping AI reasoning in the diff rather than in a separate tab or chat window. The workflow is:

    • The developer opens hunk diff or hunk show in one terminal pane.
    • The agent runs hunk session review --repo . --json and hunk session comment add to inspect and annotate the live session.
    • A skill file (retrieved via hunk skill path) can be loaded by any compatible coding agent to enable this workflow automatically.

    Review Workflow and Navigation

    Hunk mirrors Git's diff-style commands but opens changesets in an interactive UI:

    • hunk diff — review current working tree changes, including untracked files
    • hunk diff --watch — auto-reload as the working tree changes
    • hunk show — review the latest commit
    • hunk diff before.ts after.ts — compare two files directly
    • git diff --no-color | hunk patch - — pipe a patch from stdin

    It also auto-detects Jujutsu and Sapling version control systems, using native revsets inside those workspaces. Hunk can be set as the Git pager so git diff and git show open in Hunk automatically.

    Layouts, Themes, and Configuration

    Hunk supports split, stacked, and responsive auto layouts that adapt to terminal width, with runtime toggles for line numbers and line wrapping. Six built-in themes are shown on the homepage (Graphite, Midnight, Ember, Zenburn, Catppuccin Mocha, Catppuccin Latte), and users can define custom themes that inherit from any built-in theme and override specific colors or TextMate syntax scopes. Configuration is stored in ~/.config/hunk/config.toml or a per-repo .hunk/config.toml, covering theme, layout mode, VCS backend, watch mode, tab width, and agent note display.

    Extensibility and Embedding

    Hunk includes an experimental extension API (Phase 1) that loads plain TypeScript extensions from the user config directory or a trusted repository's .hunk/extensions/ folder. Extensions can contribute themes, add VCS backends, rewrite changesets before review (e.g., collapsing lockfiles), replace the file-navigation sidebar with a custom React component, and react to lifecycle events. Hunk also publishes HunkDiffView and lower-level primitives from hunkdiff/opentui for embedding the same diff renderer in other OpenTUI applications.

    Update: v0.17.6

    The latest release is v0.17.6, published on July 25, 2026. The repository shows active development with frequent pushes and 100 open issues as of late July 2026. The extension API is marked experimental and may change between minor releases; breaking changes are called out in release notes. The older [custom_theme.syntax] role table is deprecated and will be removed in the next major release, with syntax_scopes as the replacement.

    Hunk - 1

    Community Discussions

    Be the first to start a conversation about Hunk

    Share your experience with Hunk, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source under the MIT license. Install via npm, Homebrew, or Nix.

    • Multi-file review stream
    • Inline agent annotations
    • Split/stack/auto layouts
    • Watch mode
    • Syntax highlighting and themes

    Capabilities

    Key Features

    • Multi-file review stream with sidebar navigation
    • Inline AI and agent annotations beside the code
    • Split, stack, and responsive auto layouts
    • Watch mode for auto-reloading file and Git-backed reviews
    • Keyboard, mouse, pager, and Git difftool support
    • Syntax highlighting with multiple built-in themes
    • Custom theme support with TextMate syntax scope overrides
    • Git, Jujutsu, and Sapling VCS backend support
    • Pager-compatible mode for piping patches from stdin
    • Experimental TypeScript extension API
    • OpenTUI component for embedding diff renderer
    • Agent skill integration for live session review

    Integrations

    Git
    Jujutsu
    Sapling
    npm
    Homebrew
    Nix
    OpenTUI
    Pierre diffs
    API Available
    View Docs

    Demo Video

    Hunk Demo Video
    Watch on YouTube

    Ratings & Reviews

    No ratings yet

    Be the first to rate Hunk and help others make informed decisions.

    Developer

    Modem

    Modem builds developer tools focused on the agentic coding workflow. The team sponsors and maintains Hunk, an open-source terminal diff viewer designed for both human developers and AI agents. Modem's work centers on making code review and agent collaboration faster and more ergonomic in the terminal.

    Founded 2025
    Toronto, Canada
    $4.4M raised
    7 employees

    Used by

    Sentry
    Superwhisper
    Kernel
    Zumper
    +3 more
    Read more about Modem
    WebsiteGitHubX / Twitter
    2 tools in directory

    Similar Tools

    Atlassian Rovo Dev icon

    Atlassian Rovo Dev

    Atlassian's agentic AI for software teams that plans, generates, and reviews code across the terminal, IDE, Jira, Bitbucket, and GitHub.

    Codex Plugin for Claude Code icon

    Codex Plugin for Claude Code

    An open-source Claude Code plugin that lets you run OpenAI Codex code reviews and delegate tasks to Codex directly from within your Claude Code workflow.

    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.

    Browse all tools

    Related Topics

    Code Review

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

    93 tools

    Command Line Assistants

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

    193 tools

    AI Coding Assistants

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

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