opencode-voice-dictation
Voice dictation for OpenCode web — mic button via Whisper (Groq API)
❓ Why
Needed a way to dictate to agents from a phone. Stock Android voice input doesn't cut it. OpenCode web had no built-in voice.
✅ What
A Tampermonkey/Violentmonkey userscript — a mic button in the OpenCode web UI. Language selection, auto-submit after dictation. Whisper via Groq API (requires your own key).
features
| # | Feature | Description |
|---|---|---|
| 1 | Mic button | Click 🎤 in the input area, speak — text inserts into the prompt |
| 2 | Language | `ru`, `en`, or auto-detect |
| 3 | Auto-submit | Sends transcription to the agent after dictation (toggleable) |
| 4 | Whisper (Groq) | `whisper-large-v3` / `whisper-large-v3-turbo` via Groq API |
| 5 | Mobile via Firefox | Firefox supports extensions; mobile Chrome doesn't |
| 6 | Tested on 1.18.8 | Older versions via fallback selectors; needs "New UI" toggle |
| 7 | Auto-update | Updates itself via `@updateURL` — no manual reinstall |
| 8 | Ctrl+Space | Desktop hotkey to start/stop recording |