astr0mfly/dsh-voice-by-edge ↗★ 0
dsh-voice-by-edge
Voice practice mode for the DSH web app: bilingual (中文 / English) conversation output plus read-aloud (TTS) and speech input (STT). Adds a 语音交流 dialog-mode toggle to the composer.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:astr0mfly/dsh-voice-by-edge说明文档
阅读完整 README ↗⚙️ 配置 / Config
cordis.patch.yml(bundle 自带,也可在 profile 的 cordis.patch.yml 中按 id 覆盖):
| Key | 默认 | 含义 |
|---|---|---|
defaultTargetLang | en | 练习目标语言:en / zh / auto |
practiceLevel | beginner | 难度:beginner / intermediate / advanced(影响提示词措辞) |
includeTranslation | true | 回复后附一段【译文】对照翻译 |
includeCorrection | true | 用户有语言错误时附一句【提示】温和纠错 |
maxReplySentences | 3 | 要求模型回复控制在几句话内(1–8) |
客户端偏好(练习语言、语速、自动朗读、跟读回放、自动发送)保存在浏览器 localStorage(voice-by-edge.state),每个会话独立的开关状态也在其中。