← Utilitiesslaid098.devRU

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

#FeatureDescription
1Mic buttonClick 🎤 in the input area, speak — text inserts into the prompt
2Language`ru`, `en`, or auto-detect
3Auto-submitSends transcription to the agent after dictation (toggleable)
4Whisper (Groq)`whisper-large-v3` / `whisper-large-v3-turbo` via Groq API
5Mobile via FirefoxFirefox supports extensions; mobile Chrome doesn't
6Tested on 1.18.8Older versions via fallback selectors; needs "New UI" toggle
7Auto-updateUpdates itself via `@updateURL` — no manual reinstall
8Ctrl+SpaceDesktop hotkey to start/stop recording