A lightweight, open-source voice assistant built with Python that provides basic voice interaction capabilities without requiring expensive hardware or cloud services. This project aims to make voice assistant technology accessible to everyone.
- Voice command recognition using local processing
- Text-to-speech capabilities
- Basic command execution
- Customizable wake word detection
- Offline functionality (no internet required for core features)
- Python 3.8 or higher
- A working microphone
- Speakers or headphones
- Basic Python development environment
- Clone the repository:
git clone https://github.com/Apoorva87/poor_jarvis.git
cd poor_jarvis- Create and activate a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate- Install the required dependencies:
pip install -r requirements.txtThe project includes several example scripts that demonstrate different functionalities:
- Basic Voice Assistant:
python example_voice_assistant.py- Smart Voice Assistant (with additional features):
python example_smart_voice_assistant.py- Text-to-Speech Example:
python example_tts_tacho.py- Whisper Integration Example:
python example_whisper.pyexample_voice_assistant.py: Basic voice assistant implementationexample_smart_voice_assistant.py: Enhanced voice assistant with additional featuresexample_tts_tacho.py: Text-to-speech demonstrationexample_whisper.py: Integration with OpenAI's Whisper for improved speech recognitionremove_emoji.py: Utility for text processingrequirements.txt: Project dependencies
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is open source and available under the MIT License.
- webrtc implementation - git clone https://github.com/pipecat-ai/small-webrtc-prebuilt.git
- Built with Python's speech recognition and text-to-speech libraries
- Inspired by the need for accessible voice assistant technology