Skip to content

[FEATURE]: Speech-to-Text Voice Input for Lazy People in OpenCode #4695

Closed as not planned

Description

@Fuzu

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi! First of all, congratulations on the amazing project.

I've been working on a Speech-to-Text voice input feature that integrates directly into the TUI. It allows users to start audio recording with a keybind, automatically transcribe speech using different providers, and insert the resulting text directly into the prompt.

I've built an initial working version, currently tested only on macOS, and the system includes:

  • Real-time audio recording via FFmpeg;
  • Support for Groq Whisper, OpenAI Whisper, and local whisper.cpp;
  • Automatic microphone/device detection;
  • Interactive menus for choosing provider, model, and audio device;
  • Persistent configuration stored in ~/.opencode/state/speech.json;
  • Customizable keybinds (Ctrl+X v, Ctrl+X P, Ctrl+X D);
  • Smooth flow: record → transcribe → insert into prompt input;
Image Image Image Image Image

Would this be something you'd be interested in integrating into the project?

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Nov 24, 2025
  2. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    That sounds cool, did you integrate it using the plugin system, and if not why? Maybe we need to expand it to allow for stuff like this

  3. cboecking commented on Nov 25, 2025

    @cboecking

    This ticket inspired me to create this:
    https://github.com/chuckstack/groq-whisper

    This is not nearly as good or integrated as what is described above; however I could not wait for the above to be accepted. I thought you would appreciate seeing a generic tools approach to implementing it.

    You can use it from:

    • opencode: !groq-whisper # this injects the response directly into the context without the ability to edit prior to injection
    • vim: :r groq-whisper # this allows you to ctrl+p => open editor (vim) and capture the text before submitting
    • terminal: groq-whisper # can be used outside of opencode

    I hope this helps!

    edit to above details:

    • only tested on debian (see notes for mac)
    • only uses groq whisper
  4. sfpmld commented on Dec 29, 2025

    @sfpmld

    would be really awesome !

  5. nanoandrew4 commented on Jan 12, 2026

    @nanoandrew4

    I was just looking for something like this today, it'd be awesome to see it implemented!

  6. 0x7C2f commented on Jan 15, 2026

    @0x7C2f

    bump for interest!

  7. KristjanMinn commented on Jan 17, 2026

    @KristjanMinn

    Hey! Same here! I'd love it!

  8. heimoshuiyu commented on Jan 18, 2026

    @heimoshuiyu
    Contributor

    hi, checkout another implantation #9264 support both whisper model and audio large language model (gpt-4o, qwen3-omni, etc.)

  9. WillianQ commented on Jan 26, 2026

    @WillianQ

    This could be really interesting if it were part of the web version. OpenCode isn’t just a dev tool anymore — plugins for meeting notes or a knowledge base would be awesome.

  10. kwakubiney commented on Jan 26, 2026

    @kwakubiney

    Need this!

  11. kenthinson commented on Jan 28, 2026

    @kenthinson

    @Fuzu I'm interested in this. Do you think you can make you changes available for us people who want to use it in a different repo? At least until this gets sorted out if it will become an official part of opencode.

  12. berenar commented on Jan 28, 2026

    @berenar
    Contributor

    I use an external app for this (Raycast + Whisper Dictation) and works great, except that you can't see or edit the transcribed text. That's why I think this is necessary:

  13. cmdNiels commented on Jan 31, 2026

    @cmdNiels

    I just created a implemetation for this in #11345. This works without the need for any api keys. The edited text also appears right away without the [Pasted x lines].

    I know some people can't wait for this feature so here is how to use it locally; Clone my opencode fork linked in the PR, bun install and add the following to your .bashrc:

    opencode-dev() {
        local cwd="$PWD"
        bun run --cwd /path-to-repo/packages/opencode --conditions=browser ./src/index.ts "$cwd" "$@"
    }

    Then u can run opencode-dev to start.

  14. gimlichael commented on Feb 10, 2026

    @gimlichael

    Would be awesome - also for the IDE / desktop version.

  15. AliRezaei-Code commented on Feb 18, 2026

    @AliRezaei-Code

    please merge this!

  16. 12 remaining items

  17. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on May 3, 2026
  18. emad-elsaid commented on May 7, 2026

    @emad-elsaid

    If you're on linux I found this application useful: https://www.speedofsound.io/

  19. luqs1 commented on May 7, 2026

    @luqs1
  20. emad-elsaid commented on May 7, 2026

    @emad-elsaid

    @luqs1 looks the same to me

  21. cmadden-cirqul commented on May 22, 2026

    @cmadden-cirqul

    voice is the new vibe, openCode needs to catch up :)

  22. jammsen commented on May 23, 2026

    @jammsen

    Seems like this is either a paywall or dead end, i ended up creating and hardenend Docker sandbox in which i connect remotely via SSH ( https://github.com/jammsen/docker-opencode-sandbox ) and im using Handy ( https://github.com/cjpais/Handy ) with it to have the same thing. Works awesome and is only like 5-10 minutes setup.

  23. alexandre-leng commented on Jun 3, 2026

    @alexandre-leng
  24. heimoshuiyu commented on Jun 4, 2026

    @heimoshuiyu
    Contributor

    #29663 see also, much better accuracy

  25. theoparashkevov commented on Jun 5, 2026

    @theoparashkevov
  26. Aeroknight786 commented on Jul 17, 2026

    @Aeroknight786

    Mortic — voice control for the agent already in your OpenCode thread

    Hey everyone — I’m building Mortic, a voice interface designed specifically for OpenCode.

    Instead of introducing another assistant, Mortic lets you speak to the agent already working inside your coding thread. You can brainstorm, ramble through an idea, explain a bug, or correct the task naturally while preserving the existing files, decisions, and conversation context.

    The goal is:

    • Natural voice input for longer or less-structured thoughts
    • No context reset and no second assistant
    • Spoken answers for the explanation
    • Code, commands, paths, JSON, and diffs kept exact on screen
    • A terminal-native interface that feels like part of OpenCode

    I have a working demo and I’m currently collecting signups for a private beta:

    https://mortiphi.com/

    I’d really value feedback from OpenCode users:

    • Would you use voice during a coding session?
    • Where would it be most useful—or most annoying?
    • What would Mortic need to do before you’d try it?

    This is still early, so honest criticism is very welcome.

  27. Hakenadu commented on Jul 18, 2026

    @Hakenadu

    @rekram1-node @simonklee

    This feature request has garnered quite a bit of attention from the community. However, this thread is marked as “Not planned.”
    What is the roadmap for this?

    Is the only way to get this functionality (which, let's be honest, will be needed by a huge number of developers in the near future) to use a third-party library or build a plugin yourself?

  28. alexandre-leng commented on Jul 18, 2026

    @alexandre-leng

    They're only using bots and there's no project manager on this project. Just GitHub automations that are shutting down major features; they're losing their community that way.

  29. Hakenadu commented on Aug 3, 2026

    @Hakenadu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions