Conversational AI system for Bhutan's digital governance initiative.
bun install
cp .env.example .env
# Edit .env with your API keys
bun run dev
- AI-powered conversations via OpenAI
- Voice message transcription
- NDI wallet integration for digital identity
- Rate limiting and session management
- Privacy-focused: Telegram user IDs are hashed for privacy
Copy .env.example
to .env
and configure:
BOT_TOKEN
- Telegram bot tokenDATABASE_URL
- PostgreSQL connectionOPENAI_API_KEY
- OpenAI API keyNDI_CLIENT_ID
,NDI_CLIENT_SECRET
- NDI credentialsWHISPER_API_KEY
- Voice transcription API
bun run dev
- Development with file watchingbun run start
- Production mode
- Users chat with the bot via Telegram
- Text messages processed through OpenAI
- Voice messages transcribed then processed
- NDI authentication enables digital credentials
- Active users (15+ interactions) can claim verifiable credentials