AnyBot/deploy/server
王性驊 12c9944dee Server voice service: Whisper on the brain's own server, checked for real
`make server` now asks whether to run a voice service there (and the
kept-setup menu can add or remove it): speaches, Whisper
large-v3-turbo on the CPU, behind the brain only (no published port),
enabled with COMPOSE_PROFILES=voice so it composes with the Tailscale
and LAN files. The brain sees ANYBOT_VOICE_URL, fills 設定 › 語音 › 聽
with it once (what is changed later stays), and asks the service for
its model at each start: this build downloads only when asked (it has
no PRELOAD_MODELS, and the 0.8.2-cpu tag is older still, so the image
is pinned by the digest that was tested).

Tested end to end on 12 CPU cores with the compose file itself: first
start 404 s to download the model, later starts 1 s; 11 s of Mandarin
mixed with English (Chrome, Tesla FSD) in 3.4–3.6 s, every word right.
small is three times faster and slipped a character. Reading aloud
stays with another service: speaches can't say Chinese (its espeak has
no "zh"), English works.

From the same test: a service that answers 200 with no sound is now an
error said in words (it was played as silence), Whisper's ASCII
punctuation in Chinese becomes full-width (,?!), and speaches'
"not installed locally" says the model is still on its way.
2026-11-11 00:14:50 +08:00
..
.env.example HTTPS on the local network's own IP, with a certificate the server signs itself 2026-11-07 21:27:07 +08:00
Dockerfile Server image: keep dependencies fetched from GitHub between builds 2026-11-06 18:15:22 +08:00
docker-compose.lan.yml HTTPS on the local network's own IP, with a certificate the server signs itself 2026-11-07 21:27:07 +08:00
docker-compose.tailscale.yml Server setup: Tailscale address instead of a domain, and a no-questions mode 2026-11-05 01:26:33 +08:00
docker-compose.yml Server voice service: Whisper on the brain's own server, checked for real 2026-11-11 00:14:50 +08:00
setup.sh Server voice service: Whisper on the brain's own server, checked for real 2026-11-11 00:14:50 +08:00