Review:本地运行的 Git 分支与 GitHub PR 代码审查桌面应用
hamedghaderi/review
开源 MIT 许可的桌面应用 Review 将 Git 分支与 GitHub PR 审查放在本地完成,评论按精确 commit 固定、默认不上传,直到用户主动发布。它支持接入 OpenAI、Anthropic、Gemini、OpenRouter 或任意 OpenAI 兼容端点,也可用 Ollama、LM Studio 本地模型,密钥经系统钥匙串加密,AI 审查员还能调用 MCP 服务器补充上下文。
Code review on your own machine.
A desktop app for Git branches and GitHub pull requests: comment on any line, publish when you're ready,
and add an AI reviewer with your own model, or none.
Website · Download · User guide
Features
- Branches and pull requests in one place. Browse local branches, remotes and GitHub PRs, and press
⌘Pto jump anywhere. - Reviews pinned to exact commits. Each review compares from the merge base, so the diff doesn't move when someone pushes.
- Comments that stay local. Nothing goes to GitHub until you publish. Comments land in your pending review, and you submit it.
- Bring your own AI, or none. OpenAI, Anthropic, Gemini, OpenRouter, any OpenAI-compatible endpoint, or a local model in Ollama or LM Studio. Keys are encrypted with your system keychain.
- MCP tools. AI reviewers can call your MCP servers for context the repository doesn't have, like the ticket behind a change.
Install
Download the installer for your system from the latest release. You need Git installed.
The installers aren't signed yet, so your system asks once on first open. On macOS, go to System Settings → Privacy & Security and click Open Anyway. On Windows, click More info → Run anyway.
Build from source
Requires Node 22.12+ and Git.
git clone https://github.com/hamedghaderi/review.git
cd review
npm install
npm run dev| Command | What it does |
|---|---|
npm run dev |
Run with hot reload |
npm test |
Run the tests (temporary repos, mock servers) |
npm run typecheck |
Type-check main and renderer |
npm run format |
Format with Prettier |
npm run dist |
Build macOS installers (dist:win, dist:linux for the others) |
Docs
- User guide: browsing, pull requests, publishing, AI review, MCP servers
- Architecture: how AI review works, code layout, how reviews are stored
- Releasing: building installers and publishing a release
Support
Review is free and MIT licensed. If it saves you time, you can sponsor it on GitHub, one-time or monthly.
Contributing
Issues and pull requests are welcome. Before opening a PR, run npm test, npm run typecheck and npm run format:check; CI runs the same three. To report a security problem, see SECURITY.md.
License
来源:GitHub · github.com
