A modern, full-stack web application that leverages Generative AI (Groq llama ) to analyze, review, and optimize source code. Built with Python Flask backend and vanilla JavaScript frontend.
- ✅ User signup with username, email, and password
- ✅ Secure login with Supabase authentication
- ✅ Password reset functionality
- ✅ Session management with JWT tokens
- ✅ Logout functionality
- ✅ Multi-language support: Python, JavaScript, Java, C++, Go
- ✅ Automated code review with AI-powered analysis
- ✅ Bug detection - Identifies errors and potential issues
- ✅ Performance optimization suggestions
- ✅ Best practice violations detection
- ✅ Security vulnerability scanning
- ✅ Fix Bugs - Automatically corrects identified bugs
- ✅ Improve Performance - Optimizes code for better performance
- ✅ Refactor Code - Enhances code quality and maintainability
- ✅ Time Complexity calculation (Big O notation)
- ✅ Space Complexity analysis
- ✅ Nesting Depth measurement
- ✅ Cyclomatic Complexity scoring
- ✅ Syntax-aware text editor with line numbers
- ✅ 500-line limit enforcement
- ✅ Tab key support for indentation
- ✅ Real-time character and line count
- ✅ Full keyboard functionality (like Notepad)
- ✅ Before vs After side-by-side view
- ✅ Complexity metrics comparison
- ✅ Visual diff display
- ✅ Download as TXT - Export refined code
- ✅ Download as PDF - Print-optimized format
- ✅ Share functionality - Generate shareable links
- ✅ Apply Changes - Replace original code with optimized version
-
✅ Modern, gradient-based design
-
✅ Responsive layout (mobile-friendly)
-
✅ Toast notifications for user feedback
-
✅ Loading indicators
-
✅ Smooth animations and transitions
-
✅ Dark theme optimized for coding
-
Code Analysis: ~2-5 seconds
-
Code Refinement: ~3-7 seconds
-
Authentication: <1 second
-
Frontend Load: <500ms
- Real-time collaboration
- Code history/versioning
- Custom AI models
- IDE integrations
- Team workspaces
- Advanced diff viewer
- Code snippets library
- Performance benchmarking
This project is created for educational and demonstration purposes.
- Flask - Web framework
- Google Generative AI - Code analysis
- Supabase - Authentication
- Flask-CORS - Cross-origin requests
- Vanilla JavaScript - No frameworks
- CSS3 - Modern styling
- HTML5 - Semantic markup
- Google Gemini - AI model
- Supabase - Backend-as-a-Service
✅ Zero Dead Buttons - Every feature is fully functional ✅ Real Authentication - Actual Supabase integration ✅ Live AI Analysis - Real Gemini API calls ✅ Modern UI - Professional, gradient-based design ✅ Mobile Responsive - Works on all devices ✅ Production Ready - Can be deployed immediately
Built with ❤️ using AI-powered development