How tada-data/english_tutor works
This is a Streamlit AI language-tutoring app. Learners enter through an invite-code login, then practice conversation, review vocabulary with quizzes, and revisit chat history. The main internal layer is the single Streamlit app, which coordinates learner settings and learning records with Supabase and uses generative AI for language analysis and audio transcription; speech playback uses Edge TTS. The excerpt is partial, so some feature wiring—especially the full chat-generation path—is not shown, and the graph omits uncertain connections.
Main entry points: app.py Streamlit app
Components 13
Learner experience
- Streamlit app
app.py - Invite login
app.py
Learning features
- Conversation practice
app.py - Voice input
app.py - Speech analysis
app.py - Speech playback
app.py - Vocabulary review
app.py - Vocabulary quiz
app.py - Conversation history
app.py
External services
- Google Gemini
- Edge TTS
Learning data
- Supabase
Other components
- Learner
Connections 18
- Learner → Streamlit app: uses
app.py - Streamlit app → Invite login: presents
app.py - Streamlit app → Conversation practice: presents
app.py - Streamlit app → Vocabulary review: presents
app.py - Streamlit app → Vocabulary quiz: presents
app.py - Streamlit app → Conversation history: presents
app.py - Conversation practice → Voice input: captures audio
app.py - Voice input → Speech analysis: submits audio
app.py - Speech analysis → Google Gemini: transcribes with
app.py - Conversation practice → Speech playback: requests audio
app.py - Speech playback → Edge TTS: generates audio
app.py - Conversation practice → Google Gemini: analyzes language
app.py - Invite login → Supabase: loads user data
- Streamlit app → Supabase: reads settings and records
app.py - Conversation practice → Supabase: writes chat and vocabulary
app.py - Vocabulary quiz → Supabase: updates results
app.py - Vocabulary review → Supabase: deletes entries
app.py - Conversation history → Supabase: reads chat logs
app.py