opencode voice dictation
Find a file
dependabot[bot] 32c7995572
build(deps-dev): bump @types/node from 22.20.0 to 26.1.1 (#16)
Bumps
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
from 22.20.0 to 26.1.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=22.20.0&new-version=26.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey <93754860+slaid098@users.noreply.github.com>
2026-07-09 08:19:28 +03:00
.github build(deps): bump softprops/action-gh-release from 2 to 3 (#14) 2026-07-09 08:13:29 +03:00
src fix: spinner clockwise, lock target on start, context-aware shortcut (#18) 2026-07-09 06:37:23 +03:00
tests feat: cancel button, question prompt mic, solid timer (#10) 2026-07-08 09:40:24 +03:00
.gitignore feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
.nvmrc feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
biome.json feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
knip.json feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
LICENSE feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
package-lock.json build(deps-dev): bump @types/node from 22.20.0 to 26.1.1 (#16) 2026-07-09 08:19:28 +03:00
package.json build(deps-dev): bump @types/node from 22.20.0 to 26.1.1 (#16) 2026-07-09 08:19:28 +03:00
README.md docs: update README — cancel, question prompt, remove Cursor (#11) 2026-07-08 09:55:28 +03:00
tsconfig.json feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
vite-env.d.ts feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00
vite.config.ts feat: auto-build CI workflow, one-click install URLs, auto-update docs 2026-07-08 05:45:54 +00:00
vitest.config.ts feat: initial implementation of OpenCode Voice Dictation 2026-07-08 05:37:17 +00:00

OpenCode Voice Dictation / Голосовая диктовка для OpenCode

CI Release License: MIT


Русский

Голосовая диктовка для OpenCode web через Whisper (Groq API). Работает на ПК и телефоне.

Установка

Установить скрипт — открой ссылку в браузере с Violentmonkey/Tampermonkey и подтверди установку.

Или скачай с Releases и импортируй вручную.

Совместимость

Платформа Браузер Менеджер скриптов Статус
ПК Vivaldi Violentmonkey
ПК Chrome Tampermonkey
ПК Firefox Tampermonkey
Android Firefox Tampermonkey
Android Vivaldi Нет расширений
Android Chrome Нет расширений

Настройка

  1. Получи бесплатный ключ на console.groq.com/keys
  2. Открой OpenCode web
  3. Меню Violentmonkey/Tampermonkey → Set Groq API Key → вставь gsk_...

Использование

  1. Нажми кнопку микрофона 🎤 в правом верхнем углу поля ввода
  2. Говори — виден таймер записи и кнопка отмены
  3. Нажми ⏹ — запись остановится, текст вставится в поле ввода
  4. Или нажми ✕ — запись отменится, текст не вставляется
  5. На ПК: Ctrl+Space — горячая клавиша

Микрофон также доступен в поле ответа на вопросы OpenCode (когда выбираешь "ввести свой ответ").

Автообновление

Скрипт обновляется сам. При пуше в main CI собирает новую версию и публикует в ветку dist. Пользователи получают обновление автоматически.

Настройки

Пункт меню Описание
Set Groq API Key Ключ gsk_...
Toggle Auto-Submit Отправлять после транскрипции
Set Whisper Model whisper-large-v3 или whisper-large-v3-turbo
Set Language ru, en или пусто (авто)
Set Whisper Prompt Контекст для точности

English

Voice dictation for OpenCode web via Whisper (Groq API). Works on desktop and mobile.

Install

Install Script — open this link in a browser with Violentmonkey/Tampermonkey and confirm installation.

Or download from Releases and import manually.

Compatibility

Platform Browser Userscript Manager Status
Desktop Vivaldi Violentmonkey
Desktop Chrome Tampermonkey
Desktop Firefox Tampermonkey
Android Firefox Tampermonkey
Android Vivaldi No extensions
Android Chrome No extensions

Setup

  1. Get a free API key at console.groq.com/keys
  2. Open OpenCode web
  3. Violentmonkey/Tampermonkey menu → Set Groq API Key → paste gsk_...

Usage

  1. Click the mic button 🎤 in the top-right corner of the input area
  2. Speak — recording timer and cancel button are displayed
  3. Click ⏹ — recording stops, transcribed text is inserted into the input
  4. Or click ✕ — recording is cancelled, no text inserted
  5. Desktop: Ctrl+Space shortcut

The mic button is also available in OpenCode question prompt answer fields (when choosing "type your own answer").

Auto-Update

The script updates automatically. When code is pushed to main, CI builds and publishes to the dist branch. Users receive updates automatically.

Settings

Menu Item Description
Set Groq API Key API key gsk_...
Toggle Auto-Submit Auto-send after transcription
Set Whisper Model whisper-large-v3 or whisper-large-v3-turbo
Set Language ru, en, or empty (auto-detect)
Set Whisper Prompt Context for accuracy

License

MIT — see LICENSE