WebSpeak · English
Join your TeamSpeak community from a browser.
Project home · 简体中文 · Deutsch · Русский · 日本語
WebSpeak is a self-hosted browser client and voice gateway for TeamSpeak 3 and TeamSpeak 6. Visitors join voice, chat and screen sharing in a browser; operators manage target servers, access policy and data through the administration console.
Stable release: v0.2.9 notes · Download packages. The functional plugin store is currently available on dev and is not part of v0.2.9.
Development security fixes: dev now reimplements the IPv6 target checks, concurrent login limits, password-rotation session revocation, trusted-proxy rate limits and PCM uplink safeguards reported in PR #48. The historical v0.2.9 notes below describe the original release and do not include these unreleased fixes.
Live demo · Features · Screenshots · Deployment · Administration · Advanced settings · Skins & plugins · Troubleshooting · Changelog
Live demo
Try the welcome page and voice workspace. Network conditions, load and availability vary between demo nodes.
Features
| Capability | What it provides |
|---|---|
| Realtime voice | Opus, optional WebRTC and WebSocket fallback; mute, VOX, device selection, browser noise suppression and per-member volume. |
| Channels & messaging | Channel tree and TeamSpeak spacers, member state, channel switching, channel/server/private chat, pokes, whispers and local chat history. |
| Screen & audio sharing | Screen sharing between browsers and supported native TeamSpeak 6 clients, with quality, bitrate and statistics controls; desktop window or tab audio sharing. |
| Identity & connections | Remembered identities, TS3 identity import/export, favorites and history, SRV and Nickname resolution, IPv4/IPv6 and invitation links. |
| Instance administration | Fixed or open targets, access policy, invitations, sessions, logs, diagnostics, backups and optional TeamSpeak management connections. |
| Skins & interface | Day, Night, ILLUSIA and KAAK, plus GitHub distribution of .wskin packages, five interface languages and responsive layouts. |
| Distributed voice | Browsers connect directly to the selected relay voice gateway while the page stays on the ingress instance URL. |
| Deployment | Docker amd64/arm64, Windows x64 and Linux x64/ARM64 server packages, plus Android preview APKs. |
TeamSpeak version compatibility
Voice uses the standard TeamSpeak client protocol and needs no Query credentials. Optional TeamSpeak administration uses separate WebQuery / ServerQuery credentials.
- TeamSpeak 3: protocol detection recognizes the leading
3.xversion. Older server releases should be validated with the specific deployment because not every historical release has been independently tested. - TeamSpeak 6: supported, including screen sharing with native TeamSpeak 6 clients.
- Auto-detection: the gateway reads the server's
versionresponse and records the detected protocol in connection diagnostics. - The gateway uses the upstream
@honeybbq/teamspeak1.0.0-beta.19SDK; WebSpeak targets TeamSpeak 3 and TeamSpeak 6.
Screenshots
Deployment & first-time setup
The Compose configuration uses network_mode: host and targets Linux Docker hosts. Use the release package for a Windows server.
| Method | Best for | Environment |
|---|---|---|
| Docker Compose (recommended) | Long-running servers, simple upgrades, and persistent data | Docker Engine + Docker Compose |
| Release package | Running without Node.js or build dependencies | Windows x64 or Linux x64/ARM64 |
| From source | Development, debugging, and customization | Node.js 22.12+, Git, and native build tools |
Docker Compose (recommended)
git clone --depth 1 https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
cd WebSpeak-client-for-TeamSpeak
docker compose pull
docker compose up -d
Open http://<your-host>:3040 after startup. If using a reverse proxy, point it to that address. When WebRTC is enabled, allow the UDP range shown in the administration console. Data is stored in the webspeak-data volume.
docker compose ps
docker compose logs -f webspeak
Upgrade:
git pull --ff-only
docker compose pull
docker compose up -d
Do not run docker compose down -v; it removes the database and administrator settings.
Release package
Download the matching windows-x64.zip, linux-x64.tar.gz, or linux-arm64.tar.gz from GitHub Releases. Extract it and run the included launcher. Packages include the Node.js runtime and production dependencies. Docker images support amd64/arm64.
Android APKs for arm64-v8a, armeabi-v7a, and x86_64 are also attached. They use debug signing for sideload testing; they are not Google Play packages, and real-device voice still needs validation.
From source
git clone https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
cd WebSpeak-client-for-TeamSpeak
npm ci --ignore-scripts
npm rebuild @discordjs/opus --foreground-scripts
npm --prefix web ci
npm --prefix web run build
npm run build
npm start
Building @discordjs/opus requires Python, Make, and a C/C++ toolchain.
First-time setup
- Open
http://<your-host>:3040/admin. - Sign in with
admin/adminand immediately set a new password of at least 12 characters. - Configure the TeamSpeak target and access mode under Servers, for example
voice.example.com#9987. - Configure HTTPS for public access; when WebRTC is enabled, allow the UDP range shown in the console.
HTTPS & persistent data
Expose the public page and WebSocket over HTTPS. For example, point your hostname to the host and configure Caddy to reverse-proxy WebSpeak:
webspeak.example.com {
reverse_proxy 127.0.0.1:3040
}
Replace the example hostname with your own. A working reverse proxy or Tunnel does not make WebRTC UDP media reachable; see Advanced settings. Release/source installs use data/, while Docker uses the webspeak-data volume. Keep webspeak.db and its matching master.key together when backing up or moving an instance.
Administration
Open /admin to manage servers and access, WebRTC and relays, invitations, active sessions, logs and backups. The skin store is at /admin/skins; the functional plugin store (dev) is at /admin/plugins.
Optional TeamSpeak administration
WebSpeak administration and visitor voice do not depend on this feature. In fixed-server mode, open /admin/ts-admin to configure the TS management connection.
- Enable WebQuery on the TS server and have an authorized TS administrator create an API key. Enter the WebQuery HTTP/HTTPS URL and key. This is the TS Query endpoint, not the WebSpeak website. TS3 (3.12+) and TS6 are supported.
- Virtual server ID
0selects the fixed target's voice port. For a restricted key, enter its authorized server ID. Read-only keys support viewing; changes require writable scope and the corresponding TS permissions. - Alternatively, choose ServerQuery SSH, or ServerQuery TCP for TS3. Enter the Query host (blank uses the fixed target), Query port, username and password; SSH also requires a trusted host-key fingerprint. This is the TS Query service, not an operating-system SSH login. TCP is unencrypted and suitable only for trusted networks. HTTPS certificates must be trusted by the gateway.
- Save and connect or refresh to inspect the server, channels, members, server groups and bans. Actions include server settings, channel creation/renaming/deletion, moving/kicking/banning members by identity, group assignment and removing bans. Actions require confirmation and TS permission checks; lists refresh manually.
Credentials are encrypted on the server and never returned by the API. Back up both the database and master.key. A failed management connection does not affect WebSpeak administration or ordinary voice. UID bans avoid banning other users sharing the gateway IP.
Advanced settings
These features are optional. WebSpeak continues to work with the compatibility voice transport when they are disabled. Configure them under Administration → Servers; saved changes apply to new connections.
WebRTC low-latency voice
WebRTC moves browser voice to a realtime media path and also enables desktop accompaniment. The current WebSpeak gateway provides it directly; no separate media server is required.
- Sign in at
/adminand open Advanced settings on the Servers page. - While WebRTC is disabled, choose the UDP start and end ports. The default range is
40000–40099. - Allow the complete UDP range in the WebSpeak host's security group and firewall.
- Enable WebRTC and save. New visitors will negotiate WebRTC; unsupported browsers and networks fall back to the compatibility transport.
The port range is locked while WebRTC is enabled. Disable and save WebRTC before changing it, then update the firewall rules. Public deployments also need HTTPS.
Voice WebRTC behind a reverse proxy or TCP tunnel
The WebRTC advanced settings now include a public media address, IPv6 candidates, and a voice STUN server. The media address must be a gateway IP or hostname reachable over UDP, without a scheme, path or port. It overrides the address inferred from Origin, X-Forwarded-Host, or Host; DNS names are resolved into IP candidates. IPv6 is opt-in and retains IPv4 candidates.
Set a UDP STUN URL such as stun:turn.teamspeak.com:3478 to use the same discovery service in the browser and gateway. Empty preserves the previous behavior: the gateway library uses its built-in STUN service while the browser has none. The gateway requires an IPv4-reachable UDP STUN hostname or IPv4 address; IPv6 literals and TURN credentials are not accepted. IPv6 media candidates work independently of STUN. Save and reconnect to apply changes.
HTTP/WebSocket reachability does not imply media reachability. Allow the complete configured UDP range and preserve port numbers when using static port forwarding. STUN discovers mappings but cannot relay audio or traverse every NAT. Deployments with only a TCP tunnel and no usable UDP/IPv6 path still fall back to compatibility transport.
Screen-share ICE candidates
Screen-share media still prefers a direct browser-to-browser path; WebSpeak only relays negotiation signaling. By default it uses TeamSpeak's public STUN services to discover server-reflexive candidates; STUN does not carry media. If the deployment has an authorized external TURN service, set WEBSPEAK_SCREEN_SHARE_ICE_SERVERS before starting WebSpeak with a JSON array, for example:
[{"urls":"stun:turn.teamspeak.com:3478"},{"urls":"turns:turn.example.com:5349","username":"<username>","credential":"<credential>"}]
With TURN configured, media may use that external TURN service but never the WebSpeak gateway; without it, only direct ICE paths and STUN are used.
Cross-platform P2P screen sharing
Browser users and native TeamSpeak 6 clients can discover, start, and watch each other's screen shares. Screen media between browsers, and between a browser and a native client, is sent over a WebRTC/ICE peer-to-peer path whenever possible; WebSpeak handles session authorization, share state, and SDP/ICE signaling, but does not carry the screen media. The UI includes live status, viewer count, player volume, fullscreen, and exit controls. Share settings support up to 1080p and 60 FPS, with live WebRTC statistics for diagnosis.
Relay mode
Use a relay when a TeamSpeak server rejects connections from another region or when the direct path is unstable. It is not a VPN: it forwards only the TeamSpeak traffic of the current WebSpeak session, while the visitor still chooses the target server in the web page.
A relay instance runs both the legacy UDP compatibility forwarder and a separate voice gateway, with no visitor page or administration console. The ingress gateway signs and delegates a one-time voice ticket with the shared token; the browser then connects directly to the relay, and the relay connects to TeamSpeak. The page stays on the ingress gateway URL. Use a random token of at least 16 characters.
Show relay startup and configuration examples
Run from source
git clone --depth 1 https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
cd WebSpeak-client-for-TeamSpeak
npm ci --ignore-scripts
npm rebuild @discordjs/opus --foreground-scripts
npm run build
WEBSPEAK_MODE=relay \
WEBSPEAK_RELAY_TOKEN='replace-with-a-long-random-token' \
WEBSPEAK_RELAY_HOST='0.0.0.0' \
WEBSPEAK_RELAY_PORT='39087' \
node dist/index.js
Windows PowerShell:
$env:WEBSPEAK_MODE = "relay"
$env:WEBSPEAK_RELAY_TOKEN = "replace-with-a-long-random-token"
$env:WEBSPEAK_RELAY_HOST = "0.0.0.0"
$env:WEBSPEAK_RELAY_PORT = "39087"
node .\dist\index.js
Run from a release package
Download and extract the appropriate package from Releases:
# Linux
export WEBSPEAK_MODE=relay
export WEBSPEAK_RELAY_TOKEN='replace-with-a-long-random-token'
export WEBSPEAK_RELAY_HOST='0.0.0.0'
export WEBSPEAK_RELAY_PORT='39087'
./runtime/node ./dist/index.js
On Windows PowerShell, set the same variables and run .\runtime\node.exe .\dist\index.js.
Run with Docker
docker run -d --name webspeak-relay --restart unless-stopped --network host \
-e WEBSPEAK_MODE=relay \
-e WEBSPEAK_RELAY_TOKEN='replace-with-a-long-random-token' \
-e WEBSPEAK_RELAY_PORT='39087' \
ghcr.io/echosixhiya/webspeak:latest
The voice gateway listens on 127.0.0.1:3041 by default. Give the relay an HTTPS hostname and reverse-proxy it to 127.0.0.1:3041 with Caddy or an equivalent proxy, for example:
relay.example.com {
reverse_proxy 127.0.0.1:3041
}
In the ingress gateway's relay settings, set Voice gateway address to that HTTPS origin (for example, https://relay.example.com). The page remains on its original gateway, then opens a WSS connection to this relay hostname. WebRTC is enabled by default on the relay; also allow UDP 40000-40099 and set WEBSPEAK_RELAY_WEBRTC_PUBLIC_HOST to a public relay IP or directly reachable hostname. Update firewall rules if you change the WebRTC UDP range. Keep UDP 39087 open for compatibility with older forwarding.
Enable it in the gateway
- Open Administration → Servers → Relay server and add one or more nodes.
- Set a display name, UDP endpoint such as
relay.example.com#39087, HTTPS voice gateway origin such ashttps://relay.example.com, and matching token for each node, then save. - Visitors can choose direct access or one of the configured relays on the welcome page.
Disable and save the relay configuration to remove the relay option from the welcome page.
Dependencies and attribution
- The relay service is built into WebSpeak with Node.js standard libraries; it does not use GOST, sing-box, or another proxy framework.
- WebRTC uses werift
0.24.4, whose upstream project is licensed under MIT. - TeamSpeak connectivity uses the upstream HoneyBBQ/teamspeak-js package
@honeybbq/teamspeak@1.0.0-beta.19; a project SDK fork build is not required.
Skins & functional plugins
Skin packages .wskin
Skins own appearance, layout and their attached widgets. Administrators install, enable and choose the default skin. Authors use the public contract without changing WebSpeak source code.
Development guide · Agent Skill · Skin catalog · Discord Voice example
Functional plugins .wplugin (dev)
Functional plugins are independent applications using standard browser capabilities and optional Node backends with their own routes, state and collaboration. Administrators review code and dependencies before enabling; updates require renewed trust. Applications support TS server or instance scope and run on a separate origin. API v2 requires current dev and is not included in v0.2.9.
Development guide · Agent Skill · Distribution catalog & example
Troubleshooting
| Symptom | What to check |
|---|---|
| WebRTC falls back after being enabled | Check the voice-status error code, HTTPS, the complete UDP firewall range and the public media address. A TCP Tunnel does not carry this UDP media path. |
| A target is blocked as a local address | Open mode restricts loopback/private targets. Use the administrator-configured fixed-server mode for a co-located TS server; visitor-defined targets need a reachable address. |
| Screen sharing times out or stays black | Screen sharing has a separate WebRTC connection. Inspect its negotiation, ICE and codec statistics; connected voice WebRTC does not prove screen-media reachability. |
| Data is missing or cannot be decrypted after upgrading | Reuse the data directory or volume and its matching master.key. Do not upgrade with docker compose down -v. |
⚠️ Requirements and notes
| Area | Requirement or note |
|---|---|
| Browser | Use a current Chrome, Edge, or other modern browser with WebRTC support. Microphone and window audio normally require HTTPS. |
| TeamSpeak network | The WebSpeak host must reach the target TeamSpeak server; the default voice port is 9987. |
| Web network | The service uses 3040/TCP; public deployments should expose the page and WebSocket through an HTTPS reverse proxy. |
| IPv6 | Write literal targets as [2001:db8::1]#9987. The host/container needs routed IPv6, IPv6 enabled in the OS and Node.js, and the relevant firewall rules. |
| WebRTC | The default range is 40000–40099/UDP; allow it and disable WebRTC before changing the range. |
| Remembered identity | One browser identity can hold one active remembered connection. Disable it for parallel connections or use another browser profile. |
| Accompaniment | Desktop only and requires WebRTC. Enable audio sharing when selecting a window or tab. |
| Data | Docker data is in webspeak-data; release packages and source installs use data/. Back up before upgrades. |
| Session limit | One instance admits up to 100 active browser sessions; this is an application limit, not a performance guarantee or TS license allowance. |
Changelog
v0.2.9 · 2026-10-24
Enhancements
- Migrated to upstream SDK 1.0.0-beta.19. Ordinary voice connections use the live client directory without Query list permissions.
- Added a GitHub skin store and instance-level installation, updates and availability controls. Discord Voice is distributed independently as a standard
.wskinexample. - Added optional TS administration in fixed-instance mode, with WebQuery, TCP or SSH Query credentials for managing the server, channels, members, server groups and bans.
- Relays can advertise a direct browser voice endpoint and own the voice session, avoiding an extra gateway forwarding hop.
- Added generic persistent-workspace and reconnect APIs, adopted by KAAK alongside administrator, project GitHub and QQ group shortcuts.
- Added TeamSpeak channel spacers with alignment, repeated fill, blank rows and standard line patterns, including public presentation data for skins.
Fixes
- Fixed screen-share fullscreen sizing and cleanup of departed members' state and playback resources.
- Fixed successful bans being reported as failures, Query connections appearing in member counts and the channel-password label.
- Distinguished permission, rate-limit and timeout errors. A refresh failure after a successful action now has its own warning to prevent duplicate actions.
- Guarded against the SDK treating failed HTTP responses as successful WebQuery results, and fixed DC home, chat and narrow-screen control layouts.
Known issues
- The security hardening described in PR #48 is not included in this release; closing that PR does not mean the reported issues are fixed.
Show v0.2.8 and earlier releases
v0.2.8 · 2026-10-17
Screen sharing and connection reliability
- Fixed negotiation and video-track handling for screen sharing between browsers and native TeamSpeak clients.
- Improved handling of rapid channel switches to reduce inconsistent client state.
- Fixed content rendering in some skin components and localization in the KAAK skin.
Interface improvements
- Audio device names now display in full and wrap when space is limited, making long names easier to distinguish.
- Fixed avatar fallback text being selected unintentionally.
v0.2.7 · 2026-10-13
A more open skin system
- A more open skin editor and runtime now let authors customize the style and position of any component and add widgets.
- After entering the voice panel, open a new administrator-console window in the same browser and sign in to activate the skin editor.
- The KAAK skin is included as a development example.
- Updated the skin development Agent Skill.
Enhancements
- Server addresses can now be resolved through SRV records and TeamSpeak Nickname entries.
- Free mode supports managing multiple server tabs; these controls are unavailable in fixed-server mode.
- Added a screen-share bitrate option.
- WebSpeak now saves entered channel passwords in the browser.
- Locked channels now show a lock icon.
- Chat history is now stored persistently.
Bug fixes
- Fixed address parsing.
- Fixed focus conflicts between volume controls and dragging member cards.
- Fixed user status being incorrectly parsed as unknown.
v0.2.6 · 2026-10-08
Relative to 0.2.5, broadly refactored gateway voice, shared protocol, frontend voice workspace, and admin modules; fixed #6/#7/#10, implemented #9/#12 settings, and fixed the existing-TS6-share discovery case reported in PR #13. Improved Opus/session lifecycles and mobile controls. Packages: Windows x64, Linux x64/ARM64, Docker amd64/arm64, and Android arm64-v8a/armeabi-v7a/x86_64.
v0.2.5 · 2026-09-27
Added .wskin skins, administrator enable/default controls, and protected Day/Night/ILLUSIA built-ins; removed the unfinished Aurora Voice sample, fixed skin-load flashes, dark-control contrast, and voice-room artwork layering, and added the official skin-development Agent Skill.
v0.2.4 · 2026-09-22
Added cross-platform P2P screen sharing between browsers and native TeamSpeak 6 clients; added STUN/external-TURN configuration, live player and viewer state, 1080p/60 FPS capture settings, and WebRTC statistics; refined screen-share interactions and added visitor numbering.
v0.2.3 · 2026-09-19
Added channel member scheduling and permission-aware direct moves; added avatar, mute-state, and remembered-identity support; refreshed feature screenshots and documentation for all five languages.
v0.2.2 · 2026-09-17
Added browser-side microphone noise suppression, Russian and Japanese UI, and per-language welcome text; refined volume interaction and error messages/codes on top of PR #2.
v0.2.1 · 2026-09-13
Improved welcome-page connection errors, preserved and safely truncated error codes, and added default IPv6 target support.
v0.2.0 · 2026-09-10
Added server-password prompts, formal relay mode, multiple relay selection, and administrator connection-reason reporting.
v0.1.8 · 2026-09-08
Simplified Docker deployment, supported local TeamSpeak targets, added a 15-second connection timeout, and made network monitoring continuous.
v0.1.7 · 2026-09-06
Added German, Telegram, network performance, and master-volume features; fixed accompaniment volume fluctuation.
v0.1.6 · 2026-09-04
Added desktop accompaniment, remembered-identity guidance, and the site icon; fixed WebRTC member volume.
v0.1.5 · 2026-09-04
Fixed identity persistence and refined the theme toggle.
v0.1.4 · 2026-09-03
Fixed WebRTC and channel chat and refined administration, logs, and mobile layouts.
v0.1.3 · 2026-09-03
Added bundled WebRTC, migrated the TeamSpeak SDK, and improved member synchronization and voice buffering.
Contributors & attribution
Show upstream authors and PR contributions
This list acknowledges the upstream SDK author, contributions through merged GitHub PRs, and original work adapted into independently distributed skin packages.
- HoneyBBQ — Author of the upstream teamspeak-js (
@honeybbq/teamspeak) SDK, which provides the TeamSpeak protocol client used by WebSpeak. - ph1gros — PR #48 reported security issues and supplied proposed fixes and regression tests for open-target IPv6 validation, admin authentication/sessions, proxy-aware limits and PCM uplink boundaries. The original patch was not merged directly; the fixes were reimplemented on
dev. - LainHE — merged PRs #2, #8, #28, #31–#35, #37, #38 and #40, covering browser error translations, scaling and home layout, screen-share bitrate and viewer avatars, relay target validation and recovery, trusted proxy handling, connection-failure propagation, audio fault reporting, and WebRTC failure cleanup.
- TimmySheep — merged PRs #13 and #15–#24, covering existing TS6 share discovery, share aspect ratio, mobile voice/wake/skin-menu behavior, identity channel options, PWA/theme work, chat history, member audio states, and microphone permission.
- yichen11818 — PR #25 added registered TeamSpeak nickname connections and preserved nickname targets; PR #51 improved KAAK workspace retention and reconnection after the first connection. PR #27 and PR #52 supplied the original Discord skin design and implementation (commit author yumi), later adapted by the WebSpeak project into an independently distributed
.wskinskin.
Community & related projects
GitHub Issues · QQ group 869500475 · Telegram
NeteaseTSBot: a TeamSpeak music bot with multi-platform playback and a web console.
License
WebSpeak is distributed under AGPL-3.0-only. See each upstream project for third-party licenses and attribution.



