CodeInsight AI is a cutting-edge web application designed to bridge the gap between academic coding and professional software engineering. Built with the Gemini 3 Pro API, it provides students with instant, high-quality code reviews, complexity analysis, and technical interview preparation.
- Automated Debugging: Identifies logical errors, syntax issues, and edge cases.
- Severity Levels: Categorizes issues as Critical, Warning, or Suggestion to help you prioritize fixes.
- Performance Gains: Suggests more efficient algorithms or data structures.
- Refactoring Diffs: Provides "Improved Code" snippets that you can compare directly with your own logic.
- Conceptual Clarity: Translates complex nested loops and abstract concepts into simple, relatable metaphors. Perfect for mastering difficult topics like recursion or dynamic programming.
-
Big O Metrics: Automatically calculates Time and Space complexity (
$O(n)$ ,$O(log n)$ , etc.). - Reasoning: Provides a breakdown of why your code has its specific complexity profile.
- Dynamic Questions: Generates 3-5 technical interview questions based specifically on the code you just wrote.
- Hint System: Includes progressive hints to help you practice solving problems under pressure.
- Frontend: React (State management & UI)
- Styling: Tailwind CSS (Responsive, modern design)
- AI Engine: Google Gemini 3 Pro (Advanced reasoning & code analysis)
- Code Editor: Monaco Editor (The engine behind VS Code)
- Icons & Components: Custom Tailwind-based UI system
- A modern web browser.
- A Google AI Studio API Key.
- Clone the repository.
- Install dependencies:
npm install
- Add your API key to your environment variables (
process.env.API_KEY). - Launch the development server:
npm start
This project demonstrates a developer's ability to:
- Integrate Complex APIs: Leveraging LLMs (Large Language Models) for structured data extraction.
- Focus on DX (Developer Experience): Providing a high-quality editor and actionable feedback.
- UI/UX Design: Creating a clean, accessible, and responsive dashboard.
- Problem Solving: Building a tool that solves a real-world pain point for thousands of computer science students.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Developed with ❤️ for the next generation of software engineers.