- 🌐 Open websites (Google, GitHub, YouTube, etc.)
- 🎵 Play music from a predefined library
- 📰 Read the latest news headlines
- 💬 Process general commands using OpenAI
- Install PortAudio:
sudo apt-get install portaudio19-dev
- Install Python packages:
pip install -r requirements.txt
annotated-types==0.7.0
anyio==4.4.0
cachetools==5.4.0
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
distro==1.9.0
exceptiongroup==1.2.2
google-ai-generativelanguage==0.6.6
google-api-core==2.19.1
google-api-python-client==2.140.0
google-auth==2.33.0
google-auth-httplib2==0.2.0
google-generativeai==0.7.2
googleapis-common-protos==1.63.2
grpcio==1.65.4
grpcio-status==1.62.3
gTTS==2.5.2
h11==0.14.0
httpcore==1.0.5
httplib2==0.22.0
httpx==0.27.0
idna==3.7
jiter==0.5.0
proto-plus==1.24.0
protobuf==4.25.4
pyasn1==0.6.0
pyasn1_modules==0.4.0
PyAudio==0.2.14
pydantic==2.8.2
pydantic_core==2.20.1
pygame==2.6.0
pyparsing==3.1.2
pyttsx3==2.90
requests==2.32.3
rsa==4.9
sniffio==1.3.1
SpeechRecognition==3.10.4
tqdm==4.66.5
typing_extensions==4.12.2
uritemplate==4.1.1
urllib3==2.2.2
Run the project with:
python3 main.py 2> >(grep -v 'ALSA lib' >&2)
- OpenAI API Key: Store in environment variable or replace in code.
- NewsAPI Key: Replace in code.
- Google Generative AI Key: Store in environment variable or replace in code.
- "alone"
- "london bridge is falling down"
- "no friends"
- "angel with shotgun"
- "i see your monster"
- "man without love"
- "Open Google"
- "Open YouTube"
- "Play [song_name]"
- "Tell me the news"
- Dependencies:
pyttsx3
for text-to-speechwebbrowser
for opening web pagesspeech_recognition
for recognizing speechgTTS
for Google Text-to-Speech (paid)pygame
for playing audiorequests
for HTTP requestsOpenAI
for processing commands (paid)Google Generative AI
for advanced AI capabilities (paid)
- Suppress ALSA Errors: Use
python3 main.py 2> >(grep -v 'ALSA lib' >&2)
czx
- Open-source. Contributions welcome!
- OpenAI for their API.
- NewsAPI for news data.
- Google Generative AI for advanced AI capabilities.
- Various open-source libraries.