Learning platform for Kinyarwanda
# IJWI-LEARN
A modern web application for learning the Kinyarwanda language. Built with Next.js 16, Firebase, and Tailwind CSS.
## Features
- **Progressive Levels**: Beginner (free), Practice, Intermediate, Fluent — each with feature toggles
- **Interactive Flashcards**: Learn vocabulary with randomized flashcards, category/difficulty filters, and audio pronunciation
- **Structured Lessons**: HTML-rendered lessons per level with rich text editing (TipTap v3)
- **Story Reading**: Sentence-by-sentence stories with multi-language translations
- **Video Lessons**: Curated video content by proficiency level with categories
- **Dialogues**: Real Kinyarwanda conversations with speaker-based color coding and translations
- **Level Tests**: Multiple question types (multiple choice, true/false, fill blank, essay, matching) with auto-grading and teacher grading for essays
- **Adaptive Testing**: Question count adjusts based on past performance (5/10/15 questions)
- **Spaced Repetition Review**: SM-2 algorithm for vocabulary retention (/review)
- **Speaking Practice**: Web Speech API speech recognition for pronunciation drills (/speak)
- **Writing Exercises**: Translation drills with auto-checking, EN→RW and RW→EN modes (/writing)
- **Grammar Notes**: Per-level grammar explanations with category filtering and related vocabulary/dialogue links
- **Progress Dashboard**: Mastery stats, per-level progress, recent activity, streak tracking (/progress)
- **Daily/Weekly Challenges**: Timed objectives with progress bars and point rewards (/challenges)
- **Forum**: Per-level discussion threads with comments, pinning, and locking (/forum)
- **Notification Preferences**: Configure alerts for streaks, new content, forum replies, and grades
- **Content Versioning**: Full document snapshots preserved on each edit for diff-based restore
- **PDF Certificates**: Downloadable certificates upon passing tests with QR codes
- **Leaderboard**: Real-time rankings based on points and activity
- **T …