WhatThePatch

A CLI tool that generates AI-powered pull request reviews. Supports GitHub and Bitbucket, multiple AI engines, and runs entirely on your machine.

Quick Install

Terminal
curl -fsSL https://raw.githubusercontent.com/aaronmedina-dev/WhatThePatch/main/install.sh | bash

Your First Review

Terminal
# Review a GitHub PR wtp --review https://github.com/owner/repo/pull/123 # Review a Bitbucket PR wtp --review https://bitbucket.org/workspace/repo/pull-requests/456

Key Features

  • Multiple AI Engines - Claude, OpenAI, and Gemini APIs, their CLI tools, or local models via Ollama
  • GitHub & Bitbucket - Works with both platforms, including private repositories
  • External Context - Include private repos, documentation, or URLs as additional context for better reviews
  • Self-Hosted & Private - Runs on your machine. Your code only goes to the AI provider you choose
  • Multiple Output Formats - HTML (styled), Markdown, or plain text output

Demo

Demo screenshot will be added here

Next Steps