A comprehensive Hawaiian language preservation platform that combines AI-powered translation, native-level language learning, and cultural context to help revitalize ʻŌlelo Hawaiʻi.
- AI-Powered Translation: Real-time Hawaiian ↔ English translation using OpenAI
- Cultural Context: Each translation includes cultural significance and usage notes
- Word Breakdown: Detailed morphological analysis of Hawaiian words
- Alternative Translations: Multiple translation options for nuanced meanings
- 30-Lesson Curriculum: Comprehensive journey from beginner to fluent speaker
- 🌱 Beginner (Lessons 1-10): Alphabet, greetings, numbers, colors, family
- 🌿 Intermediate (Lessons 11-20): Daily life, nature, emotions, grammar
- 🌳 Advanced (Lessons 21-30): Proverbs, mythology, formal language, literature
- Interactive Lessons: Vocabulary, grammar, cultural notes, and practice exercises
- Progress Tracking: Visual progress bars and achievement system
- Native Audio Support: Infrastructure ready for native Hawaiian speaker recordings
- Smart Fallback: Uses Web Speech API with Hawaiian-optimized settings
- Visual Feedback: Different indicators for native audio vs. synthesized speech
- Pronunciation Guide: IPA transcription and syllable breakdown
- ʻŌlelo Noʻeau: Traditional Hawaiian proverbs and their meanings
- Moʻolelo: Stories and legends integrated into lessons
- Cultural Notes: Context and significance for words and phrases
- Place Names: Understanding the meaning behind Hawaiian locations
- React 18 with TypeScript
- Vite for fast development
- Tailwind CSS for Hawaiian-themed styling
- Framer Motion for animations
- React Router for navigation
- FastAPI (Python) for high-performance API
- SQLAlchemy ORM with PostgreSQL
- JWT Authentication for secure user sessions
- OpenAI Integration for translation services
- Pydantic for data validation
- Docker containers for easy deployment
- PostgreSQL for data persistence
- Static file serving for audio content
- CORS-enabled API for secure cross-origin requests
- Node.js 18+ and npm
- Python 3.9+
- PostgreSQL 14+ (or Docker)
- OpenAI API key
-
Clone the repository
git clone https://github.com/yourusername/aloha-learn.git cd aloha-learn
-
Set up environment variables
cp .env.example .env cp backend/.env.example backend/.env # Edit both .env files with your credentials
-
Start with Docker (Recommended)
docker-compose up
Or manually:
-
Backend setup
cd backend python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt uvicorn app.main:app --reload --port 8000
-
Frontend setup
cd frontend npm install npm run dev
-
Access the application
- Frontend: http://localhost:5173
- API docs: http://localhost:8000/docs
aloha-learn/
├── frontend/ # React TypeScript application
│ ├── src/
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Route pages
│ │ ├── contexts/ # React contexts
│ │ ├── services/ # API services
│ │ └── data/ # Curriculum content
│ └── public/ # Static assets
│
├── backend/ # FastAPI server
│ ├── app/
│ │ ├── api/ # API endpoints
│ │ ├── models/ # Database models
│ │ ├── schemas/ # Pydantic schemas
│ │ ├── services/ # Business logic
│ │ └── core/ # Core configuration
│ ├── static/ # Audio files
│ └── scripts/ # Management scripts
│
├── database/ # Database files
├── docker-compose.yml # Docker orchestration
└── docs/ # Documentation
The platform is fully prepared to accept native Hawaiian speaker audio recordings:
# Add audio files when available
cd backend
python scripts/manage_audio.py add "aloha" /path/to/aloha.mp3
# Check missing priority words
python scripts/manage_audio.py check
See AUDIO_GUIDE.md for detailed instructions.
This platform is built with deep respect for Hawaiian culture and language. We:
- Present content with cultural authenticity
- Include proper diacritical marks (kahakō and ʻokina)
- Provide cultural context for appropriate usage
- Acknowledge the sacred nature of ʻŌlelo Hawaiʻi
We welcome contributions that help preserve and teach Hawaiian language! Please:
- Fork the repository
- Create a feature branch
- Ensure cultural accuracy
- Submit a pull request
Priority areas:
- Native speaker audio recordings
- Additional lesson content
- UI/UX improvements
- Bug fixes
This project is open source under the MIT License. See LICENSE for details.
Mahalo nui loa for your interest in preserving Hawaiian language and culture. E ola mau ka ʻōlelo Hawaiʻi! (May the Hawaiian language live on forever!)
Built with aloha by [Your Name] | Report Issues