emginner, Independent
I built voice dictation and read-aloud into OpenCode (local-first, 99 languages)
I use OpenCode all day, and typing long prompts was the slowest part of my workflow. So I built a plugin that puts a mic and a play button right above the composer.
What it does
- Dictate: press the mic, speak, and the text lands at your cursor. It never sends the prompt for you.
- Read aloud: press Read and it speaks the last answer, with an option to skip code blocks.
- TUI:
/dictate,/read,/pausework in the terminal.
Engines (pick one in Settings)
- Win+H on Windows — zero setup.
System.Speech— offline, built into Windows.- whisper.cpp — native on Windows and Linux, no WSL, no Python.
- Nemotron Streaming — local, shows partial text as you speak, Metal on Apple Silicon.
- WhisperX — WSL + NVIDIA GPU if you want the heavy model.
Languages
- Dictation: 99 languages with whisper.cpp/WhisperX, 32 locales with Nemotron.
- Interface: English, Spanish, Portuguese, Russian, Chinese, French.
- Reading and dictation languages are separate settings.
Local-first: with the local engines, audio never leaves your machine. The only optional cloud piece is Edge TTS for read-aloud, with system voices as fallback.
Platforms: Windows, Linux and macOS (Desktop), TUI on Windows and Linux. MIT, free.
opencode plugin add opencode-voice-dictationRepo: github.com/evious/opencode-voice-dictation I'm the author. I'd love to hear which engine you end up using and what breaks on your setup — especially Linux/Wayland and macOS. And what would you want next: more languages, a global hotkey, or a floating mini window?
opencodeAgentsTools






Comments
0 comments