dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
baisama-cloud/dsh-stt-input
Speech-to-text voice input plugin for DeepSeek Harness (DSH) web GUI: click the mic in the composer to turn speech into text in the input box. Browser Web Speech API + OpenAI-compatible Whisper (OpenAI/Groq) with selectable model. DSH 语音输入插件
PROJECT TOPICS
PROJECT README
中文 · English
DeepSeek Harness (DSH) Web GUI 的语音输入插件。
点击输入框旁的 🎤 麦克风按钮开始说话,再点一次停止,识别文字自动填入输入框。 识别引擎与模型可在 设置 → 语音输入 中选择。
SpeechRecognition,
Chrome/Edge)。零配置、无需 API Key,边说边把中间结果写进输入框。MediaRecorder 录音,通过任意 OpenAI 兼容
/v1/audio/transcriptions 接口(OpenAI、Groq、自定义)转写。whisper-1(OpenAI)、whisper-large-v3、
whisper-large-v3-turbo、distil-whisper-large-v3-en(Groq),或自定义模型名。localStorage 在刷新后保留。打包 tarball 后安装到你的 DSH web profile(与其他 dsh-* 插件一致):
pnpm pack
# 把 dsh-stt-input-*.tgz 复制到 web profile 并添加依赖,
# 例如在 ~/.dsh/profiles/web 下:pnpm add ../path/to/dsh-stt-input-0.1.0.tgz
# 然后重启 `dsh web`。
插件注册了三个界面位:
conversation.input.left)conversation.composer.dock)settings.section → 语音输入)whisper-large-v3 目前免费。浏览器本地引擎依赖 Chrome/Edge 的 Web Speech API;Firefox 请使用 API 引擎。
┌──────────┐ 点击🎤 ┌───────────────┐
│ 客户端 │ ─────────────▶ │ MediaRecorder │ (api 引擎)
│ (浏览器) │ │ SpeechRecog. │ (browser 引擎)
└──────────┘ └──────┬────────┘
▲ ▼
│ setDraft(text) base64 音频 (JSON)
│ POST /stt-input/transcribe
│ │
┌─────┴──────┐ ┌───────▼────────┐
│ 输入框 │ ◀──────────│ Host (Node) │
└────────────┘ {ok,text} │ fetch → /v1/ │
│ audio/transcr.│
└────────────────┘
客户端(lib/client.js)录音后把 base64 JSON POST 到宿主路由
/stt-input/transcribe;宿主(lib/index.js)解码音频并以
multipart/form-data 上传到 ${baseUrl}/v1/audio/transcriptions
(使用 Node ≥ 18 的全局 fetch / FormData / Blob)。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。