How hemasagarraju/wandervoice_ai works
WanderVoice AI is a web-based tourist audio guide. Visitors choose a featured destination or search for one, configure narration depth and language, then request a generated guide; the backend creates narration text and audio, and the browser plays it or falls back to device speech. The graph also includes destination discovery, transcript and audio controls, and runtime API-key/status features documented or shown in the excerpts. Some route details and UI wiring are unsampled, so only documented or excerpt-supported connections are shown.
Main entry points: script.js Guide request flow · app.py Audio generation · index.html Destination UI · style.css Guide presentation
Components 17
Destination discovery
- Destination UI
index.html - Search and selection
script.js
Guide experience
- Guide controls
index.html - Guide request flow
script.js - Audio and transcript
script.js - Device speech synthesis
- Guide presentation
style.css - Key and status UI
script.js
Guide backend
- Flask API
app.py - Narration generation
app.py - Audio generation
app.py - Audio cache
app.py
Speech integrations
- Google Gemini
- Murf AI TTS
- Edge TTS
- gTTS
Other components
- Visitor
Connections 20
- Visitor → Destination UI: browses
README.md - Destination UI → Search and selection: selects destination
README.md - Visitor → Guide controls: configures guide
README.md - Search and selection → Guide request flow: sets destination
README.md - Guide controls → Guide request flow: sets options
README.md - Guide request flow → Flask API: posts request
script.js - Flask API → Narration generation: requests text
app.py - Narration generation → Google Gemini: generates narration
app.py - Flask API → Audio generation: converts narration
app.py - Audio generation → Murf AI TTS: requests speech
app.py - Audio generation → Edge TTS: falls back to
app.py - Audio generation → gTTS: falls back to
app.py - Audio generation → Audio cache: writes audio
app.py - Flask API → Guide request flow: returns guide
script.js - Guide request flow → Audio and transcript: updates playback
script.js - Guide request flow → Device speech synthesis: speaks fallback
script.js - Visitor → Audio and transcript: plays or reads
README.md - Visitor → Key and status UI: manages keys
script.js - Key and status UI → Flask API: checks status
script.js - Destination UI → Guide presentation: styled by
README.md