fenglin-ai/dsh-funasr-voice ↗★ 0
dsh-funasr-voice
DSH Web 本地离线语音输入插件,支持通过浏览器采集麦克风并调用本地 FunASR (SenseVoiceSmall) 进行语音识别,自动将文字填入输入框。
AI 分析
核心用途是为 DSH Web 提供本地离线语音输入。适合需要高隐私、低延迟语音转文字输入的用户。必要条件是本地需部署 Python 环境、FunASR 库及 SenseVoiceSmall 模型。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fenglin-ai/dsh-funasr-voice说明文档
阅读完整 README ↗配置
有两种方式配置 python / model:
① GUI(推荐):DSH 设置 → 通用 → 语音输入,点「自动检测 Python 与模型」会自动
识别本机 FunASR venv 和 SenseVoiceSmall 目录;也可手动填写。持久化到
~/.dsh/dsh-funasr-voice.json,优先级高于 YAML 配置。
② YAML:插件源码不带个人路径(默认 python: python3、model 为空)。在你自己
profile 的 cordis.patch.yml 里覆盖: