nonmean/dsh-audio-input

nonmean★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

DSH web plugin: macOS native speech-to-text composer input (Apple Speech framework, remote helper)

README 摘要

dsh-audio-input Speak into the DeepSeek Harness Web GUI. A DSH web plugin that adds a microphone button to the message composer. Dictation uses the native Apple Speech framework (SFSpeechRecognizer) running as a small helper process on the Mac whose microphone you use — no cloud API key, no audio leaves the machine. How it works - Browser half — the mic button and the live-transcript strip (conversation.input.right / conversation.input.dock). Click to start, click again to stop; the final transcript is inserted into the composer draft, ready for you to press send. - Server half — a cordis plugin that exposes small JSON routes on the web server and relays dictation control and transcripts between the browser and the helper process. - Helper process — dsh-audio-speech, a 130 KB native binary built from native/SpeechCapture.swift. It captures the microphone with AVAudioEngine and recognizes speech with SFSpeechRecognizer on the machine it runs on. Two modes: Mode Helper runs on Use when local the dsh server Mac you are sitting at the server Mac remote another Mac on the network you access the GUI from another Mac — mic + recognition happen there, only text travels The browser automati…

在 GitHub 查看完整 README →
工具/开发audio-inputdshdsh-plugindsh-plugins

分类