π Live Demo: Click here to visitsite
EduVox AI is a revolutionary AI-powered educational platform that creates personalized voice-based learning companions for students. It combines cutting-edge voice AI technology with educational expertise to deliver interactive, real-time learning sessions across multiple subjects.
Key highlights include:
- Real-time voice conversations with AI tutors using advanced speech synthesis and recognition
- Personalized AI companions for Mathematics, Science, Language, History, Coding, and Economics
- Intelligent session management with progress tracking and conversation limits
- Secure authentication and user data management with automatic cleanup
- Modern, responsive UI built with Next.js 15, React 19, and Tailwind CSS 4
- Scalable architecture with real-time database and webhook integrations
- Subject-Specific Tutors across 6 major academic areas
- Real-time Voice Interaction with natural conversation flow
- Personalized Learning Paths tailored to individual topics
- Multiple Voice Options (Male/Female, Casual/Formal styles)
- Dynamic Session Duration (1-60 minutes)
- π Mathematics - Calculus, Algebra, Statistics, and more
- π¬ Science - Physics, Chemistry, Biology concepts
- π Language - Literature, Grammar, Vocabulary building
- ποΈ History - World events, Historical analysis
- π» Coding - Programming concepts, Logic building
- π° Economics - Market principles, Economic theory
- Custom Names with content filtering
- Topic Specification with relevance validation
- Voice Selection (ElevenLabs AI voices)
- Teaching Style (Casual or Formal approach)
- Session Duration control
- Conversation Limits (Free: 5/month, Premium: 50/month)
- Session History tracking and analytics
- Bookmark System for favorite companions
- Popular Companions discovery
- Recent Sessions quick access
- Clerk Authentication with OAuth support
- Secure User Management with automatic data cleanup
- Webhook Integration for account deletion handling
- GDPR Compliant data processing
- Real-time Error Tracking with Sentry
- Speed Insights β Real-time Core Web Vitals tracking
- Performance Analytics β Page load and interaction metrics
- User Experience Optimization β Data-driven performance improvements
- Vercel Integration β Seamless monitoring dashboard
- Responsive Design (Mobile-first approach)
- Lottie Animations for enhanced user experience
- Form Validation with real-time feedback
- Accessibility optimized components
- ShadCN UI Components β Beautiful, accessible, and customizable React UI elements
- Next.js 15.5.2 β React-based full-stack framework with App Router
- React 19.1.0 β Modern UI library with concurrent features
- TypeScript 5 β Type-safe JavaScript development
- Tailwind CSS 4 β Utility-first CSS framework
- Radix UI β Accessible, unstyled UI primitives
- ShadCN UI β Beautiful, accessible React components built on Radix UI and Tailwind CSS
- Class Variance Authority β Component variant management
- Tailwind Merge β Intelligent Tailwind class merging
- Lucide React β Beautiful & consistent icon library
- Lottie React β Smooth animations
- Vapi AI 2.3.10 β Real-time voice AI platform
- OpenAI GPT-4 β Advanced language model for tutoring
- ElevenLabs β High-quality voice synthesis
- Deepgram Nova-3 β Advanced speech-to-text transcription
- Supabase 2.57.4 β PostgreSQL database with real-time features
- Clerk 6.31.10 β Authentication and user management
- Svix 1.76.1 β Webhook management and delivery
- React Hook Form 7.62.0 β Performant forms with minimal re-renders
- Zod 4.1.5 β TypeScript-first schema validation
- Hookform Resolvers 5.2.1 β Form validation integration
- Sentry 10.11.0 β Error tracking and performance monitoring
- Vercel Speed Insights β Real-time performance monitoring and Core Web Vitals tracking
- Turbopack β Fast bundler for development and production
- ESLint 9 β Code linting and quality assurance
- PostCSS 4 β CSS post-processing
- JavaScript ES2020+ β Modern programming language
- HTML5 β Semantic markup
- CSS3 β Advanced styling and animations
- GitHub Actions β Automated CI/CD pipeline with quality checks
- Vercel β Serverless deployment platform with automatic deployments
- ESLint & TypeScript β Automated code quality and type checking
- Dependency Security β Automated vulnerability scanning
Our CI/CD pipeline ensures code quality, security, and reliable deployments:
- ESLint β Code style and best practices validation
- TypeScript β Static type checking and compilation
- Build Verification β Ensures production build succeeds
- Dependency Audit β Security vulnerability scanning
- Production β Automatic deployment to eduvox-ai.vercel.app on
mainbranch - Preview β Automatic preview deployments for pull requests
- Rollback β Instant rollback capability for critical issues
- Main Branch β Production deployment with full quality checks
- Pull Requests β Preview deployment with code review
- Security β Automatic dependency updates and vulnerability alerts
β
Code Quality & Build Check (1m 6s)
β
Security & Dependency Check (34s)
β
Deploy to Vercel (1m 58s)
βοΈ Preview Deployment (PR only)- Node.js 18+ installed
- npm or yarn package manager
- Supabase account and project
- Clerk account for authentication
- Vapi AI account for voice features
- Clone the repository
git clone https://github.com/huzaifa-fullstack/eduvox-ai.git
cd eduvox-ai- Install dependencies
npm install- Environment Setup
Create a .env.local file with the following variables:
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/
CLERK_WEBHOOK_SECRET=your_webhook_secret
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# Vapi AI Voice
NEXT_PUBLIC_VAPI_WEB_TOKEN=your_vapi_token
# Sentry Error Tracking
SENTRY_AUTH_TOKEN=your_sentry_token
# Newsletter (Optional)
BUTTONDOWN_API_KEY=your_buttondown_key- Database Setup
Set up your Supabase database with the following tables:
companions- AI companion configurationsuser_lifetime_stats- User statistics and limitssession_history- Learning session recordsbookmarks- User bookmarked companions
- Start development server
npm run dev- Open your browser
http://localhost:3000
- Build for production
npm run build
npm start- id (uuid, primary key)
- name (text) - Companion name
- subject (text) - Academic subject
- topic (text) - Specific learning topic
- voice (text) - Voice type (male/female)
- style (text) - Teaching style (casual/formal)
- duration (integer) - Session duration in minutes
- author (text) - Creator user ID
- created_at (timestamp)- user_id (text, primary key)
- conversations_count (integer) - Monthly conversation count
- created_at (timestamp)
- updated_at (timestamp)- id (uuid, primary key)
- user_id (text) - User identifier
- companion_id (uuid) - Companion reference
- created_at (timestamp)- id (uuid, primary key)
- user_id (text) - User identifier
- companion_id (uuid) - Bookmarked companion
- created_at (timestamp)- Science:
#E5D0FF(Purple tint) - Mathematics:
#FFDA6E(Golden yellow) - Language:
#BDE7FF(Sky blue) - Coding:
#FFC8E4(Pink tint) - History:
#FFECC8(Warm amber) - Economics:
#C8FFDF(Mint green)
- Atomic Components - Reusable UI elements
- Compound Components - Complex interactive features
- Layout Components - Page structure and navigation
- Form Components - Input validation and submission
voices = {
male: {
casual: "2BJW5coyhAzSr8STdHbE",
formal: "c6SfcYrb2t09NHXiT80T",
},
female: {
casual: "ZIlrSGI4jZqobxRKprJz",
formal: "sarah",
},
};- OAuth Integration with Clerk
- Session Management with automatic token refresh
- Route Protection for authenticated areas
- Role-based Access Control
- GDPR Compliant user data handling
- Automatic Data Cleanup on account deletion
- Webhook Security with signature verification
- Environment Variable Protection
- Input Validation with Zod schemas
- Content Filtering for inappropriate material
- Topic Relevance Validation
- XSS Protection with TypeScript
- Graceful Error Recovery
- User-friendly Error Messages
- Comprehensive Logging with Sentry
- Webhook Failure Handling
- React 19 Concurrent Features for smooth UI
- Next.js App Router with optimized routing
- Turbopack for fast development builds
- Code Splitting at route level
- Image Optimization with Next.js Image
- Streaming Audio for real-time conversation
- Voice Synthesis Caching
- Efficient Transcription with Deepgram Nova-3
- WebRTC for low-latency communication
- Supabase Edge Functions for server-side logic
- Real-time Subscriptions for live updates
- Efficient Query Patterns
- Connection Pooling
npm run dev # Development with Turbopack
npm run build # Production build with Turbopack
npm run start # Production server
npm run lint # Code quality check- Vercel (Recommended) - Optimized for Next.js
- Netlify - Static site deployment
- Railway - Full-stack deployment
- Self-hosted - Docker container ready
- Development - Hot reload with Turbopack
- Staging - Preview deployments
- Production - Optimized builds
model: {
provider: "openai",
model: "gpt-4",
messages: [
{
role: "system",
content: `You are a highly knowledgeable tutor teaching a real-time voice session with a student. Your goal is to teach the student about the topic and subject.
Tutor Guidelines:
- Stick to the given topic and subject
- Keep conversation flowing smoothly
- Check student understanding regularly
- Break down complex topics into smaller parts
- Keep responses short for voice conversation
- No special characters in responses`
}
]
}voice: {
provider: "11labs",
voiceId: selectedVoiceId,
stability: 0.5,
similarityBoost: 0.75,
useSpeakerBoost: true
}transcriber: {
provider: "deepgram",
model: "nova-3",
language: "en"
}- Multi-language Support - International education
- Advanced Analytics - Learning progress tracking
- Collaborative Learning - Group study sessions
- Mobile App - iOS and Android applications
- Offline Mode - Downloaded content access
- Integration APIs - LMS and school platforms
- Advanced AI Models - Subject-specific fine-tuning
- Gamification - Points, badges, and leaderboards
- Parent Dashboard - Progress monitoring for parents
- Teacher Tools - Classroom management features
- Components: 25+ React components
- Routes: 12 application routes
- API Endpoints: 8 serverless functions
- Database Tables: 4 core tables
- Types: 30+ TypeScript interfaces
- Lines of Code: 5,000+ (excluding node_modules)
- 6 Educational Subjects supported
- 4 Voice Options (Male/Female Γ Casual/Formal)
- Real-time Voice Processing
- Secure Authentication System
- Comprehensive Form Validation
- Responsive Design System
- Error Tracking & Monitoring
- Webhook Integration
- Interactive Voice Learning - More engaging than text
- Personalized Tutoring - AI adapts to student needs
- Accessible Education - Voice-based learning for all
- Flexible Scheduling - Learn anytime, anywhere
- Progress Tracking - Monitor learning journey
- STEM Education - Math, Science, Coding
- Humanities - Language, History
- Social Sciences - Economics
- Skill Development - Critical thinking, problem-solving
Traditional online learning lacks the personal touch and real-time interaction that makes education engaging. EduVox AI bridges this gap by providing AI-powered voice tutors that can adapt to individual learning styles and provide immediate feedback.
- Modern web technologies for seamless user experience
- Advanced AI integration for intelligent tutoring
- Scalable cloud infrastructure for global accessibility
- Security-first approach for student data protection
- Real-time voice processing with minimal latency
- Intelligent topic validation to ensure educational relevance
- Scalable user management with conversation limits
- Secure webhook handling for data cleanup
- Responsive design across all device types
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
- TypeScript for type safety
- ESLint for code quality
- Prettier for code formatting
- Conventional Commits for clear history
This project is licensed under the MIT License - see the LICENSE file for details.
Muhammad Huzaifa Karim
GitHub Profile
- OpenAI for GPT-4 language model
- ElevenLabs for voice synthesis technology
- Deepgram for speech recognition
- Vapi AI for voice AI platform
- Supabase for backend infrastructure
- Clerk for authentication services
- Vercel for deployment platform
For questions, feedback, or support:
- Open an issue on GitHub
- Email: karimhuzaifa590@gmail.com
If you found this project helpful, please consider:
- β Starring the repository
- π Reporting bugs
- π‘ Suggesting new features
- π’ Sharing with others
Β© 2025 Muhammad Huzaifa Karim










