Skip to content
smitdighePublic

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Revvy β€” AI-Powered Code Review Assistant

Your AI pair programmer for every PR.

🌐 Live Demo: https://revvy-iota.vercel.app
πŸ”§ API Docs: https://revvy-backend.onrender.com/docs

Revvy is an AI-powered code review platform that analyzes raw code snippets and GitHub Pull Requests to detect bugs, security risks, performance issues, code smells, and style problems β€” all with structured AI-generated feedback.


🎬 Demo Video

Revvy Demo

Click the thumbnail to watch the full demo on YouTube.


✨ Features

  • πŸ” AI Code Review for code snippets
  • πŸ”— GitHub PR Review via PR URL
  • ⚑ Real-time streaming reviews with SSE
  • 🐞 Detects:
    • Bugs
    • Security vulnerabilities
    • Performance issues
    • Code smells
    • Style issues
  • πŸ“Š Code quality scoring (0–100)
  • βœ… Verdict generation (Approve / Request Changes)
  • 🎯 Severity classification
  • πŸŽ› Review filtering by focus area

πŸ› οΈ Tech Stack

πŸ’» Programming Languages

🌐 Frontend Development

βš™οΈ Backend Development

πŸ€– AI & APIs

πŸ“‘ Real-Time / Networking

🎨 UI Libraries


πŸ“‚ Project Structure

Revvy/
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”œβ”€β”€ types/
β”‚   β”‚   β”œβ”€β”€ App.tsx
β”‚   β”‚   β”œβ”€β”€ main.tsx
β”‚   β”‚   └── index.css
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ tsconfig.json
β”‚   └── vite.config.ts
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   └── main.py
β”‚   β”œβ”€β”€ api/
β”‚   β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”‚   β”œβ”€β”€ health.py
β”‚   β”‚   β”‚   β”œβ”€β”€ review.py
β”‚   β”‚   β”‚   └── stream.py
β”‚   β”‚   └── dependencies.py
β”‚   β”œβ”€β”€ core/
β”‚   β”‚   β”œβ”€β”€ github.py
β”‚   β”‚   β”œβ”€β”€ parser.py
β”‚   β”‚   └── reviewer.py
β”‚   β”œβ”€β”€ schemas/
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── Dockerfile
β”‚
β”œβ”€β”€ .gitignore
└── README.md

βš™οΈ Setup

1. Clone the repository

git clone https://github.com/smitdighe/Revvy.git
cd Revvy

2. Backend Setup

cd backend
python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate
pip install -r requirements.txt

Create .env

GROQ_API_KEY=your_key_here
GITHUB_TOKEN=your_github_token

Run backend:

uvicorn app.main:app --reload

Backend runs on:

http://localhost:8000

3. Frontend Setup

cd frontend
npm install
npm run dev

Frontend runs on:

http://localhost:5173

πŸ”Œ API Endpoints

Health Check

GET /api/v1/health

Review Code

POST /api/v1/review/code

PR Review

POST /api/v1/review/pr

Export Review

GET /api/v1/review/{review_id}/export

Stream Review

POST /api/v1/stream/code

Example Use Cases

Code Review

Paste code and receive:

  • AI-detected issues
  • Severity labels
  • Suggestions
  • Summary
  • Quality score

Pull Request Review

Paste GitHub PR URL and get:

  • PR diff analysis
  • File-level issue detection
  • Verdict generation
  • Review summary

Releases

Packages

Contributors

Languages