How senthilthangaiah/radio_agent works
GenAI Radio is a single-file browser app that turns a user's channel and language selections into a spoken news broadcast. The documented workflow is live search, broadcast scripting, then text-to-speech, with a retro radio interface for setup, controls and playback. The README also describes channel and language choices, story and ticker presentation, and word highlighting. No source excerpts were provided, so components and relationships below rely on the README; multiple responsibilities share the single HTML path.
Main entry points: genai-news-radio.html Text-to-speech
Components 12
User interaction
- Key setup
genai-news-radio.html - Channel and language
genai-news-radio.html - Radio cabinet UI
genai-news-radio.html
News pipeline
- Live news search
genai-news-radio.html - OpenAI search API
- Broadcast scripting
genai-news-radio.html - OpenAI GPT-4o
Broadcast presentation
- Story and ticker
genai-news-radio.html - Text-to-speech
genai-news-radio.html - ResponsiveVoice
- Word highlighting
genai-news-radio.html
Other components
- Listener
Connections 14
- Listener → Key setup: enters key
README.md - Listener → Channel and language: selects options
README.md - Listener → Live news search: fetches news
README.md - Listener → Text-to-speech: starts broadcast
README.md - Channel and language → Live news search: configures search
README.md - Key setup → OpenAI search API: provides API key
README.md - Live news search → OpenAI search API: requests live news
README.md - OpenAI search API → Broadcast scripting: returns raw news
README.md - Broadcast scripting → OpenAI GPT-4o: requests script
README.md - OpenAI GPT-4o → Story and ticker: returns broadcast text
README.md - Text-to-speech → Story and ticker: reads story
README.md - Text-to-speech → ResponsiveVoice: requests speech
README.md - Text-to-speech → Word highlighting: times highlights
README.md - Radio cabinet UI → Listener: presents radio
README.md