- Home
- Plugin
- Visione, voce e multimodale
- gigaam-dsh-voice
gigaam-dsh-voice
vizer0n/gigaam-dsh-voice
Turns Russian speech into text in the DeepSeek Harness composer with a local GigaAM-v4 model, with pause and resume. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Installazione
dsh plugin --profile web add github:vizer0n/gigaam-dsh-voiceREADME
GigaAM voice input for DeepSeek Harness
English | Русский
A microphone button for the DeepSeek Harness composer that turns Russian speech into text with a local GigaAM-v4 RNN-T model. Audio never leaves the machine, and no cloud API key is involved.
Features
- Live dictation. The recognized text appears in the composer while you speak and is only ever appended, never rewritten behind you.
- Pause and resume.
Spacepauses and resumes without dropping the model state, so the continuation lands exactly where you stopped. - Keys.
Space— pause/resume,Enter— stop and finish,Escape— cancel and remove what was dictated. - Continues previous text. A new recording appends after the previous transcript instead of starting over.
- Recording level indicator, and UI strings in Russian or English.
- Local. Audio goes to
ws://127.0.0.1:8765and nowhere else.
Requirements
- DeepSeek Harness
>= 0.2.0. - Russian speech: GigaAM-v4 is trained on Russian, so dictation in other languages is out of scope.
- Windows with Python 3.10+ on
PATH. The first run prepares a virtual environment with the CPU wheels of torch and downloads about 464 MB of GigaAM-v4 weights into~/.cache/gigaam. - CPU only is fine: streaming runs at roughly 0.6x realtime on a 12th-gen i5 with 8 threads, using about 1.6 GB of RAM.
Install
dsh plugin add github:vizer0n/gigaam-dsh-voice
or, in the app, Plugins → Add plugin with the repository URL.
The bundle starts the recognition server together with the Harness and stops it on exit; if something already listens on the configured port, it is left alone.
On the first start it copies the server out of the package into
%LOCALAPPDATA%\gigaam-voice\asr-server — a package directory is replaced on
every update, so the environment does not live there. Click the microphone once
and it offers to prepare that environment: setup.ps1 runs in its own console
window, so the ~500 MB download is visible, and the server starts as soon as the
interpreter appears. Nothing else has to be configured.
Project layout
| Path | What it is |
|---|---|
index.js, client.js | The two halves of the bundle: host (server lifecycle, page config, status and setup endpoints) and browser (button, capture, insertion). |
asr-server/ | The Python WebSocket server with GigaAM-v4, its setup script and tests. |
locale/, docs/ | UI strings and the plugin detail page. |
Configuration
~/.dsh/gigaam-voice.json is written on first start. Every field is optional:
the file holds overrides, not state.
| Field | Meaning |
|---|---|
port | Port of the recognition server; the browser half learns it from the page. |
threads | Torch threads for the server. |
contextMs | Streaming right context: 160, 320 or 640 ms. |
serverDir | Directory holding server.py and .venv; empty means the provisioned copy under %LOCALAPPDATA%\gigaam-voice\asr-server. |
pythonPath | Explicit interpreter; empty means <serverDir>/.venv/Scripts/python.exe. |
autostart | Start the server with the Harness. |
Development
A checkout uses asr-server/ in place, so its .venv stays where the sources
are:
cd asr-server
python -m unittest -v test_session.py # protocol and transcript assembly
python test_client.py path\to\16khz.wav # live round trip, needs the server
The server's diagnostic trail is written to %TEMP%\gigaam-voice-apply.log.
Limitations
- The bundled server script targets Windows; the wire protocol is platform-neutral.
- The final text is the streaming result: there is no second full-context pass, so punctuation and casing are what the streaming model produced.
- The browser half ships as a plain script, not as a compiled bundle.
License
MIT. GigaAM-v4 is MIT as well; see its repository for the weights' terms.
Plugin correlati
dsh-web-ui (dsh-tool-describe-image)
zhu1090093659/dsh-web-ui
modlens
liustack/modlens
ipollowork
devin-axis/ipollowork
dsh-image-gen
shanliuling/dsh-image-gen