Skip to content

lee-cheng-han/HackHive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿข TurtleTalk - AI-Powered Indigenous Language Learning Platform

TurtleTalk Logo

Preserving Indigenous languages through AI-powered interactive learning

License: MIT React FastAPI Python TypeScript

Features โ€ข Demo โ€ข Getting Started โ€ข Tech Stack โ€ข Documentation


๐Ÿ“– About

TurtleTalk is an innovative AI-powered platform designed to preserve and teach Indigenous languages across North America. The platform combines modern technology with cultural sensitivity to create an engaging, accessible learning experience through:

  • ๐ŸŽฏ Interactive Duolingo-style exercises with real-time feedback
  • ๐ŸŽค AI-powered pronunciation evaluation using Google Gemini
  • ๐Ÿ”Š Natural-sounding text-to-speech with VITS neural audio generation
  • ๐Ÿ“š Comprehensive course system with progressive difficulty levels
  • ๐ŸŒ Community-driven content and cultural storytelling
  • โ™ฟ Accessibility-first design with screen reader support

Built for HackHive 2026, TurtleTalk demonstrates how technology can support Indigenous language revitalization while respecting cultural context and community needs. Currently showcasing Cree language education with plans to expand to additional Indigenous languages.

โœจ Features

๐ŸŽ“ Learning Experience

  • Progressive Course System: Structured lessons from beginner to advanced levels
  • Interactive Exercises: Multiple choice, translation, pronunciation, and listening comprehension
  • Real-time Pronunciation Feedback: AI analyzes your pronunciation and provides specific improvement tips
  • Audio-First Learning: High-quality Indigenous language audio recordings for authentic pronunciation
  • Cultural Context: Stories and examples rooted in Indigenous cultures

๐Ÿค– AI Integration

  • Gemini API Pronunciation Analysis: Advanced AI evaluates pronunciation accuracy (0-100 score)
  • Personalized Feedback: Specific tips on pronunciation, intonation, and cultural nuances
  • VITS Text-to-Speech: Neural network generates natural-sounding Indigenous language speech
  • Smart Progress Tracking: Adaptive learning based on user performance

๐ŸŒ Community Features

  • Cultural Stories: Interactive storytelling in Cree with translations
  • Language Exchange: Connect with native speakers and learners
  • Community Forums: Discussion spaces for language and culture
  • Translation Collaboration: Community-driven translation projects
  • Cultural Events: Virtual and in-person Indigenous cultural events

โ™ฟ Accessibility

  • Screen Reader Support: Full ARIA compliance for visually impaired users
  • Keyboard Navigation: Complete keyboard-only navigation support
  • Adjustable Text Size: Customizable font sizes for better readability
  • High Contrast Mode: Enhanced visibility options
  • Audio Descriptions: Comprehensive audio feedback for all interactions

๐ŸŽฌ Demo

Pronunciation Exercise

Students record themselves speaking Indigenous language phrases and receive instant AI feedback:

  • Score: 0-100 pronunciation accuracy
  • Feedback: Detailed analysis of strengths and areas for improvement
  • Tips: Specific guidance on proper pronunciation techniques
  • Cultural Notes: Context about the phrase and its cultural significance

Interactive Lessons

Duolingo-style learning flow with:

  • Multiple exercise types (listening, speaking, translation)
  • Progress tracking with visual feedback
  • Immediate correction and explanation
  • Audio playback of correct pronunciation

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+ and npm
  • Python 3.9+
  • SQLite (included) or PostgreSQL
  • Git

Quick Start

  1. Clone the repository

    git clone https://github.com/Mayalevich/TurtleTalk.git
    cd TurtleTalk
  2. Frontend Setup

    cd frontend
    npm install
    npm start

    Frontend runs on http://localhost:3000

  3. Backend Setup (new terminal)

    cd backend
    pip install -r requirements.txt
    
    # Set up environment variables
    cp .env.example .env
    # Edit .env with your Gemini API key
    
    # Run the server
    python run.py

    Backend runs on http://localhost:3001

  4. Access the app Open http://localhost:3000 in your browser

Environment Variables

Create a .env file in the backend/ directory:

# Database
DATABASE_URL=sqlite:///./turtletalk.db

# Google Gemini API
GEMINI_API_KEY=your_gemini_api_key_here

# JWT Secret
SECRET_KEY=your-secret-key-here

๐Ÿ›  Tech Stack

Frontend

  • React 18 with TypeScript
  • Material-UI v5 - Modern component library
  • Web Audio API - Audio recording and playback
  • MediaRecorder API - Browser-based audio capture
  • React Router - Client-side routing
  • Context API - State management

Backend

  • FastAPI - High-performance Python web framework
  • SQLAlchemy - ORM for database operations
  • SQLite/PostgreSQL - Relational database
  • Google Gemini API - AI pronunciation evaluation
  • JWT Authentication - Secure user sessions
  • Pydantic - Data validation

