This is an absurdly simple Unix domain socket server for Vosk. Connect to its socket, and then give input like so:
{"c":"vosk","wav":"base64 signed 16-bit mono waveform data","sr":sample rate}
It will respond like so:
{"result":[vosk result]}
ennuicastr-vosk-daemon.sh
is designed to install all dependencies
automatically, so all you need to do to run the service is run that.