Git diff viewer for code review
Top 32.4% on sourcepulse
ReviewIt is a lightweight, zero-configuration command-line tool designed for efficient code review. It spins up a local web server to display Git commit diffs in a GitHub-like "Files changed" view, catering to developers seeking a streamlined review process without leaving their terminal. The tool also offers an integrated commenting system and prompts for AI code assistants like Claude.
How It Works
ReviewIt leverages a Node.js backend powered by Express and Commander.js for CLI argument parsing. It uses simple-git
to process Git diffs and Octokit for GitHub API interactions, enabling review of local commits, branches, or remote pull requests. The frontend is built with React 18, TypeScript, and Vite, featuring Tailwind CSS for styling and Prism.js for syntax highlighting, which is dynamically loaded based on file extensions for performance.
Quick Start & Requirements
npx reviewit <commit-ish>
gh auth login
) or GITHUB_TOKEN
environment variable.Highlighted Details
--tui
) option for diff viewing.Maintenance & Community
The project is actively maintained by yoshiko-pg. Community links are not explicitly provided in the README.
Licensing & Compatibility
Limitations & Caveats
The "working" keyword for diffs does not support a compare-with
argument. While public repositories can be reviewed without authentication, they are subject to rate limits.
2 days ago
Inactive