Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AI Code Reviewer

AI-powered automated code review and explanation tool that integrates with GitHub, OpenAI (GPT-4 Turbo), and WebSockets to analyze code, provide AI-generated suggestions, and offer real-time chatbot assistance.

Features

  • Automated Code Review: Analyzes code for issues, optimizations, and best practices.
  • AI-Powered Explanations: Uses GPT-4 Turbo to explain code snippets.
  • GitHub Integration: Works with GitHub repositories to review pull requests and commits.
  • Real-time Chatbot Assistance: Uses WebSockets for instant AI-based coding help.

Prerequisites

Before setting up the project, ensure you have the following installed:

Installation

Step 1: Clone the Repository

git clone git@github.com:aryan9653/ai-code-reviewer.git
cd ai-code-reviewer

Step 2: Install Dependencies

npm install

Step 3: Set Up Environment Variables

Create a .env file in the project root and add the following:

OPENAI_API_KEY=your_openai_api_key
GITHUB_ACCESS_TOKEN=your_github_access_token

Replace your_openai_api_key and your_github_access_token with actual keys.

Step 4: Run the Application

npm start

Step 5: Access the Application

Once running, open your browser and navigate to:

http://localhost:3000

Running with Docker (Optional)

docker build -t ai-code-reviewer .
docker run -p 3000:3000 --env-file .env ai-code-reviewer

Contribution

Feel free to fork the repository, create a new branch, make improvements, and submit a pull request.

License

This project is licensed under the MIT License.


About

AI-powered automated code review and explanation tool that integrates with GitHub, OpenAI (GPT-4 Turbo), and WebSockets to analyze code, provide AI-generated suggestions, and offer real-time chatbot assistance.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages