Skip to content

About

Windows port of the Local voice dictation for the OpenCode Desktop app

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

opencode-dictation

Local voice dictation for the OpenCode Desktop app on macOS and Windows.

Dictating a message into the OpenCode prompt

  • 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.

Requirements

  • 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.

Install

opencode plugin add github:OnlyHelion/opencode-dictation

Then restart Desktop. To load from a local checkout instead, put the repo's absolute path in the plugins list of ~/.config/opencode/opencode.jsonc.

Usage

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.

Settings

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.

About

Windows port of the Local voice dictation for the OpenCode Desktop app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages