Tegemeo is a hybrid EdTech platform designed to democratize access to quality education in Kenya.
# Tegemeo
**Empowering Education in Kenya through AI**
*Supporting UN SDG 4: Quality Education for All*
## Overview
Tegemeo is a hybrid EdTech platform designed to democratize access to quality education in Kenya. By leveraging a Progressive Web App (PWA) for smartphone users and USSD/SMS technology for feature phone users, the platform bridges the digital divide.
## Features
### Progressive Web App (PWA)
| Feature | Description |
|---------|-------------|
| **AI Tutor** | Chat interface for personalized learning assistance powered by Gemini AI |
| **Smart Flashcards** | AI-generated flashcards with spaced repetition for better memory |
| **Quizzes** | Auto-generated quizzes aligned with Kenya's CBC curriculum (Grades 1-12) |
| **Elimu Circles** | Peer learning and study groups |
| **Parent Portal** | Parents can monitor their child's learning progress |
| **Token Economy** | Gamified learning with rewards |
### USSD/SMS Interface (Feature Phones)
Access learning on any phone by dialing `*384*387893#`:
| Feature | Description |
|---------|-------------|
| **Daily Kijanja Quiz** | Interactive quizzes via USSD with SMS results (+3 tokens) |
| **Flash Notes** | Quick study notes delivered via SMS |
| **Ask a Teacher** | AI-powered answers to any question via SMS (-1 token) |
| **Buy Tokens** | M-Pesa integration for purchasing tokens |
## Project Structure
```
tegemeo/
├── backend/ # Node.js Express server
│ ├── src/
│ │ ├── config/
│ │ │ ├── supabase.js # Database config
│ │ │ ├── gemini.js # AI config
│ │ │ └── africastalking.js # USSD/SMS config
│ │ ├── routes/
│ │ │ ├── ussd.js # USSD menu handler
│ │ │ ├── sms.js # SMS handler
│ │ │ ├── mpesa.js # M-Pesa payments
│ │ │ ├── ai.js # AI endpoints
│ │ │ ├── tokens.js # Token management
│ │ │ └── content.js # Curriculum content
│ │ ├── content/ # Curriculum JSO …