An AI-powered code review tool — paste your code or upload a file and get instant, intelligent feedback powered by GPT-4o.
🌐 Live Demo: https://code-review-ai-frontend-tcy4.onrender.com
- 📋 Paste code directly into the editor for instant review
- 📁 Upload code files for automated analysis
- 🤖 AI-powered feedback using OpenAI GPT-4o
- 🕐 Review history — track past submissions in session
- 🛡️ Rate limiting — 10 requests/minute to prevent abuse
- 🌍 CORS-enabled for seamless frontend-backend communication
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, TypeScript, Tailwind CSS |
| Backend | Python, FastAPI, Uvicorn |
| AI | OpenAI GPT-4o |
| Rate Limiting | SlowAPI |
| Deployment | Render (Web Services) |
- Node.js 18+
- Python 3.10+
- OpenAI API key
git clone https://github.com/PerceptronCipher/code-review-ai.git
cd code-review-aicd backend
pip3 install -r requirements.txtCreate a .env file in backend/:
OPENAI_API_KEY=your_openai_api_key_hereStart the server:
python -m uvicorn main:app --host 0.0.0.0 --port 8000 --reloadcd frontend
npm install
npm run devApp runs at http://localhost:3000
Contributions are welcome!
- Fork the repo
- Create a feature branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m "feat: add your feature" - Push to the branch:
git push origin feature/your-feature - Open a Pull Request
Please follow conventional commits and keep PRs focused.
MIT © PerceptronCipher and Hilosthone