Demo
Terminal previewhunk
Overview
Hunk is a keyboard-driven terminal UI for reviewing Git diffs.
It lets you move through files and hunks, switch diff layouts, and adjust display options while inspecting changes.
Review-first terminal diff viewer for agentic coders
Keyboard Shortcuts
Filter files and changes/
Show keyboard shortcuts?
Move to the next or previous hunk] / [
Move to the next or previous file. / ,
Switch diff layouts0 / 1 / 2
Toggle the sidebars
Toggle line numbersl
Toggle line wrappingw
Latest Release
v0.22.0
Released: Sep 10, 2026What's Changed
- test(website): cover stable changelog promotion by @benvinegar in https://github.com/modem-dev/hunk/pull/973
- feat(website): add VCS landing pages and sitemap alias by @benvinegar in https://github.com/modem-dev/hunk/pull/970
- Add hunk-gh, hunk-viewed to hunk-extension marketplace by @benvinegar in https://github.com/modem-dev/hunk/pull/981
- fix(pager): stop CPU pegging and truncation on large piped documents by @benvinegar in https://github.com/modem-dev/hunk/pull/978
- feat(extensions): show delegated review metadata by @benvinegar in https://github.com/modem-dev/hunk/pull/986
- feat(extensions): add review reload requests by @benvinegar in https://github.com/modem-dev/hunk/pull/988
- build: upgrade Bun to 1.4.2 by @benvinegar in https://github.com/modem-dev/hunk/pull/990
- feat: add static-first history browsing by @benvinegar in https://github.com/modem-dev/hunk/pull/979
- refactor(ui): share desktop chrome with history by @benvinegar in https://github.com/modem-dev/hunk/pull/983
- feat(ui): make history automatically responsive by @benvinegar in https://github.com/modem-dev/hunk/pull/987
- fix(ui): prepare history reviews before terminal handoff by @benvinegar in https://github.com/modem-dev/hunk/pull/989
- refactor(ui): keep history reviews in one renderer by @benvinegar in https://github.com/modem-dev/hunk/pull/992
- refactor: move hunkdiff into packages/hunk by @benvinegar in https://github.com/modem-dev/hunk/pull/997
- docs(website): list hunk-history in the extension directory by @any-victor in https://github.com/modem-dev/hunk/pull/995
- refactor(ui): route surfaces through one session runtime by @benvinegar in https://github.com/modem-dev/hunk/pull/998
- refactor(extensions): centralize session ownership by @benvinegar in https://github.com/modem-dev/hunk/pull/999
- fix(ui): keep suspended jobs alive upon fg by @HackAttack in https://github.com/modem-dev/hunk/pull/996
- feat(ui): collapse sidebar tree folders by @benvinegar in https://github.com/modem-dev/hunk/pull/1009
- test(ui): harden job control resume coverage by @benvinegar in https://github.com/modem-dev/hunk/pull/1010
- refactor: extract bundled Git provider by @benvinegar in https://github.com/modem-dev/hunk/pull/1001
- refactor: extract shared VCS infrastructure by @benvinegar in https://github.com/modem-dev/hunk/pull/1005
- refactor: extract bundled Jujutsu provider by @benvinegar in https://github.com/modem-dev/hunk/pull/1002
- refactor: extract bundled Sapling provider by @benvinegar in https://github.com/modem-dev/hunk/pull/1003
- feat(cli): support replies to review comments by @benvinegar in https://github.com/modem-dev/hunk/pull/1012
- feat(ui): group history by day by @benvinegar in https://github.com/modem-dev/hunk/pull/1011
- docs(architecture): refresh maintainer guidance by @benvinegar in https://github.com/modem-dev/hunk/pull/1013
- chore: organize repository scripts by @benvinegar in https://github.com/modem-dev/hunk/pull/1014
- fix(ui): save log view preferences by @benvinegar in https://github.com/modem-dev/hunk/pull/1015
- refactor(ui): use default diff row memo comparison by @benvinegar in https://github.com/modem-dev/hunk/pull/1017
- refactor(ui): inline diff row dispatch by @benvinegar in https://github.com/modem-dev/hunk/pull/1018
- refactor(ui): require planned diff rows by @benvinegar in https://github.com/modem-dev/hunk/pull/1019
- feat(ui): show history commit metadata in reviews by @benvinegar in https://github.com/modem-dev/hunk/pull/1016
- refactor(ui): make diff row dispatch exhaustive by @benvinegar in https://github.com/modem-dev/hunk/pull/1025
- refactor(ui): share diff row note targets by @benvinegar in https://github.com/modem-dev/hunk/pull/1026
- refactor(ui): clarify raw diff row planning by @benvinegar in https://github.com/modem-dev/hunk/pull/1027
- chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in https://github.com/modem-dev/hunk/pull/966
- feat(dev): add disposable Firecracker shell by @benvinegar in https://github.com/modem-dev/hunk/pull/1030
- fix(cli): print static reviews without a tty by @benvinegar in https://github.com/modem-dev/hunk/pull/1029
- docs(video): require readable terminal commands by @benvinegar in https://github.com/modem-dev/hunk/pull/976
- fix(git): shorten SHAs in comparison titles by @benvinegar in https://github.com/modem-dev/hunk/pull/1035
- fix(keys): match alt across terminal protocols by @benvinegar in https://github.com/modem-dev/hunk/pull/991
- docs(website): list hunk-compact-filenav in the extension directory by @rschoch in https://github.com/modem-dev/hunk/pull/1034
- feat(ui): animate docked pane transitions by @benvinegar in https://github.com/modem-dev/hunk/pull/941
- fix(session): report daemon health probe failures by @samuela in https://github.com/modem-dev/hunk/pull/927
- feat(review): add multiline comment selections by @benvinegar in https://github.com/modem-dev/hunk/pull/931
- feat(log): review con
Discussions