VoiceSentinel – Processor
Running the processor
The compose file exposes port 28472 by default and mounts config.json (and optionally recordings).
With Docker
Section titled “With Docker”From VoiceSentinel/processor-voicesentinel (with config.json in place):
docker compose up -dLogs (follow):
docker compose logs -fStop:
docker compose downThe compose file exposes port 28472 by default and mounts config.json (and optionally recordings). Healthcheck hits GET /health.
Without Docker (manual)
Section titled “Without Docker (manual)”Activate your venv, then:
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 28472Use the same port as server.port in config.json. For another port, pass --port and update config.json so the plugin’s processor_websocket_url matches.
Run under screen, tmux, or systemd for production.
HTTP endpoints
Section titled “HTTP endpoints”- GET /health — JSON with
statusandversion(processor build string). Use for load balancers and monitoring. - GET /stats — Connection and queue metrics (active_connections, transcriber_ready, processing_queue_size, etc.).
WebSocket
Section titled “WebSocket”The plugin connects over WebSocket (path includes a client id). It sends auth (with server_key in CUSTOM deployments), then audio_chunk messages. Normal gameplay does not use a browser against the WebSocket URL.
First run
Section titled “First run”The first start downloads the Whisper model from Hugging Face (can take several minutes; requires internet). Later starts use the cache. Set transcription.huggingface_token for faster, more reliable downloads (Hugging Face models).
