Skip to content

A powerful code analysis and auto-fixing tool powered by AI. This application helps developers identify and fix code issues using OpenAI's GPT-3.5 and Google's Gemini AI.

Notifications You must be signed in to change notification settings

atharv01h/Ai-Code-Fixer

Repository files navigation

Code Error Helper

A powerful code analysis and auto-fixing tool powered by AI. This application helps developers identify and fix code issues using OpenAI's GPT-3.5 and Google's Gemini AI.

Features

  • 🖥️ Real-time code editing with Monaco Editor
  • 🔍 Instant code analysis and error detection
  • 🤖 AI-powered code fixing using OpenAI GPT-3.5 and Gemini AI
  • 💡 Smart code suggestions and best practices
  • 🎨 Beautiful dark theme UI
  • 📱 Responsive design for all devices

Getting Started

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Create a .env file with your API keys:
    VITE_OPENAI_API_KEY=your_openai_key_here
    VITE_GEMINI_API_KEY=your_gemini_key_here
    
  4. Start the development server:
    npm run dev

Usage

  1. Paste your code into the editor
  2. Select the appropriate language
  3. Click "Analyze Code" to detect issues
  4. Use "Auto-Fix with AI" to get AI-powered suggestions
  5. Review and apply the suggested fixes

Technologies Used

  • React
  • TypeScript
  • Tailwind CSS
  • Monaco Editor
  • OpenAI API
  • Google Generative AI
  • Vite
  • Lucide Icons

License

This project is licensed under the MIT License - see the LICENSE file for details

Created by Atharv Hatwar

About

A powerful code analysis and auto-fixing tool powered by AI. This application helps developers identify and fix code issues using OpenAI's GPT-3.5 and Google's Gemini AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published