Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ English Tutor AI - AI for Social Good

πŸ† Hackathon Project: AI for Social Good Category

An intelligent, inclusive English tutoring platform that leverages cutting-edge AI technology to democratize language learning and bridge communication barriers worldwide. Our mission is to make high-quality English education accessible to everyone, regardless of background, learning style, or physical abilities.

🌟 Social Impact & Vision

Breaking Language Barriers for Global Inclusion

  • Democratizing Education: Free, high-quality English tutoring for underserved communities
  • Cultural Bridge: Helping immigrants, refugees, and international students integrate successfully
  • Career Empowerment: Opening doors to better job opportunities through improved English skills
  • Accessibility First: Voice-enabled learning for visual impairments and reading difficulties

Target Communities

  • 🌍 International Students - Academic success support
  • πŸ’Ό Job Seekers - Professional communication skills
  • 🏠 Introverted Learners - Safe, judgment-free practice environment
  • β™Ώ Accessibility Needs - Voice-first design for inclusive learning

✨ Revolutionary Features

πŸ€– AI-Powered Personalized Learning

  • 8+ Specialized AI Tutors: Professional Interview Coach, Academic Writing Assistant, Casual Conversation Partner, Grammar Expert, Pronunciation Specialist, and more
  • Custom Avatar Creation: Design your perfect tutor with personalized personality traits
  • Adaptive Learning: AI adjusts to your pace, level, and learning style
  • Real-time Corrections: Instant grammar, pronunciation, and fluency feedback

πŸŽ™οΈ Voice-First Accessibility

  • Speech Recognition: Practice pronunciation with real-time feedback
  • Text-to-Speech: Hear perfect pronunciation examples
  • Hands-free Learning: Fully voice-controlled interface option
  • Multi-modal Input: Type, speak, or combine both methods

πŸ‘₯ Intelligent Avatar System

  • Pre-built Specialists: Choose from expertly crafted tutor personalities
  • Custom Creation: Build your ideal tutor with specific traits and expertise
  • Personality Profiles: Each avatar has unique teaching styles and specializations
  • Emotional Intelligence: AI responds with appropriate emotional tone and support

πŸ’¬ Advanced Conversation Engine

  • Context Awareness: AI remembers your learning journey and preferences
  • Real-world Scenarios: Practice job interviews, academic presentations, daily conversations
  • Progress Tracking: Monitor improvement across grammar, vocabulary, and fluency
  • Session Memory: Continuous learning with persistent conversation history

πŸ› οΈ Technical Architecture

Modern Tech Stack

Frontend:     React 19.1.0 + Vite 6.2.0
AI Engine:    Google Gemini AI (@google/genai 1.20.0)
Styling:      TailwindCSS 4.1.11 with Glass Morphism Design
Routing:      React Router 7.9.1
State:        Context API (Voice, Avatar, Chat Contexts)
Storage:      LocalStorage for persistence
APIs:         Speech Recognition + Speech Synthesis

Smart Architecture Design

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ Avatar.jsx      # Avatar display and management
β”‚   β”œβ”€β”€ ChatInput.jsx   # Voice + text input system
β”‚   β”œβ”€β”€ ChatMessage.jsx # Intelligent message rendering
β”‚   β”œβ”€β”€ ChatWindow.jsx  # Conversation interface
β”‚   └── icons/          # Custom icon system
β”œβ”€β”€ contexts/           # State management
β”‚   β”œβ”€β”€ AvatarContext.jsx  # Avatar and personality management
β”‚   β”œβ”€β”€ ChatContext.jsx    # Conversation and session handling
β”‚   └── VoiceContext.jsx   # Speech recognition and synthesis
β”œβ”€β”€ pages/              # Route components
β”‚   β”œβ”€β”€ Landing.jsx     # Social impact showcase
β”‚   β”œβ”€β”€ Chat.jsx        # Main learning interface
β”‚   β”œβ”€β”€ Avatars.jsx     # Avatar customization
β”‚   └── Settings.jsx    # User preferences
β”œβ”€β”€ services/           # Business logic
β”‚   β”œβ”€β”€ geminiService.js   # Google AI integration
β”‚   β”œβ”€β”€ content.js         # AI personality management
β”‚   └── storageService.js  # Data persistence
└── utils/              # Helper functions

πŸš€ Quick Start Guide

Prerequisites

  • Node.js 16 or higher
  • Google Gemini API Key (Get it here)
  • Modern web browser with microphone support

Installation

  1. Clone the repository
git clone <repository-url>
cd My-English-tutor
  1. Install dependencies
npm install
  1. Configure API Key Create a .env file in the root directory:
VITE_GEMINI_API_KEY=your_gemini_api_key_here
  1. Start the application
npm run dev
  1. Open in browser Navigate to http://localhost:5173

