An AI powered code reviewer
Explore the docs »
View Demo
Table of Contents
A React-based real-time AI code review categorized by severity.
Built to explore integrating LLMs into developer workflows. It also experiments with modern UI component libraries to improve responsiveness and visual feedback during AI-generated review states.
- React
- CSS
- Vercel
- Cohere AI
- React Bits (UI components and interaction enhancements)
Limitations:
- This is a free tier LLM API, so it takes a bit to response.
- Code to be reviewed has a 20,000 character limit
- A rate limit is present: 10 requests/60 seconds
Follow these steps to set up the project locally and connect it to the Cohere API using Vercel.
Make sure you have the following installed:
- Node.js (v18 or later)
- npm
npm install npm@latest -g- Vercel account (free tier)
- Upstash account + REST URL & token
- Go to the Cohere dashboard
- Sign up or log in
- Navigate to the API Keys section
- Generate a new API key
-
Go to Vercel and create an account
-
Install the Vercel CLI (optional but recommended):
npm install -g vercel- Log in via CLI:
vercel logingit clone https://github.com/ivanaogrizovic/trycatch.git
cd trycatch- In your Vercel dashboard, create a new project (or import your repo)
- Go to Project Settings → Environment Variables
- Add your Cohere API key and your Redis url and key:
Name: CO_API_KEY
Value: your_api_key
Name: UPSTASH_REDIS_REST_URL
Value: your_url
Name: UPSTASH_REDIS_REST_TOKEN
Value: your_token- Save and deploy your project
npm installStart both the React app and Vercel:
vercel devYou can use this app to get a code review on any programming language.
Please be aware that it's leveraging a free LLM, so the response times can be a quite long at times.But they do come through! 😊
This is a project made for fun and to explore leveraging LLMs.
Don't claim it as your own.
The LLM is provided by Cohere AI.
You can find me on LinkedIn.
Project Link: https://github.com/ivanaogrizovic/trycatch
Demo Link: https://trycatch-topaz.vercel.app/


