Skip to content

Latest commit

Β 

History

History
57 lines (40 loc) Β· 1.99 KB

File metadata and controls

57 lines (40 loc) Β· 1.99 KB

TypeScript Bun npm MIT

Interactive terminal diff reviewer

Website Β· Documentation

Features

  • Line and range annotations β€” comment on a single line or select a range and annotate the whole block.
  • Hunk and file navigation β€” jump between hunks, annotations, and files without leaving the keyboard.
  • PR mode β€” review every commit between a branch and HEAD with --against.
  • Markdown export β€” export annotations to revu-review.md, with an optional AI context header, by pressing e.
  • Persistent reviews β€” annotations autosave to .revu.json and survive across sessions.
  • Themeable β€” switch theme and view mode from an in-app settings panel, saved to your user config.

Install

npm install -g @kud/revu-cli

Usage

$ revu                  # review staged/unstaged changes in the current repo
$ revu src/foo.ts       # review a specific file
$ revu --against main   # review all commits between a branch and HEAD (PR mode)

Inside the reviewer, move with ↑↓ / j k, press ↡ to annotate a line, hold shift to select a range, and e to export to revu-review.md.

Development

git clone https://github.com/kud/revu-cli.git
cd revu-cli
mise install
mise run dev    # run in hot-reload mode
mise run build  # compile a standalone binary

πŸ“š Full documentation β†’ revu-cli/docs