Scripts

March 10, 2026 · View on GitHub

Index of script groups and standalone scripts for building, running, and maintaining the Voxray Go server.

Table of scripts

Script / DirDescriptionHow to run
build.ps1Build voxray (no CGO; no WebRTC TTS/Opus).\scripts\build.ps1 (Windows, from repo root)
build-voice.ps1Build with CGO for WebRTC TTS and Opus.\scripts\build-voice.ps1 (requires gcc on PATH)
run.ps1Run voxray with config (default build).\scripts\run.ps1 -config config.json
run-voice.ps1Run with voice build (CGO).\scripts\run-voice.ps1 -config config.json
pre-commit.shGo format + vet check (fails if not formatted or vet fails)./scripts/pre-commit.sh (from repo root)
fix-lint.shFix formatting and optional golangci-lint --fix./scripts/fix-lint.sh
mem-watch.shWatch process RSS in GB (Linux/macOS)./scripts/mem-watch.sh <PID>
mem-watch.ps1Same on Windows (PowerShell).\scripts\mem-watch.ps1 -PID <pid>
daily/Daily.co transport and dial-inSee daily/README.md
dtmf/Generate DTMF WAV files (ffmpeg or Go)See dtmf/README.md; ./scripts/dtmf/generate_dtmf.sh or go run ./cmd/generate-dtmf [out_dir]
evals/Go-native eval runner (LLM scenarios)See evals/README.md; go run ./cmd/evals -config scripts/evals/config/scenarios.json -voxray-config config.json
krisp/Krisp Viva (upstream only)See krisp/README.md

Makefile

From repo root, make lint runs pre-commit checks, make lint-fix runs fix-lint, and make evals runs the eval runner with default config. Use make build / make build-voice and make run / make run-voice on Linux/macOS.

See also