A standalone container for vosk using the wyoming protocol. Inspired by this hass.io addon.
- docker
- docker compose (or another way of starting the container)
- clone the repo
- change into the repo:
cd wyoming-vosk-standalone
- build the container:
bash build.sh
- optional: adapt
docker-compose.yaml
to your use-case - run the container:
docker compose up
A directory called dirs
will be created in the current folder. Inside that folder are the volumes specified in docker-compose.yaml
- Settings->Integrations->Add Integration: Add the wyoming protocol and add the IP of wherever you are running
Wyoming Vosk Standalone
. The port is10300
.
Other Vosk-Models can be found here. Let's say you want to use vosk-model-de-0.21
, a german model (de)
cd
into the models directory:cd dirs/models
- Download the model:
wget https://alphacephei.com/vosk/models/vosk-model-de-0.21.zip
- Unzip:
unzip vosk-model-de-0.21.zip
- vosk uses the foldername to determine the language:
mv vosk-model-de-0.21 de
- optional: delete the zip:
rm unzip vosk-model-de-0.21.zip
Pull requests and ideas/feature requests are always welcome!