Hunk is a terminal-based diff viewer designed for interactive code review, offering a multi-file review stream and inline AI annotations for agent-authored changesets.
Source: README View on GitHub →Hunk is gaining attention due to its unique approach to code review, combining terminal efficiency with interactive UI elements and AI annotations. It addresses the pain points of traditional diff tools by providing a more intuitive and efficient way to review code changes, especially for those working with agent-authored changesets. The project stands out for its integration with OpenTUI and Pierre diffs, offering a responsive and customizable review experience.
Source: Synthesis of README and project traitsHunk allows users to review multiple files simultaneously with a sidebar for easy navigation, enhancing the efficiency of code reviews.
Source: READMEUsers can view AI and agent annotations directly beside the code, providing context and insights during the review process.
Source: READMEHunk dynamically adjusts its layout to provide a split or stacked view, optimizing the review experience based on the user's preferences and screen size.
Source: READMEThe watch mode feature allows Hunk to automatically reload files and update reviews as changes are made in the working tree, streamlining the review process.
Source: READMEHunk supports various input methods and integrates with Git difftool, making it accessible and convenient for different workflows.
Source: READMEThe architecture of Hunk is inferred to be modular, with a clear separation of concerns. It leverages OpenTUI for the terminal UI and Pierre diffs for diffing capabilities. The project uses TypeScript as the primary language and employs a monorepo structure with multiple packages, indicating a focus on maintainability and scalability. The data flow is likely driven by a command-line interface that interacts with the underlying diffing logic and UI components.
Source: Code tree + dependency filesCenter: project; inner ring: core feature modules; outer ring: key dependencies. Auto-generated from core_features and tech_stack.key_deps.
opentui@pierre/diffsHunk is suitable for developers and technical teams engaged in code reviews, particularly those working with agent-authored changesets. It is useful in scenarios where a detailed and interactive review process is required, such as in software development, version control, and collaborative coding environments.
Source: READMEv0.12.1 (2026-05-14): Fixed issues with bundled Hunk review skill in standalone prebuilt release archives. v0.12.0 (2026-05-12): Added Homebrew tap release automation and Homebrew-aware startup update notices. v0.12.0-beta.2 (2026-05-11): Published Windows x64 prebuilt npm artifacts for beta installs. v0.12.0-beta.1 (2026-05-10): Added lower-level `hunkdiff/opentui` primitives for embedding Hunk-powered review UIs in custom OpenTUI apps. v0.12.0-beta.0 (2026-05-10): Superseded prerelease.
Hunk is a promising project for developers and teams looking to enhance their code review process with a terminal-based tool that offers a blend of interactivity and efficiency. Its focus on AI annotations and integration with existing workflows makes it a valuable addition to the developer's toolkit, especially for those who prefer a terminal interface.
Hunk is a terminal-based diff viewer designed for interactive code review, offering a multi-file review stream and inline AI annotations for agent-authored changesets.
hunk's core features include: Multi-file review stream with sidebar navigation, Inline AI and agent annotations, Responsive auto split/stack layout, Watch mode for auto-reloading files and Git-backed reviews, Keyboard…
Hunk is gaining attention due to its unique approach to code review, combining terminal efficiency with interactive UI elements and AI annotations.
Hunk is suitable for developers and technical teams engaged in code reviews, particularly those working with agent-authored changesets.