How tomhacker69/jarwish works
Jarvis.py implements a single-turn voice assistant: the user speaks a wake word and command, speech is transcribed, and the command is routed to web actions, news lookup, or an OpenAI response. Responses are spoken using gTTS and pygame. The README describes broader security and platform ambitions, but they are not implemented in the sampled source; this map reflects the observed code. All implementation nodes share the sole source file, Jarvis.py.
Main entry points: Jarvis.py Command routing
Components 12
Voice interaction
- Speech recognition
Jarvis.py - Spoken response
Jarvis.py
Command handling
- Command routing
Jarvis.py - Web actions
Jarvis.py - News lookup
Jarvis.py - AI response
Jarvis.py
External services
- Google speech API
Other components
- Voice user
- Web browser
- NewsData API
- OpenAI API
- gTTS service
Connections 13
- Voice user → Speech recognition: speaks audio
Jarvis.py - Speech recognition → Google speech API: transcribes audio
Jarvis.py - Speech recognition → Command routing: returns transcript
Jarvis.py - Command routing → Web actions: routes web commands
Jarvis.py - Command routing → News lookup: routes news commands
Jarvis.py - Command routing → AI response: routes other commands
Jarvis.py - Command routing → Spoken response: speaks prompts
Jarvis.py - Web actions → Web browser: opens pages
Jarvis.py - News lookup → NewsData API: fetches articles
Jarvis.py - News lookup → Spoken response: speaks status
Jarvis.py - AI response → OpenAI API: requests completion
Jarvis.py - AI response → Spoken response: speaks answer
Jarvis.py - Spoken response → gTTS service: generates audio
Jarvis.py