lougyang/dsh-voice-input ↗★ 0

dsh-voice-input

系统级语音输入(DSH 插件):挂载后自动在后台启动,按全局热键说话,本地 Whisper 转写并粘贴到当前光标处——在电脑任何程序里都能用,不只是 DSH。纯本地运行,语音不出本机。 适合想在任何程序中用语音输入的用户,需 Python 环境,首次安装下载较大。

Package
dsh-voice-input
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Aug 15, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lougyang/dsh-voice-input

配置

改法一:托盘「设置」页面(保存后即时生效,且不会随插件更新丢失)。

改法二:改 cordis.patch.yml 的 config(作为插件的默认配置):

键默认说明
hotkeyf2语音热键,如 ctrl+alt+space
modeholdhold 按住说话;toggle 按一下开/再按关
record_enabledtrue是否启用纯录音
record_hotkeyf3录音热键
record_dir空录音保存目录;空则用 %USERPROFILE%\Recordings
modelsmalltiny/base/small/medium/large-v3
languagezhzh/en/auto
deviceautoauto(有N卡用GPU)/cpu/cuda