How vishnukaribandi25-spec/friday_version2 works
FRIDAY is a voice-controlled desktop assistant. Its runtime loop listens for a wake word, captures a command, routes it to an action or a time/date response, and speaks back. The main loop and command dispatch are shown in the excerpts; external audio and operating-system interactions are described in source comments. The README is only a title, so capability details come from the sampled source.
Main entry points: voice.py Speech I/O · app.py Assistant loop · router.py Command router · actions.py Desktop actions
Components 12
Assistant runtime
- Program entry
friday-v2/run_friday.py - Assistant loop
friday-v2/friday_app/app.py
Command handling
- Assistant settings
friday-v2/friday_app/config.py - Command router
friday-v2/friday_app/router.py - Desktop actions
friday-v2/friday_app/actions.py
Voice and desktop I/O
- Speech I/O
friday-v2/friday_app/voice.py
Other components
- User
- Microphone
- Google speech API
- Audio output
- Desktop environment
- Default browser
Connections 14
- User → Microphone: speaks into
- Program entry → Assistant loop: starts
friday-v2/run_friday.py - Assistant loop → Speech I/O: listens and speaks
friday-v2/friday_app/app.py - Assistant loop → Assistant settings: checks wake word
friday-v2/friday_app/app.py - Assistant loop → Command router: routes command
friday-v2/friday_app/app.py - Command router → Assistant settings: matches phrases
friday-v2/friday_app/router.py - Command router → Desktop actions: dispatches action
friday-v2/friday_app/router.py - Command router → Speech I/O: speaks response
friday-v2/friday_app/router.py - Desktop actions → Speech I/O: reports result
friday-v2/friday_app/actions.py - Speech I/O → Microphone: captures audio
friday-v2/friday_app/voice.py - Speech I/O → Google speech API: recognizes speech
friday-v2/friday_app/voice.py - Speech I/O → Audio output: plays speech
friday-v2/friday_app/voice.py - Desktop actions → Desktop environment: launches or opens
friday-v2/friday_app/actions.py - Desktop actions → Default browser: opens website
friday-v2/friday_app/actions.py