Self-hosted AI code review bot for GitHub PRs.
MIT-licensed alternative to CodeRabbit, Qodo Merge, and Copilot Code Review. Bring your own LLM — OpenAI, Anthropic, DeepSeek, or local Ollama.
| CodeRabbit | Qodo Merge | OpenReview | |
|---|---|---|---|
| License | Proprietary | MIT (complex) | MIT (minimal) |
| Self-hosted | ❌ | ✅ | ✅ |
| Setup | SaaS | Docker + config | Docker compose, 3 env vars |
| LLM | Hidden | Any | Any OpenAI-compatible |
| Code | Closed | 100K+ lines | ~300 lines |
| Customize | .coderabbit.yaml |
configuration.toml |
Edit the source |
git clone https://github.com/kunci115/open-review
cd open-review
cp .env.example .env # fill in LLM_API_KEY + GITHUB_TOKEN
docker compose up -dCreate a webhook on your repo:
- URL:
https://your-server:4000/webhook - Events: Pull requests
- Content type:
application/json
Or use the public endpoint via ngrok for testing:
ngrok http 4000Open a PR → OpenReview posts a review within 2-4 minutes.
| Env Var | Required | Default |
|---|---|---|
LLM_BASE_URL |
Yes | https://api.openai.com/v1 |
LLM_API_KEY |
Yes | — |
LLM_MODEL |
No | gpt-4o |
GITHUB_TOKEN |
Yes | — |
PORT |
No | 4000 |
DeepSeek (recommended — cheap + good):
LLM_BASE_URL=https://api.deepseek.com/v1
LLM_MODEL=deepseek-chatOpenAI:
LLM_BASE_URL=https://api.openai.com/v1
LLM_MODEL=gpt-4oAnthropic (via compatible proxy):
LLM_BASE_URL=https://api.anthropic.com/v1
LLM_MODEL=claude-sonnet-4Ollama (local, free):
LLM_BASE_URL=http://localhost:11434/v1
LLM_MODEL=qwen3-coder- 🔴 Security: SQL injection, XSS, hardcoded secrets, unsafe deserialization
- 🟡 Bugs: null refs, race conditions, incorrect error handling
- 🟠 Performance: N+1 queries, missing indexes, inefficient loops
- 🔵 Patterns: anti-patterns, broken conventions, missing validation
- GitLab + Bitbucket support
-
openreview.yamlconfig file (path-specific rules) - PR summarization (
/describe-style) - Code suggestions with fix snippets
- Review dashboard UI
- Slack/Discord notifications
OpenReview is MIT licensed, self-hosted, and will stay that way forever.
If it saves your team hours of code review, consider supporting:
| Tier | Price | Includes |
|---|---|---|
| Supporter | $5/mo | Name in README, priority issues |
| Pro | $25/mo | Custom review rules, early access |
| Enterprise | $100/mo | Dedicated support, custom LLM config |
Built with ❤️ by Rino • MIT • Self-hosted • No vendor lock-in