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.
- 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.
Before setting up the project, ensure you have the following installed:
- Git: Download Git
- Node.js (Latest LTS version): Download Node.js
- Python (For backend scripts, if needed): Download Python
- Docker (Optional, for containerized deployment): Download Docker
git clone git@github.com:aryan9653/ai-code-reviewer.git
cd ai-code-reviewernpm installCreate a .env file in the project root and add the following:
OPENAI_API_KEY=your_openai_api_key
GITHUB_ACCESS_TOKEN=your_github_access_tokenReplace your_openai_api_key and your_github_access_token with actual keys.
npm startOnce running, open your browser and navigate to:
http://localhost:3000
docker build -t ai-code-reviewer .
docker run -p 3000:3000 --env-file .env ai-code-reviewerFeel free to fork the repository, create a new branch, make improvements, and submit a pull request.
This project is licensed under the MIT License.