MatriVaani — AI-powered offline-first vernacular education platform enabling two-way Hindi–Santali voice translation, classroom learning assistance, and AI-generated educational content for underserved communities.
Python
0
13 commits
updated Sep 26, 2026
MatriVaani is a Mother Tongue Based Primary Education Tool designed natively for Android. It bridges the digital divide in vernacular primary education by offering a fully functional translation, Text-To-Speech (TTS), and Automatic Speech Recognition (ASR) layer for Indian tribal languages like Santali and Mundari.
Our core mission is to enable seamless dual-mode execution, ensuring that students and teachers can interact with the app utilizing Cloud APIs when an internet connection is present, or fallback securely to Genuine On-Device Inference in zero-connectivity environments.
Vernacular primary education suffers from a severe lack of digital resources in tribal languages. Teachers and students struggle with language barriers in foundational learning.
MatriVaani bridges this gap by offering a fully functional translation and voice-interaction layer directly on Android, allowing:
| Feature | Description | Status |
|---|---|---|
| Mundari NMT | High-accuracy translation model fine-tuned for Hindi ↔ Mundari based on IndicTrans2. | ✅ Active |
| Santali ASR | Speech recognition for Santali built on a fine-tuned wav2vec2 architecture (Ol Chiki output). | ✅ Active |
| Dual-Mode Flutter UI | Native cross-platform user interface optimized for classroom environments. | ✅ Active |
| Cloud FastAPI Backend | Lightweight API handling online inference, TTS wrapping, and HTTP routing. | ✅ Active |
| On-Device True Offline Mode | Full on-device model execution without a PC dependency. | 🚧 In Progress |
MatriVaani dynamically shifts between Online Mode and Offline Mode to provide the best user experience. (Note: PC-hosted FastAPI connecting to Android over Local Wi-Fi is considered an intermediate Developer Mode, not true offline).
MATRI VAANI
│
┌─────────┴─────────┐
│ │
ONLINE MODE OFFLINE MODE
│ │
Internet available No Internet
│ │
Cloud FastAPI API Android device
│ │
┌─────────┼─────────┐ Local models
│ │ │ │
Translation ASR TTS ASR/NMT/TTS
│ │ │ │
└─────────┴─────────┘ │
│ │
Response Response
│ │
└─────────┬─────────┘
│
Flutter UI
MatriVaani/
├── android/ # Flutter dependencies and build configurations
├── app/ # FastAPI application core, routers, and services
├── asr_engine/ # Scripts and APIs to run the Santali ASR pipeline
├── backend/ # Translation inference and API routes
│ └── best_model_main2/ # LFS-tracked Mundari NMT production model weights
├── models/
│ └── santhali_asr_final_5k/ # LFS-tracked Santali ASR production model weights
├── docs/ # Extensive project architecture and deployment guides
├── .env.example # Environment variable templates
├── .gitignore # Strict rules to prevent committing secrets & huge files
├── requirements.txt # Python backend dependencies
└── README.md # Master documentation
IndicTransToolkit)Because GitHub restricts files over 100MB, the model.safetensors files for our models are tracked using Git Large File Storage (LFS). You must run git lfs pull after cloning.
git clone https://github.com/maarsgaming457-ux/MatriVaani.git
cd MatriVaani
git lfs install
git lfs pull
.envMatriVaani uses environment variables to connect to external fallback services safely. Never commit .env to Git.
# Copy template securely
cp .env.example .env
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start the server
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
pubspec.yaml is located) and fetch dependencies:
flutter pub get
flutter run
(For Android Emulator testing, point your Flutter backend URL to http://10.0.2.2:8000)
The FastAPI backend can be deployed online via VPS or managed services (Docker, Google Cloud Run). ⚠️ Important limitation: The production local models (NMT + ASR) consume over 3.5 GB of RAM combined when loaded into PyTorch. Free-tier deployment services will encounter Out Of Memory (OOM) errors. A VPS with at least 8GB of RAM is required for hosting models locally on the cloud.
See ONLINE_DEPLOYMENT.md for full hosting instructions.
The project is moving towards genuine on-device execution (LiteRT/TFLite/ONNX/ExecuTorch). True offline mode strictly means:
We are currently tracking mobile inference feasibility. See OFFLINE_CAPABILITY_MATRIX.md and MODEL_RUNTIME.md for implementation roadmaps.
pip install.git lfs pull. Ensure Git LFS is installed globally.10.0.2.2:8000 instead of localhost:8000.MatriVaani — AI-powered offline-first vernacular education platform enabling two-way Hindi–Santali voice translation, classroom learning assistance, and AI-generated educational content for underserved communities.
Python
0
13 commits
updated Sep 26, 2026
MatriVaani is a Mother Tongue Based Primary Education Tool designed natively for Android. It bridges the digital divide in vernacular primary education by offering a fully functional translation, Text-To-Speech (TTS), and Automatic Speech Recognition (ASR) layer for Indian tribal languages like Santali and Mundari.
Our core mission is to enable seamless dual-mode execution, ensuring that students and teachers can interact with the app utilizing Cloud APIs when an internet connection is present, or fallback securely to Genuine On-Device Inference in zero-connectivity environments.
Vernacular primary education suffers from a severe lack of digital resources in tribal languages. Teachers and students struggle with language barriers in foundational learning.
MatriVaani bridges this gap by offering a fully functional translation and voice-interaction layer directly on Android, allowing:
| Feature | Description | Status |
|---|---|---|
| Mundari NMT | High-accuracy translation model fine-tuned for Hindi ↔ Mundari based on IndicTrans2. | ✅ Active |
| Santali ASR | Speech recognition for Santali built on a fine-tuned wav2vec2 architecture (Ol Chiki output). | ✅ Active |
| Dual-Mode Flutter UI | Native cross-platform user interface optimized for classroom environments. | ✅ Active |
| Cloud FastAPI Backend | Lightweight API handling online inference, TTS wrapping, and HTTP routing. | ✅ Active |
| On-Device True Offline Mode | Full on-device model execution without a PC dependency. | 🚧 In Progress |
MatriVaani dynamically shifts between Online Mode and Offline Mode to provide the best user experience. (Note: PC-hosted FastAPI connecting to Android over Local Wi-Fi is considered an intermediate Developer Mode, not true offline).
MATRI VAANI
│
┌─────────┴─────────┐
│ │
ONLINE MODE OFFLINE MODE
│ │
Internet available No Internet
│ │
Cloud FastAPI API Android device
│ │
┌─────────┼─────────┐ Local models
│ │ │ │
Translation ASR TTS ASR/NMT/TTS
│ │ │ │
└─────────┴─────────┘ │
│ │
Response Response
│ │
└─────────┬─────────┘
│
Flutter UI
MatriVaani/
├── android/ # Flutter dependencies and build configurations
├── app/ # FastAPI application core, routers, and services
├── asr_engine/ # Scripts and APIs to run the Santali ASR pipeline
├── backend/ # Translation inference and API routes
│ └── best_model_main2/ # LFS-tracked Mundari NMT production model weights
├── models/
│ └── santhali_asr_final_5k/ # LFS-tracked Santali ASR production model weights
├── docs/ # Extensive project architecture and deployment guides
├── .env.example # Environment variable templates
├── .gitignore # Strict rules to prevent committing secrets & huge files
├── requirements.txt # Python backend dependencies
└── README.md # Master documentation
IndicTransToolkit)Because GitHub restricts files over 100MB, the model.safetensors files for our models are tracked using Git Large File Storage (LFS). You must run git lfs pull after cloning.
git clone https://github.com/maarsgaming457-ux/MatriVaani.git
cd MatriVaani
git lfs install
git lfs pull
.envMatriVaani uses environment variables to connect to external fallback services safely. Never commit .env to Git.
# Copy template securely
cp .env.example .env
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start the server
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
pubspec.yaml is located) and fetch dependencies:
flutter pub get
flutter run
(For Android Emulator testing, point your Flutter backend URL to http://10.0.2.2:8000)
The FastAPI backend can be deployed online via VPS or managed services (Docker, Google Cloud Run). ⚠️ Important limitation: The production local models (NMT + ASR) consume over 3.5 GB of RAM combined when loaded into PyTorch. Free-tier deployment services will encounter Out Of Memory (OOM) errors. A VPS with at least 8GB of RAM is required for hosting models locally on the cloud.
See ONLINE_DEPLOYMENT.md for full hosting instructions.
The project is moving towards genuine on-device execution (LiteRT/TFLite/ONNX/ExecuTorch). True offline mode strictly means:
We are currently tracking mobile inference feasibility. See OFFLINE_CAPABILITY_MATRIX.md and MODEL_RUNTIME.md for implementation roadmaps.
pip install.git lfs pull. Ensure Git LFS is installed globally.10.0.2.2:8000 instead of localhost:8000.