buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(mobile): on-device composer dictation (mobile counterpart to #2708)

Open astromara opened this issue 1 month ago • 0 comments

Problem

The mobile composer (mobile/lib/features/channels/compose_bar/layout.dart) is a plain TextField with no mic/dictation affordance. The only way to voice-type into Buzz on mobile today is the OS keyboard's own dictation (Gboard / iOS keyboard), which on stock Android/iOS round-trips audio through Google/Apple's cloud STT. On GrapheneOS there isn't even that option by default, since Play Services and Gboard are absent.

#2708 proposes on-device composer dictation for desktop, reusing Buzz's existing local STT stack (sherpa-onnx + Parakeet) that already powers huddle transcription. There's no equivalent request for mobile, where the privacy case is arguably stronger: self-hosted users want their voice going to their own on-device model, not through a third-party keyboard's cloud dictation.

Proposal

Extend #2708's approach to mobile: a mic button in the compose bar that runs on-device STT (sherpa-onnx + Parakeet, or whatever on-device model is practical on mobile hardware/battery budget) and streams the transcript into the text field, with no audio leaving the device and no dependency on the OS keyboard or Google Play Services.

Scope

Mobile (iOS + Android), including GrapheneOS / de-Googled Android where no IME-level dictation exists at all.

Additional context

Raised by a self-hosted user who specifically wants voice input to stay with their own agent/relay rather than going through Google's keyboard dictation, and who is on GrapheneOS (no Gboard, no Play Services) where OS-level dictation isn't even available as a fallback.

astromara avatar Oct 20 '26 23:10 astromara