An AI-powered GitHub PR code reviewer built with FastAPI and Groq (LLaMA 3.3-70b).
- Open or update a PR on a connected GitHub repo
- GitHub sends a webhook to the bot
- Bot fetches the PR diff and sends it to Groq for review
- AI review is posted as a comment on the PR
- FastAPI
- Groq API (LLaMA 3.3-70b)
- GitHub Webhooks
- Deployed on Railway
- Clone the repo
- Create
.envwithGITHUB_TOKEN,GROQ_API_KEY, andGITHUB_WEBHOOK_SECRET - Install deps:
pip install -r requirements.txt - Run:
uvicorn main:app --host 0.0.0.0 --port 8000 - Set webhook URL in your GitHub repo settings