The connector is cross-compiled with tonistiigi/xx on the build platform
(pinned by digest); web-builder and gateway-builder also run natively there
since their output is platform-independent JS. Only the runtime stage runs
per target platform. README mentions the arm64 image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
Adds a GitHub Actions workflow (docker-publish.yml) that builds the
webspeak3 image and pushes it to Docker Hub as moepchi/webspeak3:latest
plus a matching version tag whenever a GitHub Release is published (or
manually via workflow_dispatch). Uses GHA layer caching so the Rust
connector build doesn't redo work on every release.
Also hardens the Dockerfile's web-builder stage against a long-standing
npm bug (npm/cli#4828) where `npm ci` intermittently fails to install
Vite 8's platform-specific Rolldown binding without a non-zero exit
code, surfacing later as a confusing vite build MODULE_NOT_FOUND. Now
verified and self-healed (rm + npm install) before the real build runs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Cloudflare Pages (demo.webspeak3.de) already covers this for free,
no need for a second free hosting fallback.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
GitHub Pages only serves static files, but the real app needs a Node gateway and Rust connector to speak the TS3 protocol - neither of which can run there. This adds a fake WebSocket (DemoSocket) that simulates a connection with canned channels/clients entirely client-side, gated behind VITE_DEMO_MODE so the normal Docker build is unaffected, plus a GitHub Actions workflow that builds and publishes it to Pages.
Also fixes a real bug surfaced while testing the disconnect flow: a clean disconnect incorrectly showed "Connection closed before the server responded" because the socket's onclose handler couldn't tell a clean disconnect apart from one that never connected.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Gives bug reports and feature requests a structured format instead of blank issues, and points questions to Discussions.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>