Skip to content

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skills Stack Icoziv


Logo

An AI powered code reviewer
Explore the docs »

View Demo

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

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.

Built With

  • 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

(back to top)

Getting Started

Follow these steps to set up the project locally and connect it to the Cohere API using Vercel.

Prerequisites

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

Installation

1. Create a Cohere API Token

  • Go to the Cohere dashboard
  • Sign up or log in
  • Navigate to the API Keys section
  • Generate a new API key

⚠️ Keep this token secure — you’ll use it as an environment variable.

2. Set Up a Vercel Account

  • Go to Vercel and create an account

  • Install the Vercel CLI (optional but recommended):

npm install -g vercel
  • Log in via CLI:
vercel login

3. Clone the Repository

git clone https://github.com/ivanaogrizovic/trycatch.git
cd trycatch

4. Add Environment Variable in Vercel

  • 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

5. Install Dependencies

npm install

6. Run the project

Start both the React app and Vercel:

vercel dev

(back to top)

Usage

You 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! 😊

(back to top)

License

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.

SAFE-HAND MADE CODE

(back to top)

Contact

You can find me on LinkedIn.

Project Link: https://github.com/ivanaogrizovic/trycatch

Demo Link: https://trycatch-topaz.vercel.app/

Icoziv-icons Icoziv-icons

(back to top)

About

An AI powered code reviewer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages