Status
First-run flow
First launch shows setup before the tab shell:- Welcome
- Recommended model install
- Microphone permission
- Keyboard setup and practice
- Finish
Architecture
Flutter owns the app shell, local model-pack management, local history, modes, settings, clipboard output, and deterministic cleanup. Native iOS uses:ios/Runner/LocalSpeechBridge.swiftfor microphone recording, WhisperKit/Core ML, and Apple SpeechTranscriber.LocalWhisperUI/Sources/AppleSpeechCore/AppleSpeechCore.swiftfor the shared macOS/iOS SpeechAnalyzer implementation.ios/LocalWhisperKeyboard/for mode buttons, punctuation, haptics, and Verify.
MainActivity.ktfor microphone status, 16 kHz mono WAV recording, app settings, input-method settings, keyboard status, and preference sync.LocalWhisperInputMethodService.ktfor Verify, mode markers, punctuation, Space, New line, Delete, settings, and haptics.AndroidManifest.xmlfor microphone, haptics, app identity, launcher identity, and input-method service.lib/src/sherpa_speech_service.dartfor Flutter-side sherpa-onnx transcription in a background isolate.
History and keyboard control
History stays on the device. The History tab shows saved entry count, total recorded duration, and approximate saved-history size. You can export history as Markdown to the clipboard, delete one transcript, or clear all history after confirmation. The Models tab shows installed pack count and model storage. Installed packs can be removed from the device when you no longer need them. Custom modes use deterministic offline formatting. Instructions containing bullets, notes, or list select bullet formatting; concise, message, chat, or single-line instructions flatten line breaks; task, prompt, or instruction adds a task prefix. Other instructions keep the cleaned text unchanged. Edit or delete custom modes from the Modes tab. The iOS keyboard reads haptics and quick-insert settings from the shared app group. The Android keyboard reads the same settings from setup preferences. Turning off quick insert keeps Verify, Space, New line, and Delete available while hiding mode and punctuation shortcuts.Model packs
Only the wired packs produce transcripts on the device today. The catalog entries install and verify, and the app labels them as needing a native adapter.
Large model-pack installs retry transient manifest and file-download failures. Downloaded files are verified before a pack is marked ready.
Android notes
Android debug QA can seed the recommended pack and interaction data:Checks
Run fromsrc/flutter/local_whisper:
--no-uninstall keeps the pack after the test.
To reuse an installed pack, pass its path inside the running app’s current container: