How tds2k5/fried-egg works
FriedEgg is a voice-and-text assistant. Its main workflow accepts a wake word, captures a command, routes it to a browser, music, news, or Gemini action, and speaks responses. The README documents these capabilities; the sampled main.py shows their implementation, while dev.py provides a parallel text-oriented development entry point. The graph omits uncertain links beyond those shown in the excerpts or documented in the README.
Main entry points: main.py Command router · dev.py Dev runtime · musicLibrary.py Song catalog
Components 18
User interaction
- Assistant runtime
main.py - Dev runtime
dev.py - Wake-word check
main.py - Command capture
main.py - Speech output
main.py
Command capabilities
- Command router
main.py - Website opening
main.py - Music playback
main.py - Song catalog
musicLibrary.py - News fetching
main.py - AI responses
main.py
External integrations
- Web browser
- Speech recognition
- NewsAPI
- Gemini
- Text-to-speech engine
Other components
- User
- Microphone
Connections 20
- User → Assistant runtime: starts
README.md - Assistant runtime → Wake-word check: checks wake word
main.py - Microphone → Command capture: provides audio
main.py - Command capture → Speech recognition: transcribes audio
main.py - Wake-word check → Command capture: activates command
main.py - User → Dev runtime: enters text
dev.py - Dev runtime → Wake-word check: checks input
dev.py - Command capture → Command router: dispatches command
main.py - Command router → Website opening: opens sites
main.py - Website opening → Web browser: opens URL
main.py - Command router → Music playback: selects song
main.py - Music playback → Song catalog: looks up link
main.py - Music playback → Web browser: opens link
main.py - Command router → News fetching: fetches headlines
main.py - News fetching → NewsAPI: requests headlines
main.py - Command router → AI responses: forwards other queries
main.py - AI responses → Gemini: requests response
main.py - AI responses → Speech output: speaks response
main.py - News fetching → Speech output: speaks headlines
main.py - Speech output → Text-to-speech engine: synthesizes speech
main.py