Skip to content

VoiceSentinel – Processor

Running the processor

The compose file exposes port 28472 by default and mounts config.json (and optionally recordings).

From VoiceSentinel/processor-voicesentinel (with config.json in place):

Terminal window
docker compose up -d

Logs (follow):

Terminal window
docker compose logs -f

Stop:

Terminal window
docker compose down

The compose file exposes port 28472 by default and mounts config.json (and optionally recordings). Healthcheck hits GET /health.

Activate your venv, then:

Terminal window
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 28472

Use 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.

  • GET /health — JSON with status and version (processor build string). Use for load balancers and monitoring.
  • GET /stats — Connection and queue metrics (active_connections, transcriber_ready, processing_queue_size, etc.).

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.

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).