# Buku
> **Voice-First AI Bookkeeping Mobile App for Informal Traders in Kenya** π°πͺ
Buku empowers local merchants (mama mboga, boda riders, kiosk owners) to record their daily sales, expenses, and customer debts simply by **speaking into their phone**. It transcribes spoken mixed Kiswahili, Sheng, or English using **ElevenLabs Scribe (`scribe_v1`)**, extracts structured financial transactions using **Claude Sonnet**, speaks a voice confirmation back to the merchant, and persists ledger records in a zero-config database.
---
## ποΈ Repository Architecture
```text
hustle-bookkeeping/
βββ backend/ # FastAPI Python Backend (SQLAlchemy, Uvicorn, Alembic, SQLite/Postgres)
β βββ app/
β β βββ routers/ # Voice, Ledger, Auth endpoints
β β βββ services/ # ElevenLabs (STT/TTS) & Claude (LLM Ledger Parser)
β β βββ models.py # SQLAlchemy Ledger & Trader models (SQLite & Postgres compatible)
β βββ tests/ # Pytest unit & integration test suite (100% passing)
βββ buku/ # Buku Flutter Mobile App (Android & iOS)
β βββ lib/
β βββ main.dart # App entrypoint (Zero-barrier instant access)
β βββ src/
β β βββ models/ # Dart data models (LedgerEntry, Trader, VoiceParseResponse)
β β βββ screens/# Voice Deck, Sales Ledger, Debt Collectors, Reports
β β βββ services/# REST API Client & English/Swahili Localization Service
β β βββ theme/ # Clean, high-contrast theme with large readable typography
βββ render.yaml # Render Cloud Deployment Blueprint
βββ README.md
```
---
## π Key Features
1. **ποΈ Voice-First Merchant Deck**:
- Tap the central microphone button to record live audio from your phone.
- Powered by **ElevenLabs Scribe (`scribe_v1`)** with native Swahili & English speech recognition.
- **Audio Talk-Back**: Speaks a spoken confirmation audio out loud back to the trader via **ElevenLabs Multilingual TTS (`eleven_multilingual_v2`)**.
2. **π§ AI Ledger Extraction (Claude)* β¦