Add optional voice input with server-side transcription - #91
Closed
en-ver wants to merge 12 commits into
Closed
Conversation
en-ver
marked this pull request as draft
August 11, 2026 15:27
en-ver
marked this pull request as ready for review
August 11, 2026 16:43
Owner
|
Thanks, this is careful work, but I'm declining it. Collie isn't a transcription tool. How text gets into the composer is the keyboard's layer, not ours: the composer is a plain textarea and your phone already dictates into it. Owning that layer would mean owning a provider credential, an outbound path from the bridge, and the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Configuration
Voice settings are read at bridge startup. Voice remains disabled while all three dedicated settings are blank:
COLLIE_TRANSCRIPTION_API_KEYCOLLIE_TRANSCRIPTION_MODELCOLLIE_TRANSCRIPTION_BASE_URLAny nonblank setting opts in. An omitted model defaults to
gpt-4o-transcribe, and an omitted base URL defaults tohttps://api.openai.com/v1. Official OpenAI requires an API key; a custom HTTP(S) OpenAI-compatible endpoint may be keyless and should include its expected API prefix. A malformed or non-HTTP(S) base URL, or a keyless official OpenAI configuration, leaves voice unavailable. Clear all three settings and restart the plugin to disable voice again.Of the provider configuration, the browser receives only an enabled/disabled capability. Credentials, model, and endpoint remain server-side. Remote microphone capture requires a secure context such as HTTPS.
Recording and request model
429 transcription busywithout retry. Decoded provider bodies are capped at 256 KiB and returned transcripts at 8,192 characters.Freshness, privacy, and audit
localStoragedraft, remains editable, and is cleared after a verified successful Send or lazily pruned after 48 hours.Validation