Revolt Voice Bot is a real-time AI-powered assistant designed specifically for Revolt Motors. It uses Google Gemini 2.5 Native Audio Dialog model for full-duplex voice interaction via WebSocket streaming. The bot understands and responds in multiple Indian languages, but only within the Revolt Motors context.
- Real-time voice communication using microphone
- Full-duplex streaming using WebSockets
- Gemini 2.5 native audio model support
- Responds only within the context of Revolt Motors
- Multi Language Support
- Interruption feature
revolt-voice-bot/
│
├── backend/ # Node.js backend for audio streaming & Gemini API integration
│ ├── .env # Environment variables (API keys etc.)
│ ├── index.js # WebSocket server handling audio streams
│ ├── package.json # Backend dependencies
│
├── frontend/ # React app for capturing microphone and handling audio UI
│ ├── public/ # Static assets
│ ├── src/ # Main React source code (App.jsx, components, etc.)
│ ├── index.html # Root HTML template
│ ├── package.json # Frontend dependencies
│ ├── vite.config.js # Vite bundler config
│
├── .gitignore # Git ignored files
├── readme.md # Project documentation
git clone https://github.com/your-username/revolt-voice-bot.git
cd revolt-voice-botcd backend
npm installCreate a .env file in /backend with the following:
GEMINI_API_KEY=your_api_key_here
PORT=3000
Then run:
node index.jsIn a new terminal:
cd frontend
npm install
npm run devThis will start the Vite server at http://localhost:3000.