ML/Audio Services

  • VITS - Neural text-to-speech for Indigenous languages
  • Google Gemini 1.5 Flash - Multimodal AI for pronunciation analysis
  • Whisper AI (Planned) - Conversational AI tutor for interactive dialogue
  • Speech-to-Text (Prototype) - Voice recognition for Indigenous languages
  • Audio Processing - WAV file generation and manipulation

Prototypes & Research

  • Speech-to-Text Model - Completed prototype for voice recognition
    • Designed for Indigenous language phonetics
    • Integration planned for future releases
    • Enables conversational practice features

DevOps & Tools

  • Git - Version control
  • GitHub - Code hosting
  • npm - Package management
  • pip - Python package management

๐Ÿ“š Documentation

Setup & Getting Started

Technical Documentation

Cree Language Resources

Our platform leverages these valuable Cree language resources for learning content and model training:

๐Ÿ— Project Structure

TurtleTalk/
โ”œโ”€โ”€ frontend/              # React TypeScript application
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”‚   โ”œโ”€โ”€ audio/        # Indigenous language audio files (VITS-generated)
โ”‚   โ”‚   โ””โ”€โ”€ images/       # Assets and course thumbnails
โ”‚   โ””โ”€โ”€ src/
โ”‚       โ”œโ”€โ”€ components/   # React components
โ”‚       โ”œโ”€โ”€ contexts/     # React context providers
โ”‚       โ”œโ”€โ”€ services/     # API services
โ”‚       โ””โ”€โ”€ types/        # TypeScript definitions
โ”‚
โ”œโ”€โ”€ backend/              # FastAPI Python server
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ models/      # Database models
โ”‚   โ”‚   โ”œโ”€โ”€ routes/      # API endpoints
โ”‚   โ”‚   โ”œโ”€โ”€ schemas/     # Pydantic schemas
โ”‚   โ”‚   โ””โ”€โ”€ services/    # Business logic
โ”‚   โ”œโ”€โ”€ alembic/         # Database migrations
โ”‚   โ””โ”€โ”€ scripts/         # Utility scripts
โ”‚
โ”œโ”€โ”€ ml-service/          # Machine learning services
โ”‚   โ”œโ”€โ”€ vits_main.py    # VITS TTS service
โ”‚   โ””โ”€โ”€ config.json     # ML model configuration
โ”‚
โ””โ”€โ”€ tests/              # Integration tests
    โ””โ”€โ”€ integration/    # API contract tests

๐ŸŽฏ Key Features Implemented

โœ… Completed Features

  • User authentication and profile management
  • Course module system with progressive lessons
  • Interactive pronunciation exercises
  • AI pronunciation evaluation with Gemini API
  • Audio recording and playback
  • Real-time feedback with 4-second display
  • VITS text-to-speech for Indigenous languages
  • Community forums and discussion spaces
  • Cultural storytelling section
  • Accessibility features (screen reader, keyboard nav)
  • Progress tracking and achievements
  • SQLite database with migration support

๐Ÿšง In Progress

  • Full Gemini API integration for context-aware feedback
  • PostgreSQL production database setup
  • Advanced progress analytics dashboard
  • Mobile responsive design enhancements
  • Offline mode with service workers

๐Ÿ”ฎ Future Enhancements

  • Whisper AI Integration - Conversational AI tutor with natural dialogue
  • Speech-to-Text Model - Real-time voice recognition (prototype completed)
  • Interactive Voice Conversations - Back-and-forth dialogue practice with AI tutor
  • Additional Indigenous languages support (Ojibwe, Mohawk, Inuktitut, etc.)
  • Mobile native apps (iOS/Android)
  • Live video sessions with native speakers
  • Gamification with leaderboards
  • AI-generated personalized learning paths
  • Voice recognition for conversational practice

๐Ÿค Contributing

We welcome contributions from developers, linguists, and Indigenous community members! Please see our contributing guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript and Python best practices
  • Write tests for new features
  • Respect cultural sensitivity in language content
  • Ensure accessibility compliance
  • Document API changes

๐Ÿ“„ License

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

๐Ÿ‘ฅ Team

Built with โค๏ธ for HackHive 2026

  • Project Lead & Full Stack Development
  • AI/ML Integration
  • Cultural Consultation & Content

๐Ÿ™ Acknowledgments

  • Indigenous Language Elders for their guidance and cultural knowledge
  • HackHive 2026 for hosting the hackathon
  • Google Gemini API for AI pronunciation evaluation
  • OpenAI Whisper for speech recognition capabilities
  • VITS Team for the text-to-speech model
  • Indigenous communities for their support and feedback

Made with ๐Ÿข for Indigenous language preservation

โฌ† Back to Top

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors