https://github.com/pakhmutov/code-review-assistant
AI-powered code review tool. Paste a snippet — get streamed feedback across Bugs, Improvements, Security, and Code Style.
https://github.com/pakhmutov/code-review-assistant
ai code-review gemini nextjs react typescript vercel
Last synced: 4 days ago
JSON representation
AI-powered code review tool. Paste a snippet — get streamed feedback across Bugs, Improvements, Security, and Code Style.
- Host: GitHub
- URL: https://github.com/pakhmutov/code-review-assistant
- Owner: pakhmutov
- License: mit
- Created: 2026-05-17T20:19:57.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-18T23:27:44.000Z (about 1 month ago)
- Last Synced: 2026-05-18T23:53:08.950Z (about 1 month ago)
- Topics: ai, code-review, gemini, nextjs, react, typescript, vercel
- Language: TypeScript
- Homepage: https://code-review-assistant-vp.vercel.app
- Size: 249 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code Review Assistant





AI-powered code review in your browser. Paste a snippet, get structured feedback across four categories — streamed in real time.
**[Live →](https://code-review-assistant-vp.vercel.app)**

---
## What it does
- Paste code and select a language
- Review streams back via Gemini 2.5 Flash with animated category status
- Four categories: **Bugs**, **Improvements**, **Security**, **Code Style**
- Copy results, paste from clipboard, browse last 10 reviews from history
- Rate limited at 10 requests/min per IP
## Stack
| Layer | Tech |
|---|---|
| Framework | Next.js 16 (App Router) |
| Language | TypeScript |
| Styles | SCSS (CSS Modules) |
| AI | Gemini 2.5 Flash Lite |
| Rate limiting | Upstash Redis |
| Deploy | Vercel |
## Running locally
```bash
npm install
cp .env.example .env.local
# fill in the env vars
npm run dev
```
Open [http://localhost:3000](http://localhost:3000).
## Environment variables
```env
GEMINI_API_KEY= # Google AI Studio
NEXT_PUBLIC_APP_URL= # your deployment URL (used for OG image)
UPSTASH_REDIS_REST_URL= # Upstash Redis URL
UPSTASH_REDIS_REST_TOKEN= # Upstash Redis token
```
Get a free Gemini key at [aistudio.google.com](https://aistudio.google.com).
Get free Upstash Redis at [upstash.com](https://upstash.com).