AI as a manager for small scale businesses
# Munshi
github.com
Aapke dukaan ka Munshi
Features • Tech Stack • Get Started • API
---
Munshi is an AI-powered mobile assistant designed specifically for small Indian local shops — kirana stores, chai stalls, cafes, and neighborhood vendors. It speaks to you in **Hindi** (Roman script), understands your voice, and helps you manage your entire shop from inventory to insights — without needing to be a tech expert.
Whether you want to know your top-selling products, check what stock is running low, or simply ask "Aaj kitna paisa gaya?" — Munshi has your back.
---
## Features
| Feature | Description |
|---------|-------------|
| **Voice & Text Chat** | Talk to Munshi in Hindi — voice input gets Hindi responses spoken back to you |
| **Stock Management** | Add, update, and track products with purchase price, selling price, and expiry dates |
| **Analytics Dashboard** | Visual sales charts, revenue tracking, top/worst selling products |
| **Transactions** | Record sales with Cash, UPI, or Credit payment tracking |
| **Quick Scan** | Barcode scanning for instant product lookup |
| **AI Conversations** | Ask anything about your business — "Kis product se sabse zyada profit ho raha hai?" |
---
## Tech Stack
### Server
- **Runtime:** Node.js + Express
- **Database:** PostgreSQL + Prisma ORM
- **Auth:** Better-Auth
- **AI:** OpenAI Agents SDK + Ollama (local LLM)
- **Voice:** Sarvam AI (Hindi STT/TTS)
### Client
- **Framework:** Expo (React Native)
- **Styling:** NativeWind + Tailwind CSS
- **Animations:** Moti
- **UI Components:** Radix UI Primitives
- **Icons:** Phosphor Icons + Lucide
---
## Getting Started
### Prerequisites
- Node.js 18+
- PostgreSQL
- npm
- Ollama (for local AI)
- Sarvam AI API key (for voice features)
### Clone & Install
```bash
# Clone the repository
git clone
github.com
cd munshi
# Install server dependencies
cd server
np …