dsh-voice-dictation
生活娱乐 活跃维护

dsh-voice-dictation

bigfurma-bot/dsh-voice-dictation

支持按住说话触发本地语音转写,依托Parakeet STT引擎无需上传音频即可将语音内容转成文字填入编辑框消息草稿,交互简单响应快隐私安全无需额外配置。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
42 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:bigfurma-bot/dsh-voice-dictation
git clone https://github.com/bigfurma-bot/dsh-voice-dictation.git
git clone git@github.com:bigfurma-bot/dsh-voice-dictation.git
README.md main

dsh-voice-dictation

Push-to-talk voice dictation for DeepSeek Harness (DSH):
a microphone button in the message composer records your voice, transcribes it
through a local speech-to-text server, and drops the text straight into the
message draft — hands-free prompting.

How it works

  • Browser half — mic button in the composer; hold/click to record, audio
    goes to the host half on release.
  • Host halfPOST /voice/transcribe forwards audio to a local
    Parakeet STT HTTP server (default
    http://127.0.0.1:5093), with a local whisper CLI as fallback when the
    service is unreachable.
  • Transcribed text lands in the composer draft; you review and send.

Everything stays on your machine — no cloud speech APIs.

Mic button in the composer Dictating… Text lands in the draft
Mic button in the composer Dictating Draft filled

Install

cd ~/.dsh/profiles/web
rm -rf node_modules/@deepseek-ai/dsh-voice-dictation   # drop any stale copy
pnpm add --force "file:/path/to/this/repo"

Add the composition row to ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: voice-dictation
      name: '@deepseek-ai/dsh-voice-dictation'

Restart DSH web and look for the mic button in the composer.

Configuration

Key Default Meaning
sttUrl http://127.0.0.1:5093 Parakeet-compatible STT HTTP endpoint
sttModel server default model selector passed through to the STT server

You'll need an STT backend running, e.g. NVIDIA Parakeet served over HTTP on
the configured port. Without one, the plugin degrades to the whisper CLI
fallback (requires whisper on PATH).

License

MIT — see LICENSE.