A voice-controlled conversational AI assistant that can open apps, search the web, control your system, and chat with you in Indonesian.
- Voice Input Recognition - Speak to interact with ConvBot
- Text-to-Speech Output - Responses delivered via EdgeTTS with audio playback
- App Opening - Open applications on your system by voice command
- Web Search - Search the internet through voice commands
- System Control - Control WiFi and other system features
- Media Playback Control - Control Spotify and YouTube playback
- Natural Chat - Have conversations in Indonesian
- Groq AI Integration - Powered by Groq's fast API
-
Clone the repository
git clone https://github.com/lexiiyz/ConvBot.git cd convbot -
Create a virtual environment
python -m venv venv
-
Activate the virtual environment
- Windows:
.\venv\Scripts\Activate.ps1
- Linux/Mac:
source venv/bin/activate
- Windows:
-
Install dependencies
pip install -r requirements.txt
-
Set up environment variables Create a
.envfile in the root directory and add your Groq API key:GROQ_API_KEY=gsk_your_api_key_hereGet your API key from Groq Console
Run the bot:
python main.pyThen speak your commands! Examples:
- "Open Spotify"
- "Search Python tutorials"
- "Turn off WiFi"
- "Play Levitating on Spotify"
- "Chat: How are you today?"
- Python 3.8+
- Groq API key
- Microphone for voice input
- Audio output device
groq- Groq API clientspeech-recognition- Voice inputAppOpener- Open applicationsedge-tts- Text-to-speechpygame- Audio playbackpython-dotenv- Environment variable management
MIT