How zeroleafx/anxinban-taigi-voice-assistant works
AnXinBan is a Flutter Taiwanese-language voice assistant, with family-care features alongside its main voice workflow. A user records a command; the app stores the clip, transcribes it on-device or through the optional web service, interprets the text, and performs a phone action or presents a result. Recording playback, spoken Taiwanese replies, model downloads, emergency assistance, and family pairing/cloud features are distinct supporting capabilities. The README documents the main flow and platform behavior; family-cloud wiring is not shown in the sampled source, so its relationships are left out.
Main entry points: recording_controller.dart Recording control · phone_actions.dart Phone actions · home_page.dart Home screen · speech_model.dart Speech model
Components 20
App and recording
- App startup
lib/main.dart - Home screen
lib/home_page.dart - Recording control
lib/recording_controller.dart - Recording storage
lib/recording_storage.dart
Speech and replies
- Speech model
lib/speech_model.dart - Model download
lib/model_download.dart - Web transcription
lib/web_transcription.dart - Taiwanese speech
lib/taigi_voice.dart - Spoken phrases
lib/taigi_phrases.dart
Commands and assistance
- Command parser
lib/voice_command.dart - Phone actions
lib/phone_actions.dart - Contact matching
lib/contact_matcher.dart - Emergency assistance
lib/emergency_store.dart - Flashlight control
lib/torch_channel.dart
Family features
- Family dashboard
lib/family_dashboard.dart - Elder pairing
lib/elder_pairing_page.dart - Family cloud
lib/family_cloud.dart
Recognition services
- Transcription service
space/app.py
Other components
- User
- Supabase
Connections 19
- User → Home screen: uses
README.md - Home screen → Recording control: starts/stops
README.md - Recording control → Recording storage: saves clip
README.md - Recording storage → Home screen: plays latest
README.md - Recording control → Speech model: transcribes mobile
README.md - Speech model → Model download: downloads model
README.md - Recording control → Web transcription: uploads on request
README.md - Web transcription → Transcription service: sends audio
README.md - Transcription service → Web transcription: returns transcript
README.md - Speech model → Command parser: provides transcript
README.md - Command parser → Phone actions: dispatches action
README.md - Phone actions → Contact matching: matches contact
README.md - Phone actions → Emergency assistance: uses emergency contact
README.md - Phone actions → Flashlight control: controls flashlight
README.md - Home screen → Taiwanese speech: reads result cards
README.md - Taiwanese speech → Spoken phrases: reads phrases
README.md - User → Family dashboard: manages family
- Family dashboard → Elder pairing: pairs elder
- Family cloud → Supabase: syncs family data