How meeranhusain/jarvis-voice-activated-virtual-assistant works
Jarvis is a voice-command assistant. Its runtime listens for speech, recognizes the “Jarvis” wake word, captures a command, dispatches it to a built-in action or AI fallback, and speaks responses. The main script contains both the interaction loop and command implementations; the graph separates these responsibilities while retaining their shared source path. README-described custom music-library support is represented, but the sampled runtime has that integration commented out and instead searches YouTube. The standalone client.py demo is not part of the documented runtime flow.
Main entry points: main.py Command dispatcher · musicLibrary.py Music library
Components 14
Voice interaction
- Wake and capture
main.py - Command dispatcher
main.py - Speech output
main.py
Command actions
- Website launcher
main.py - Music search
main.py - Music library
musicLibrary.py - News reader
main.py - AI fallback
main.py
External services
- Speech recognition
- System browser
- YouTube search
- NewsData.io
- Ollama Cloud
Other components
- User
Connections 17
- User → Wake and capture: speaks
README.md - Wake and capture → Speech recognition: recognizes audio
main.py - Wake and capture → Command dispatcher: dispatches command
main.py - Command dispatcher → Website launcher: routes website
main.py - Command dispatcher → Music search: routes music
main.py - Command dispatcher → News reader: routes news
main.py - Command dispatcher → AI fallback: routes unmatched
main.py - Website launcher → System browser: opens URL
main.py - Music search → YouTube search: searches song
main.py - Music search → System browser: opens result
main.py - News reader → NewsData.io: fetches headlines
main.py - AI fallback → Ollama Cloud: requests answer
main.py - Wake and capture → Speech output: speaks prompts
main.py - Music search → Speech output: speaks status
main.py - News reader → Speech output: reads headlines
main.py - AI fallback → Speech output: speaks answer
main.py - Command dispatcher → Music library: uses custom songs