For a fresh setup, select the streaming 960ms-punct-int8 and offline punct-int8 sherpa-onnx exports of X-ASR, and get silero_vad.onnx separately.
Download sizes are predictable: the streaming int8 archive is 134 MB, the offline int8 archive 136 MB, and silero_vad.onnx 0.6 MB — about 271 MB in total (sherpa-onnx release pages, checked 2026-11-26). Recognition uses the CPU build of sherpa-onnx with int8 models, and the install dependencies above include neither CUDA nor a graphics driver; speed depends on your CPU.
Both archives and the VAD file can be downloaded directly. Addresses were checked on 2026-11-27; the returned sizes match the 134 / 136 / 0.6 MB above.
M=https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models
mkdir -p ~/.local/share/hyprvoice/models
cd ~/.local/share/hyprvoice/models
curl -LO "$M/sherpa-onnx-x-asr-960ms-streaming-zipformer-transducer-zh-en-punct-int8-2026-06-05.tar.bz2"
curl -LO "$M/sherpa-onnx-x-asr-zipformer-transducer-zh-en-punct-int8-2026-06-03.tar.bz2"
tar xf sherpa-onnx-x-asr-960ms-streaming-zipformer-transducer-zh-en-punct-int8-2026-06-05.tar.bz2
tar xf sherpa-onnx-x-asr-zipformer-transducer-zh-en-punct-int8-2026-06-03.tar.bz2
curl -LO "$M/silero_vad.onnx"
Each archive extracts to a directory named after itself without .tar.bz2. The configuration command below uses exactly those two directories; change the paths if you use different models.
Both archives contain bpe.model. HyprVoice also needs bpe.vocab. If the vocabulary is missing after extraction, install the SentencePiece Python bindings (python-sentencepiece on Arch), then run this in each extracted model directory that needs it.
python3 - <<'PY'
from sentencepiece import SentencePieceProcessor
model = SentencePieceProcessor(model_file="bpe.model")
with open("bpe.vocab", "x", encoding="utf-8") as vocab:
for index in range(model.get_piece_size()):
vocab.write(f"{model.id_to_piece(index)}\t{model.get_score(index):.9g}\n")
PY
Return to the HyprVoice checkout. scripts/configure.py checks every file, refuses to write a partial config, and preserves any existing config.
python3 scripts/configure.py \
--streaming ~/.local/share/hyprvoice/models/sherpa-onnx-x-asr-960ms-streaming-zipformer-transducer-zh-en-punct-int8-2026-06-05 \
--offline ~/.local/share/hyprvoice/models/sherpa-onnx-x-asr-zipformer-transducer-zh-en-punct-int8-2026-06-03 \
--vad ~/.local/share/hyprvoice/models/silero_vad.onnx
hyprvoice doctor
Open HyprVoice from the app launcher or run hyprvoice in your Hyprland session. A panel with StatusNotifierItem support will show the HyprVoice icon while it runs. To start it automatically at login, see the user service and session autostart options in the source instructions.
Hotwords are optional. For the first setup you can leave them out. To use an existing hotword file, add --hotwords followed by its path to the configuration command.