PR Pilot is a lightweight desktop app for reviewing your work before it becomes a pull request. Point it at a local git repository, compare two branches, and get an AI-generated code review and PR description — all running locally, with your own API key.
Built with Tauri + React + TypeScript on the frontend and Rust (git2) for local git access.
- Repository picker — choose any local git repo and keep a recent-folders list for quick access
- Repo overview — current branch, remote, dirty state, ahead/behind tracking, contributor stats, repo size, and stale/merged branches
- Branch comparison — pick a base and compare branch, see commit count, files changed, and insertion/deletion stats
- Commit timeline — scrollable history of the current branch's commits
- Configurable AI provider — point at any OpenAI-compatible endpoint (model, temperature, max tokens), stored locally
- AI code review — sends the diff for analysis, with severity-tagged findings mapped to specific files/hunks and per-category quality scores
- PR description generation — AI-written title and description, honoring the repo's own PR template (or a fallback saved in Settings) and editable before use; can open a prefilled GitHub "Create PR" page directly
- Node.js 20+
- Rust
- Tauri's platform-specific system dependencies — see the Tauri prerequisites guide
npm installnpm run tauri devnpm run tauri buildOpen the in-app Settings screen to connect an AI provider:
- API URL (any OpenAI-compatible endpoint)
- API key
- Model identifier
- Temperature and max output tokens
Settings and recent folders are persisted locally via tauri-plugin-store; nothing is sent anywhere except the AI endpoint you configure.
- Tauri 2 + Rust (
git2for git operations) - React 19 + TypeScript + Vite
- TanStack Router
- Tailwind CSS + shadcn/ui (Radix primitives)
- React Hook Form + Zod
- Motion (animations)