How yyegor/govori_krasivo_test works
Govori Krasivo is a speech-therapy platform with a learner-facing lesson and audio-recording flow, plus a therapist console for assembling courses and browsing speech-text material. Learners open a week, work through its video-and-task stages, record audio in the browser, and submit it to the Flask server for file storage. Therapists use the console to select client/video data and save week configurations. Google Sheets and Docs provide documented client, video, and text-library data. The excerpts show these routes and integrations, but not a complete chat exchange or how saved configurations are later loaded into lessons.
Main entry points: server_gk.py Flask routes · logo_stuff.py Course setup routes · ext_data.py Google data access · mic_app.js Recording controls
Components 21
Learner experience
- Week page
templates/user_week_template.html - Lesson flow
static/js/buttons.js - Recording controls
static/js/mic_app.js - Audio recorder
static/js/mic_RecorderService.js - WAV encoder
static/js/mic_encoder-wav-worker.js - Peak meter
static/js/mic_WebAudioPeakMeter.js
Application server
- Flask routes
server_gk.py - Recorded audio
user_content_audio - Week configuration files
static/weeks - SQLite database
app.db - User and lesson models
models.py - App configuration
config.py
Therapist console
- Therapist cabinet
templates/logo_cabinet_v2.html - Cabinet interactions
static/js/cabinet.js - Course setup routes
logo_stuff.py - Text suggestions
templates/logo_text_sugg.html
Data integrations
- Google data access
ext_data.py - Google Sheets
- Google Docs
Other components
- Learner
- Therapist
Connections 22
- Learner → Week page: opens
- Week page → Lesson flow: runs
- Learner → Recording controls: records speech
static/js/mic_app.js - Recording controls → Audio recorder: starts recording
static/js/mic_app.js - Recording controls → Peak meter: displays levels
static/js/mic_app.js - Audio recorder → WAV encoder: encodes audio
static/js/mic_RecorderService.js - Recording controls → Flask routes: posts audio
static/js/mic_app.js - Flask routes → Recorded audio: writes recording
server_gk.py - Therapist → Therapist cabinet: opens
- Therapist cabinet → Cabinet interactions: uses
- Cabinet interactions → Course setup routes: saves week
static/js/cabinet.js - Course setup routes → Week configuration files: writes configuration
logo_stuff.py - Course setup routes → Google data access: loads client and video data
logo_stuff.py - Therapist → Text suggestions: browses suggestions
- Course setup routes → Google data access: requests tagged texts
logo_stuff.py - Google data access → Google Sheets: reads spreadsheet data
ext_data.py - Google data access → Google Docs: reads text library
ext_data.py - Flask routes → Course setup routes: registers routes
server_gk.py - Flask routes → App configuration: loads settings
server_gk.py - Google data access → App configuration: uses credentials and IDs
ext_data.py - User and lesson models → SQLite database: maps models
models.py - Flask routes → Week page: renders for learner
server_gk.py