How vannu07/jarvis works
Jarvis is a voice-controlled desktop assistant with a web UI and face authentication. The principal workflow starts in the launcher, initializes the interface and authentication, then listens for speech, routes the recognized command to an action, and returns spoken/UI feedback. The README documents additional capabilities, including wake words and platform integrations. Several feature internals and frontend wiring were not sampled, so those relationships are shown only where documented or explicitly evidenced by the source index.
Main entry points: command.py Speech input and output · main.py Assistant runtime · feature.py Command actions · index.html Web interface
Components 22
Runtime and interaction
- Process launcher
run.py - Assistant runtime
main.py - Web interface
frontend/index.html - UI scripts
frontend/controller.js - UI behavior
frontend/script.js - Status and feedback
backend/feedback.py - Configuration
backend/config_manager.py
Recognition and intent
- Speech input and output
backend/command.py - Face authentication
backend/auth/recognize.py - Wake-word detection
backend/feature.py - Intent matching
backend/nlp/command_parser.py
Assistant actions
- Command actions
backend/feature.py - Reminders
- Assistant database
backend/feature.py
External services
- Weather data
weather_fetcher.py - OpenWeatherMap
- WhatsApp automation
backend/feature.py - YouTube control
backend/feature.py - AI chatbot
backend/feature.py - System control
backend/feature.py - News lookup
news_fetcher.py
Other components
- User
Connections 25
- User → Process launcher: starts assistant
- Process launcher → Assistant runtime: starts runtime
run.py - Process launcher → Wake-word detection: starts listener
run.py - Assistant runtime → Web interface: serves interface
main.py - User → Web interface: uses interface
README.md - Web interface → Speech input and output: sends commands
README.md - Assistant runtime → Face authentication: authenticates user
main.py - Assistant runtime → Speech input and output: captures commands
main.py - Speech input and output → Command actions: routes commands
backend/command.py - Command actions → Intent matching: matches intent
backend/feature.py - Assistant runtime → Reminders: sets reminder
main.py - Assistant runtime → Status and feedback: reports status
main.py - Speech input and output → Status and feedback: reports status
backend/command.py - Assistant runtime → Configuration: reads settings
main.py - Speech input and output → WhatsApp automation: dispatches requests
backend/command.py - Speech input and output → YouTube control: dispatches requests
backend/command.py - Speech input and output → Weather data: requests forecast
backend/command.py - Command actions → Weather data: fetches forecasts
backend/feature.py - Weather data → OpenWeatherMap: requests weather
README.md - Speech input and output → AI chatbot: dispatches query
backend/command.py - Command actions → Assistant database: reads contacts
backend/feature.py - Command actions → System control: controls applications
README.md - Command actions → News lookup: retrieves headlines
README.md - UI scripts → Web interface: controls interface
- UI behavior → Web interface: updates display