How hectorg2211/jarvis works
This is a single-script desktop automation tool: a double clap triggers a welcome routine that can open Spotify, Chrome pages and Cursor, and optionally speak a welcome line through ElevenLabs. The README documents the overall workflow; the excerpt also shows microphone selection, ElevenLabs configuration and caching, and Chrome/Cursor helpers. Because the main routine’s action-dispatch code is omitted, links from the clap trigger to individual actions rely on the README rather than inspected call sites.
Main entry points: jarvis.py Double-clap flow
Components 11
Audio input
- Clap listener
jarvis.py - Double-clap flow
jarvis.py
Desktop actions
- Spotify launch
jarvis.py - Chrome windows
jarvis.py - Cursor launch
jarvis.py
Welcome speech
- Welcome speech
jarvis.py - WAV cache
jarvis.py
Other components
- User
- Microphone
- Web destinations
- ElevenLabs TTS
Connections 10
- User → Microphone: claps into
README.md - Microphone → Clap listener: audio input
README.md - Clap listener → Double-clap flow: detects double clap
README.md - Double-clap flow → Spotify launch: opens
README.md - Double-clap flow → Chrome windows: opens
README.md - Chrome windows → Web destinations: opens pages
README.md - Double-clap flow → Cursor launch: launches
README.md - Double-clap flow → Welcome speech: starts welcome
README.md - Welcome speech → ElevenLabs TTS: requests speech
jarvis.py - Welcome speech → WAV cache: reads or writes
jarvis.py