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>
Wires up the previously placeholder-only "Nachrichten" options section: users can now save/delete named away-message templates and set a default leave message that's sent to the server (via DisconnectOptions) when disconnecting.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lets users disable e.g. join/leave chimes while keeping others on, without touching the master sounds toggle.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New Sounds options panel (Extras > Optionen > Sounds) with a master
enable toggle, volume control, and per-event upload/test/reset. Falls
back to synthesized soft two-note chimes when no custom file is set.
Sounds are routed through the same output device as voice playback.
Custom .ts3soundpack (ZIP+XML) import is left for later - this covers
the simpler per-event custom-file approach first.
Compose concatenates ports: lists across an override file instead of
replacing them, so the ports mapping added in the last commit caused
the deployed container to try publishing both 8080 and the override's
8188, colliding with another service already on 8080. Move ports back
out of the base file (override-only, as before) and keep the new
container_name/image/environment fields.
Add container_name, an image tag, direct port mapping, and an
explicit PORT env var instead of pointing to a separate override
file just to publish a port.
Add a Docker Compose (build-from-source) and a Docker Hub pull path as
the recommended install method, with the previous manual/from-source
steps kept as a collapsible section for anyone without Docker.
Fork tsclientlib to Moepchi/tsclientlib and bump the out-of-order
command queue limit (200 -> 4096). Large servers like
voice.teamspeak.com burst hundreds of command packets during the
initial channel/client sync; a single dropped packet in that burst
previously exceeded the queue and aborted the connection with
"Maximum length exceeded for command queue".
Also clear the "Claude Code" default nickname so the field starts
empty.
Introduces an i18n layer (src/i18n.tsx) with auto-detection (defaulting
to English) and a persisted override, wires every user-facing string in
App.tsx through it, and adds a language selector to the Anwendung
options panel in the same spot the native TeamSpeak client uses.
Adds badges, tagline/quick-links, a screenshot showcase table, a
features grid, tech-stack badges, and a collapsible architecture
section; makes the Docker Compose quick start prominent. Legal
disclaimer and credits kept unchanged.
Wires the official logo into the header, README, and browser tab; generates
favicon.ico/apple-touch-icon/OG image via a new ImageMagick script from a
single source PNG at web/public/logo.png.
Rebrands the app as an independent project, adds a trademark disclaimer
to the README, and migrates localStorage keys with a compatibility shim
so existing favorites/settings survive the rename. The TeamSpeak
protocol bridge itself (Ts3Connection, ts-connector binary) is untouched.
Builds out the Wiedergabe and Aufnahme sections of the Options dialog to
match the real TS3 client's layout, with the "Standard" profile only.
Everything technically feasible in a browser is wired to real behavior:
output/input device pickers (input device selection is new - MicCapture
can now target a specific deviceId), playback volume (new gain stage in
AudioPlayer), a real test tone, the voice-activation threshold/hangover
(hangover was previously hardcoded), noise suppression/echo cancellation
toggles (restart capture to apply new getUserMedia constraints), a live
mic level meter, and a mic self-monitoring ("Test starten") loopback.
Settings persist to localStorage. Everything the browser genuinely can't
do (Windows audio session mode, mono/surround downmix, ducking, typing
attenuation, mic-click sounds, comfort noise) stays as a disabled
placeholder control. Local-only for now, not deployed.
Opens via Extras -> Optionen. Sidebar navigation matches the real TS3
client (Anwendung/myTeamSpeak/Wiedergabe/.../Meldungen) and switches the
content panel, but the settings themselves are still placeholders - none
of the actual options are wired up yet. Local-only for now, not deployed.
Matches the real TS3 client's Extras menu items/grouping/shortcuts, but
every entry is disabled - none of these (identities, ban list, recording,
ServerQuery, etc.) are implemented yet. Local-only for now, not deployed.
Voice activation already gates what's actually transmitted, so there's no
reason to make the user click "Enable microphone" every time - it's now
requested once on mount via the same handleToggleMic() path a manual click
uses. Also resume the AudioContext if it starts suspended (autoplay policy),
since granting the permission prompt itself counts as a user gesture and
unblocks it even when start() wasn't triggered by a click.
The AudioContext/AudioPlayer were only created inside handleConnect, so
clicking the mic button while disconnected silently did nothing - no
permission prompt, no error. Lazily create them on first use instead
(ensureAudioContext), and drop the mic button's connected-only disabled
state, matching the real TS3 client where you can test your devices before
joining a server.
Committing a fixed port mapping doesn't work across hosts (this one already
had 8080 taken), so ports now belong in a gitignored docker-compose.override.yml.
Adds a multi-stage Dockerfile (Rust connector + gateway + web build) and
docker-compose.yml for running the whole stack as a single container behind
a reverse proxy; the gateway now serves the built web app and the WebSocket
endpoint (/ws) from one port, and the frontend derives its gateway URL from
window.location in production instead of a hardcoded localhost address.
Also guards all navigator.mediaDevices usage against being undefined, which
happens when the page is loaded over plain HTTP on a non-localhost address
(not a secure context) - previously this crashed the whole React app on
mount instead of just disabling the affected voice features.
Implements the real TS3 client's Favoriten menu (add/manage/list, with a
FavoritesDialog), the toolbar Away/AFK dropdown with saved presets and an
AwayDialog, plus input/output mute toggle buttons on the toolbar. Reorders
the toolbar to AFK -> Mic -> Speaker -> Theme and removes the standalone
Connect button in favor of the Verbindungen menu.
- Replace inline toolbar connect fields with a modal Connect dialog matching
the real TS3 client's layout, including a functional Standard Channel field
wired through a new connector --default-channel flag
- Add a Verbindungen dropdown menu (Verbinden/Aktuelle Verbindung trennen/
Alle Verbindungen trennen) with click-outside/Escape close and Ctrl+S/Ctrl+D
shortcuts
- Restructure layout: chat area (messages/tabs/input) now spans the full
width at the bottom; right side shows a separate, non-scrollable server
banner (object-fit scaled, shown only when set) above the client/server
info panel; tree width and upper-area height are now drag-resizable
- Surface server version, license, and banner URL from tsclientlib through
the connector and gateway
Adds a menu bar, an icon-based toolbar, and splits the right side into
a channel/server info panel (topic, codec, password, client count) on
top of the chat log - previously a single click switched channels, now
that only selects/shows info while a double-click actually joins, like
the native client. Required exposing a few more real protocol fields
from tsclientlib (channel codec/topic/max clients/password, server
name/max clients) that weren't surfaced before.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Uses tsclientlib's existing MessageTarget::Poke support end to end: a
poke button on each client row opens a small compose overlay (an
optional message, like TeamSpeak's own poke), and incoming pokes show
as a dismissible, auto-expiring banner.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Server/channel passwords are now optional connect fields (hidden behind a
lock toggle so the normal flow stays uncluttered). The last successfully
used server/nickname is remembered via localStorage and autofilled on
load. The channel tree now shows per-client status badges (channel
commander, away, mic muted, deafened) sourced directly from tsclientlib's
existing client data.
Also credits Claude Code in the README, since it wrote the vast majority
of this project's code.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Bounds the connector's initial connect/login wait with a 15s timeout (an
unreachable host previously hung forever with no error), rewrites
tsclientlib's Debug-formatted errors into plain text, and adds a
connecting/error UI state in the frontend with a dismissible banner
instead of burying failures in the bottom log.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
AudioContext.setSinkId only exists in Chrome; HTMLMediaElement.setSinkId is
supported more broadly (including Firefox 130+). Playback now goes through
a MediaStreamAudioDestinationNode into a hidden <audio> element so output
device switching actually takes effect outside Chrome/Edge.