First Time Setup

  1. 🎯 Choose Your Goal: Select your learning objective (career, academic, casual)
  2. πŸ‘€ Pick Your Tutor: Choose from specialized AI avatars or create custom
  3. 🎀 Enable Voice: Allow microphone access for speech features
  4. πŸ’¬ Start Learning: Begin your personalized English learning journey

🎨 User Experience

Professional Design Language

  • Glass Morphism: Modern, accessible interface with sky-blue/violet theme
  • Responsive Design: Seamless experience across desktop, tablet, and mobile
  • Accessibility First: High contrast, keyboard navigation, screen reader support
  • Intuitive Navigation: Clear user flow with minimal learning curve

Learning Journey

  1. Welcome & Goal Setting: Personalized onboarding experience
  2. Avatar Selection: Choose or customize your perfect AI tutor
  3. Interactive Practice: Voice and text conversations with real-time feedback
  4. Progress Tracking: Visual progress indicators and achievement system
  5. Continuous Improvement: AI learns your preferences and adapts accordingly

πŸ”§ Development & Customization

Environment Variables

VITE_GEMINI_API_KEY=your_google_gemini_api_key

Available Scripts

npm run dev          # Development server with hot reload
npm run build        # Production build
npm run preview      # Preview production build
npm run lint         # Code quality checks

Custom Avatar Creation

// Example: Creating a specialized tutor
const customTutor = {
  name: "Career Coach Sarah",
  role: "Professional Interview Specialist",
  personality: "confident",
  traits: ["supportive", "professional", "detailed"],
  expertise: ["interview skills", "workplace communication", "resume writing"],
  emotionalTone: "encouraging"
};

🌍 Social Good Impact Metrics

Accessibility Features

  • βœ… Voice-first design for visual impairments
  • βœ… Keyboard navigation support
  • βœ… High contrast color schemes
  • βœ… Screen reader compatibility
  • βœ… Multiple input methods (voice, text, touch)

Inclusive Learning Support

  • 🌐 Global Reach: Supports learners worldwide with internet access
  • πŸ’ Free Access: No subscription fees or premium barriers
  • 🏠 Safe Space: Private, judgment-free learning environment
  • 🎯 Personalized: Adapts to individual learning needs and pace
  • πŸ“± Device Agnostic: Works on any modern device with web browser

Educational Impact

  • Skill Development: Grammar, pronunciation, vocabulary, conversation fluency
  • Confidence Building: Safe practice environment reduces anxiety
  • Career Advancement: Professional communication skills training
  • Cultural Integration: Real-world conversation practice for immigrants

🀝 Contributing to Social Good

We welcome contributions that enhance accessibility and educational impact:

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/accessibility-improvement
  3. Commit changes: git commit -m 'Add voice navigation for blind users'
  4. Push to branch: git push origin feature/accessibility-improvement
  5. Open Pull Request with detailed description of social impact

Priority Areas for Contribution

  • 🌐 Internationalization: Multi-language support
  • β™Ώ Accessibility: Enhanced screen reader support
  • πŸ“± Mobile Optimization: Improved mobile learning experience
  • πŸŽ“ Educational Content: Specialized learning modules
  • πŸ”’ Privacy: Enhanced data protection features

πŸ“Š Technical Specifications

Performance Optimizations

  • Lazy Loading: Components load on demand
  • Efficient State Management: Context API with selective updates
  • Optimized Builds: Vite's fast build system with tree shaking
  • Caching Strategy: LocalStorage for offline capability

Browser Compatibility

  • βœ… Chrome 90+ (Recommended for best voice features)
  • βœ… Firefox 88+
  • βœ… Safari 14+
  • βœ… Edge 90+

API Integration

  • Google Gemini AI: Latest v1.20.0 with streaming responses
  • Speech Recognition: Web Speech API with fallback support
  • Speech Synthesis: Cross-browser voice synthesis

πŸ“„ License & Ethics

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

Ethical AI Commitment

  • πŸ”’ Privacy First: No personal data stored on external servers
  • 🌍 Bias Mitigation: Inclusive training data and regular bias audits
  • 🀝 Transparency: Open-source codebase for community review
  • βš–οΈ Fair Use: Free access to educational AI technology

πŸ† Hackathon Submission - AI for Social Good

Project: English Tutor AI Category: AI for Social Good Impact: Democratizing English education worldwide through accessible, personalized AI tutoring

Key Differentiators:

  • 🎯 Direct Social Impact: Addresses real barriers to English learning
  • πŸ”§ Technical Innovation: Advanced AI personality system with voice integration
  • β™Ώ Accessibility Leadership: Voice-first design for inclusive learning
  • 🌍 Global Scalability: Web-based platform reaching underserved communities
  • πŸ’‘ Educational Innovation: Personalized AI tutors adapting to individual needs

Made with ❀️ for a more connected, inclusive world

"Breaking language barriers, one conversation at a time."

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages