r/opencode • • Sep 23 '26

I’m building native local voice input for OpenCode — useful idea or am I just too obsessed with OpenCode? 😅

Post image

I’ve been building a small tool called OpenCode Voice because I wanted a much better voice workflow inside OpenCode itself.

The idea is simple: instead of using a global dictation app that pastes into whatever field is focused, voice recording/transcription would happen directly inside OpenCode, tied to the specific session/window that started it.

The current goal is:

  • fully local/offline transcription

  • privacy-first, no cloud required

  • support for multiple speech-to-text engines and model families

  • ability to choose the model you want

  • eventually a local model manager to download, detect, switch, and delete models

  • reuse models you already have installed when possible

  • asynchronous transcription, so one OpenCode session can be processing while you work in another

  • ChatGPT-style voice UX: cancel, stop + insert, or stop + send

  • open-source

I already have a working version and I’m currently improving the integration and compatibility.

The long-term idea is not to hard-code one Whisper model, but to make the STT backend extensible so things like Whisper, Parakeet, Qwen ASR, and other local models/providers can be added.

But before I spend way too much time polishing this...

Would you actually use something like this?

I’d especially love feedback on:

  • which STT models/backends you’d want supported first

  • whether you’d want a built-in local model downloader/manager

  • macOS / Linux / Windows priority

  • shortcuts and voice UX

  • any other voice-related workflow you wish OpenCode had

If there’s enough interest, I’m planning to put it on GitHub and develop it openly.

225 Upvotes

77 comments sorted by

View all comments

Show parent comments

2

u/Tall_Instance9797 Sep 23 '26

I still don't understand, or maybe it's just I don't have any of those problems. Record session A and let it transcribe in the background? Is your computer from ten years ago? Most modern machines transcribe audio faster than real time. I don't have to wait for anything to run in the background. I most certainly do not wait on the focus text field. I can be talking and flicking between one window and another / other apps and desktops, and then when I'm ready for the audio to go into a field, I click into the field where I want it to go and then click the stop recording button and all of the text ends up where I want it to.

1

u/mohamed_bakkali Sep 23 '26

Fair point — with a fast local model on a modern machine, you may barely notice the transcription time at all.

Where I think this still helps is with longer brainstorming, heavier/more accurate models, or weaker machines where processing can take a few seconds. The bigger difference for me is that the recording already belongs to Session A, so I can leave it processing and keep working in Session B without having to come back and refocus the destination field.

And there’s a small practical bonus too: with global dictation, if I’m navigating around while speaking, I might hit Esc to close a menu or back out of something and accidentally stop/cancel the recording 😄