The Online Code Analysis and Debugging Platform - A comprehensive development environment powered by LLaMA 3.3 70B and Gemini AI for intelligent code analysis, debugging, and optimization.
CodeTalk is an advanced web application that combines cutting-edge AI technologies with modern development tools to create a powerful coding assistant. Built with React and TypeScript, it offers developers an intelligent platform for code analysis, debugging, and optimization, leveraging the latest advancements in AI technology.
-
Real-time Analysis Engine
- Instant code structure evaluation
- Syntax error detection
- Performance bottleneck identification
- Code quality assessment
- Best practices recommendations
-
AI-Powered Code Processing
- LLaMA 3.3 70B integration for deep code understanding
- Context-aware code suggestions
- Intelligent error resolution
- Pattern recognition and optimization proposals
- Code documentation generation
-
Image-to-Code Conversion
- Gemini AI integration for image processing
- UI mockup to code conversion
- Design pattern recognition
- Responsive layout generation
- Component structure suggestions
-
Advanced Code Editor
- Syntax highlighting
- Auto-completion
- Code formatting
- Multiple language support
- Real-time error indicators
-
Voice Integration
- Voice-to-code conversion
- Hands-free coding support
- Voice command recognition
- Multi-language voice input
- Customizable voice triggers
-
Chat Interface
- Context-aware code discussions
- Real-time AI responses
- Code snippet sharing
- Historical conversation tracking
- Clear chat functionality
- Message persistence
-
Responsive Design
- Desktop-optimized layout
- Mobile-friendly interface
- Adaptive component sizing
- Touch-friendly controls
- Cross-device synchronization
-
Theme System
- Dark/light mode toggle
- Customizable color schemes
- Syntax highlighting themes
- High-contrast options
- Persistent theme preferences
-
Navigation & Layout
- Timeline-based interface
- Intuitive tool organization
- Quick access shortcuts
- Breadcrumb navigation
- Context-sensitive menus
-
Core Framework
- React 18.2.0
- TypeScript 5.3.3
- Vite build system
- React Router v6 for navigation
-
Styling & UI
- Tailwind CSS for utility-first styling
- ShadCN UI component library
- Custom theme provider
- Responsive grid system
- CSS-in-JS solutions
-
State Management
- React Context API
- Custom hooks for state logic
- Local storage integration
- Session management
- Real-time state synchronization
-
LLaMA 3.3 70B
- Integration via Groq API
- Streaming response handling
- Error recovery mechanisms
- Rate limiting management
- Performance optimization
-
Gemini AI
- Image processing capabilities
- Visual recognition system
- Code generation from images
- Layout analysis
- Component detection
-
LangChain Framework
- AI chain management
- Prompt engineering
- Response processing
- Context management
- Memory systems
-
Firebase Integration
- User authentication
- Session management
- Security rules
- Data persistence
- Real-time updates
-
Protected Routes
- Auth context provider
- Route guards
- Permission management
- Session validation
- Secure redirects
src/
βββ assets/ # Static assets and resources
βββ components/ # Reusable React components
β βββ auth/ # Authentication components
β β βββ AuthContext.tsx
β β βββ AuthPage.tsx
β β βββ ProtectedRoute.tsx
β β βββ UserMenu.tsx
β βββ pages/ # Page components
β β βββ CodeAnalysisPage.tsx
β β βββ CodeWithAi.tsx
β β βββ ContactPage.tsx
β β βββ ErrorAnalysisPage.tsx
β β βββ HelpPage.tsx
β β βββ Home.tsx
β β βββ Image2CodePage.tsx
β β βββ PlayGround.tsx
β β βββ TranslatePage.tsx
β βββ theme/ # Theming components
β βββ ThemeProvider.tsx
β βββ ThemeToggle.tsx
βββ hooks/ # Custom React hooks
βββ lib/ # Third-party library configurations
βββ types/ # TypeScript type definitions
βββ utils/ # Utility functions and helpers- Node.js β₯ 14.0.0
- npm β₯ 6.0.0
- Modern web browser with WebSocket support
Create a .env file in the project root:
# AI Service Configuration
VITE_GROQ_API_KEY=your_groq_api_key
VITE_GEMINI_API=your_gemini_api
# Firebase Configuration
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id- Clone the repository
git clone https://github.com/vedpatil1345/Codetalk.git
cd Codetalk- Install dependencies
npm install- Configure Firebase
npm install -g firebase-tools
firebase login
firebase init- Start development server
npm run dev- Build for production
npm run build- Create a Firebase project
- Enable Authentication services
- Configure security rules
- Set up Firestore database
- Initialize Firebase in your app
const llm = new ChatGroq({
modelName: 'llama-3.3-70b-versatile',
apiKey: import.meta.env.VITE_GROQ_API_KEY,
temperature: 0.7
});<Routes>
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="auth" element={<AuthPage />} />
<Route path="playground" element={<PlayGround />}>
<Route index element={<PlayGroundPage />} />
<Route path="code-analysis" element={<CodeAnalysisPage />} />
<Route path="error-analysis" element={<ErrorAnalysisPage />} />
<Route path="img-code" element={<Image2CodePage />} />
<Route path="code-translation" element={<TranslatePage />} />
<Route path="chat" element={<CodeWithAi />} />
</Route>
</Route>
</Routes>We welcome contributions to improve CodeTalk! Please follow these steps:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
Ved Patil
- Email: vedpatil13042005@gmail.com
- LinkedIn: Ved Patil