Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Eli-Keli/sauti-darasa-backend

Domain:

educationnatural language processing

Record type:

software
Creator:
Eli
Host:
FastAPI backend service for real-time speech-to-text transcription using Google Cloud Speech-to-Text API. Part of the Sauti Darasa educational platform for live captioning in Kenyan classrooms. # Sauti Darasa Backend Real-time Speech-to-Text transcription service for classroom captioning. ## 🚀 Tech Stack - **Python 3.11** + FastAPI - **Google Cloud Speech-to-Text API** - **Firebase Realtime Database** - **Deployed on Google Cloud Run** ## 📦 Setup ### 1. Create Virtual Environment ```bash python3.11 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` ### 2. Install Dependencies ```bash pip install -r requirements.txt ``` ### 3. Configure Environment ```bash cp .env.example .env # Edit .env with your credentials ``` ### 4. Obtain Service Account Key ```bash # Download from GCP Console or use gcloud gcloud iam service-accounts keys create ./sauti-darasa-key.json \ --iam-account=YOUR_SERVICE_ACCOUNT@sauti-darasa.iam.gserviceaccount.com ``` ## 🏃 Run Locally ```bash uvicorn app.main:app --reload --port 8000 ``` Visit: localhost for API documentation ## 🧪 Run Tests ```bash pytest tests/ -v ``` ## 🚀 Deployment ```bash ./deploy-backend.sh ``` ## 📁 Project Structure ``` sauti-darasa-backend/ ├── app/ │ ├── __init__.py │ ├── main.py # FastAPI application │ ├── config.py # Configuration │ ├── models.py # Pydantic models │ ├── transcription.py # Speech-to-Text logic │ └── firebase_client.py # Firebase integration ├── tests/ │ ├── test_api.py │ └── test_transcription.py ├── Dockerfile ├── deploy-backend.sh └── requirements.txt ``` ## 🔗 Frontend Repository github.com ## 📄 License MIT

Visit

github.com

Tasks

automatic speech recognitionspeech processing

Languages

Gedeo

Tags

cloud-speech-apicloudrundocker-containerfastapifirebase-realtime-databasegoogle-cloudpython3

Similar

Eli-Keli/sauti-mwananchi-backend

Eli-Keli/sauti-mwananchi-backend

Sauti ya Mwananchi - multi-agent civic participation chatbot backend for Kenya's elections. # Sauti