Local voice dictation for the OpenCode Desktop app on macOS and Windows.
- No audio leaves the machine.
- Works with any whisper.cpp model.
- Push-to-talk and auto-send options.
- Desktop app only. It does not run in the terminal UI.
- OpenCode Desktop 2.2.5 or later
- macOS: whisper.cpp:
brew install whisper-cpp- Windows: nothing to install. The official whisper.cpp CPU build is downloaded, checksum-verified, and extracted on first dictation.
opencode plugin add github:OnlyHelion/opencode-dictationThen restart Desktop. To load from a local checkout instead, put the repo's absolute path in the plugins list of ~/.config/opencode/opencode.jsonc.
Press ⌘D (macOS) or Ctrl+D (Windows) to start recording, and again to stop. The transcript goes into the
prompt. Change the key in Settings → Shortcuts.
Open Settings → Dictation.
| Setting | Default | What it does |
|---|---|---|
| Push-to-talk | Off | Hold the shortcut while you talk, and let go to stop. Off: press once to start, once to stop. |
| Send automatically | Off | Send the transcript as soon as it is ready. |
| Live dictation | Off | Transcribe while you speak; text updates as you talk. The final pass cleans up boundaries. |
| Language | en |
A whisper language code such as fr, or auto to detect it (adds a short delay). |
| Model | small.en |
Preset dropdown or Custom…: any whisper.cpp model, without ggml- and .bin. Downloads on first use. |
