onceover
v0.2.1
Published
Give your code a once-over. Beautiful git diff viewer in your browser — one command, zero config.
Downloads
296
Maintainers
Readme
onceover
Give your code a once-over.
Your AI agent just rewrote half your codebase. git diff in the terminal is a mess. Opening your IDE just to review changes feels heavy. You just want a quick, clean look at what changed.
npx onceoverThat's it. A browser tab opens with a GitHub-quality diff view. No server, no config, no install. The CLI exits immediately — nothing left running.

Inline Feedback
Spot something? Click the + on any line number to leave a comment. A review sidebar builds a structured prompt as you go — file paths, line numbers, and your instructions. Hit Copy Review and paste it straight into Claude Code, Cursor, or any AI coding tool.
npx onceover → scan → comment → copy → paste into terminal → agent fixes → npx onceover againComments persist across refreshes via localStorage (keyed by diff content). New diff = clean slate.
Usage
npm install -g onceover # or just use npx
onceover # unstaged changes
onceover --staged # staged changes only
onceover --all # staged + unstaged vs HEAD
onceover main # diff against a branch
onceover HEAD~3 # last 3 commits
onceover abc123 # changes since a specific commitRequires Node.js 18+ and git.
How it works
- Runs
git diffin your current repo - Injects the diff into a pre-built HTML template
- Writes it to a temp file
- Opens your browser
- Done
The HTML viewer is a React app bundled into a single file at build time (~115KB gzipped). At runtime, the CLI just does string replacement and file I/O — it's near-instant.
License
MIT
