HUB
Sign inSign up
ts6-manager logo

uniskela/ts6-manager

By uniskela

•Updated 4 days ago

Web-based management interface for TeamSpeak servers

Image
Monitoring & observability
0

4.4K

uniskela/ts6-manager repository overview

⁠TS6 Manager

License AI Assisted

An open-source, web-based management interface for TeamSpeak servers. Manage virtual servers, channels, clients, permissions, music bots, automated workflows, and embeddable server widgets — all from your browser.

Built for the community. TS6 Manager is an independently maintained continuation of the original clusterzx/ts6-manager⁠ project, focused on security, reliability, usability, and ongoing feature development. Development is driven by the needs of users and contributors rather than a commercial product or hosting service.

Contributions are welcome! Whether you develop software, administer TeamSpeak servers, test releases, improve documentation, or have ideas for the project, there's a place for you here. See Contributing⁠ to get involved.

Development uses AI-assisted tooling alongside human oversight, testing, and code review. Thank you to the original project creator and everyone who has contributed to its continued development. See CREDITS.md⁠ and our contributors⁠ for acknowledgements.

Built on the WebQuery HTTP API (the ServerQuery replacement in modern TeamSpeak builds). Telnet is not used or supported.

Contents: Documentation⁠ · AI agent docs⁠ · Screenshots⁠ · Features⁠ · Architecture⁠ · Tech Stack⁠ · Quick Start (Docker)⁠ · Contributing⁠ · Development⁠ · Environment Variables⁠ · Sidecar / Video Streaming env⁠ · Music Bot Text Commands⁠ · Requirements⁠ · TeamSpeak compatibility⁠ · Download progress⁠ · Contributors⁠ · License⁠

⁠Documentation

The maintained public documentation is available at ts6manager.com/docs⁠ and is sourced from the reviewed Markdown files in docs/public/⁠.

Start with:

⁠Using this project with AI coding agents

If you use Codex, Cursor, Claude Code, or another assistant with Context7 MCP⁠, you can ask it to consult TS6 Manager's documentation before changing deployment settings or integrations. Context7 is optional; you can always use the maintained docs directly.

Use Context7 MCP to resolve the official documentation library for uniskela/ts6-manager (expected ID: /uniskela/ts6-manager), then retrieve guidance for installation, configuration, upgrading, TeamSpeak compatibility, music/video bots, and troubleshooting. Match the guidance to the TS6 Manager version I'm using. If the library is still indexing or doesn't cover that version, check the maintained documentation⁠ and linked source files instead.

⁠Quick Start (Docker)

Note

TS6 Manager maintains its own releases and container images, separate from the original project. Do not assume deployments are interchangeable; review the [upgrading documentation](https://ts6manager.com/docs/latest/upgrading/) and back up your data before switching.

Prebuilt images are published only for immutable vX.Y.Z releases created by Release Please. Ordinary pushes and PR merges to main do not publish images. .github/workflows/publish-images.yml⁠ is invoked after a release is created and also has a manual recovery path for republishing an existing release tag.

GitHub Container Registry (default) — used by the compose files in this repo:

ServiceImage
Backendghcr.io/uniskela/ts6-manager/backend:latest
Frontendghcr.io/uniskela/ts6-manager/frontend:latest
Sidecarghcr.io/uniskela/ts6-manager/sidecar:latest
All-in-oneghcr.io/uniskela/ts6-manager/all-in-one:latest

Docker Hub (mirror) — same digests, flat tags on uniskela/ts6-manager⁠, published only when both DOCKERHUB_USERNAME and DOCKERHUB_TOKEN repository secrets are set (otherwise GHCR still publishes and Hub tags may be missing or stale). After a successful image publish, a separate Hub token (DOCKERHUB_DESCRIPTION_TOKEN in the dockerhub-description environment) puts the GitHub repository short description and a shortened copy of this README on that Hub page, linking back to the full README for that release:

ServiceImage
Backenduniskela/ts6-manager:backend
Frontenduniskela/ts6-manager:frontend
Sidecaruniskela/ts6-manager:sidecar
All-in-oneuniskela/ts6-manager:all-in-one

When Hub publish is enabled, versioned Hub tags look like uniskela/ts6-manager:backend-1.10.1. Prefer GHCR unless you specifically want Docker Hub.

Pull GHCR without logging in once the packages are Public (Packages → each image → Package settings). The workflow tries to set that automatically after the first publish.

⁠Split stack (default)
  1. Download the docker-compose.yml⁠
  2. Create a .env file next to it:
JWT_SECRET=your-random-secret-at-least-32-characters
ENCRYPTION_KEY=another-random-secret-for-credential-encryption
SIDECAR_SECRET=shared-secret-between-backend-and-sidecar

Generate secure values:

echo "JWT_SECRET=$(openssl rand -base64 32)" >> .env
echo "ENCRYPTION_KEY=$(openssl rand -base64 32)" >> .env
echo "SIDECAR_SECRET=$(openssl rand -base64 32)" >> .env
  1. Start the stack:
docker compose up -d
  1. Open http://localhost:3000/setup and create your admin account
  2. Log in, then add your TeamSpeak server connection under Settings → Connections (host, WebQuery port, API key)

JWT_SECRET, ENCRYPTION_KEY, and SIDECAR_SECRET are required in production. The backend refuses to start without them when NODE_ENV=production. The sidecar HTTP API is authenticated with SIDECAR_SECRET and is not published to the host by default. Browser WebRTC preview needs a published UDP mux (WEBRTC_UDP_PORT, often 10000) and WEBRTC_NAT1TO1_IP - see docker-compose.pr-test.yml and Video streaming⁠.

⁠Connection credentials and upgrades

WebQuery API keys and SSH passwords are encrypted before they are stored in the persistent SQLite database. Normal container restarts and image upgrades therefore do not require you to re-enter connection credentials, provided the database volume and encryption key are preserved.

  • Generate ENCRYPTION_KEY once and keep the same value across restarts, upgrades, and redeployments. Changing it prevents TS6 Manager from decrypting credentials that were stored with the previous key.
  • When creating a WebQuery API key manually, include lifetime=0 if you want a persistent key (for example, apikeyadd scope=manage lifetime=0 ip=0.0.0.0/0). Omitting lifetime can create a time-limited key that later starts returning invalid apikey.
  • When editing an existing connection, secret inputs such as the WebQuery API key or SSH password are intentionally not populated back into the browser. Leaving one of those fields blank keeps the saved encrypted value unchanged.
  • On startup, TS6 Manager validates restored WebQuery credentials in the background without delaying the WebUI. A log message such as invalid apikey means the TeamSpeak server rejected the saved key; it does not mean TS6 Manager forgot or cleared it.
  • Transient SSH closes during the initial handshake are retried automatically. Authentication and host-key failures remain fatal and require the connection settings or server trust configuration to be corrected.
⁠All-in-one (single container)

Runs nginx + backend + sidecar in one image (adapted from upstream PR #64⁠ by @joaobosconff⁠):

# Same .env secrets as above
docker compose -f docker-compose.all-in-one.yml up -d
# or: docker pull ghcr.io/uniskela/ts6-manager/all-in-one:latest

Open http://localhost:3000 (override with HOST_PORT). Only port 80 is published; backend and sidecar stay on loopback inside the container.

⁠Building from Source

Full local stack with TeamSpeak 6 (6.0.0-beta14) - preferred happy path:

git clone https://github.com/uniskela/ts6-manager.git
cd ts6-manager
cp .env.pr-test.example .env
docker compose -f docker-compose.pr-test.yml up --build

Then open http://localhost:3000/setup, create the first admin, and log in. The bundled TeamSpeak connection is already present (WebQuery + SSH Query). Demo mode remains available separately.

Manager only (no TeamSpeak): use docker compose -f docker-compose.local.yml up -d --build after writing JWT_SECRET, ENCRYPTION_KEY, and SIDECAR_SECRET into .env.

⁠Coolify / Reverse Proxy

Use docker-compose.coolify.yml⁠ as a starting point. Key differences from the standard compose:

  • No ports section - the reverse proxy handles routing
  • Set the domain on the frontend service in Coolify (port 80)
  • If your TS server runs in a separate Docker network, add it as an external network on the backend service:
services:
  backend:
    networks:
      - ts6-network
      - ts-server-net

networks:
  ts-server-net:
    external: true
    name: your-ts-server-network-id

⁠Environment Variables

VariableDefaultDescription
JWT_SECRET-Required. Secret for JWT signing. Must be set in production.
ENCRYPTION_KEY-Required in production. Dedicated AES-256-GCM key for stored credentials. Generate it once and keep the same value across restarts/upgrades; dev may fall back to JWT_SECRET.
PORT3001Backend port
DATABASE_URLfile:./data/ts6webui.dbSQLite database path
JWT_ACCESS_EXPIRY15mAccess token lifetime
JWT_REFRESH_EXPIRY7dRefresh token lifetime
FRONTEND_URLhttp://localhost:3000CORS origin
PUBLIC_URL-Optional. Address TeamSpeak clients use to reach the manager; hosted channel banner links start with it. Can also be set in the channel banner picker.
MUSIC_DIR/data/musicDirectory for downloaded music files
SIDECAR_URL-Optional. Full URL of the WebRTC sidecar service (e.g. http://ts6-sidecar:9800). Set in Docker when sidecar runs as a separate container.
SIDECAR_SECRET-Required when SIDECAR_URL is set in production. Shared bearer token for sidecar mutating APIs.
YT_COOKIE_FILE-Optional. Path to a Netscape-format cookies.txt file for yt-dlp. Can also be managed via Settings → YouTube in the UI.

⁠Environment Variables: Sidecar / Video Streaming

Defaults below are the sidecar code defaults. Compose files may intentionally override them (for example, the standard split-stack compose raises the RTP queue sizes).

VariableDefaultDescription
WEBRTC_UDP_PORTunsetShared IPv4 ICE UDP mux port for browser WebRTC preview (publish this UDP port from Docker)
WEBRTC_NAT1TO1_IPunsetHost/LAN/Tailscale IPv4 IP(s) advertised as ICE host candidates
WEBRTC_BIND_IP127.0.0.1 (compose)Host bind address for the published WebRTC UDP mapping
VIDEO_QUEUE_SIZE4096Size of the video RTP queue (packets)
AUDIO_QUEUE_SIZE2048Size of the audio RTP queue
SYNC_PLAYOUT_BUFFER_MS50Playout buffer added to both tracks on top of the later track's latency
SYNC_VIDEO_BIAS_MS0Optional extra holdback for video to fine-tune sync
SYNC_MAX_DELAY_MS1000The most one track is held back to meet the other, and how long the first track waits for the other to start
AUDIO_DELAY_MS0Optional manual audio delay; normally leave at 0 with adaptive pacing
SIDECAR_DEBUG_LOGS0Set to 1 to enable verbose high-frequency runtime logs
SIDECAR_HOSTunsetAddress the sidecar HTTP API listens on. Unset listens on all interfaces (Docker). Set it for a native sidecar⁠.
VIDEO_RTP_READ_BUFFER4194304Requested UDP socket read buffer for video RTP
AUDIO_RTP_READ_BUFFER1048576Requested UDP socket read buffer for audio RTP
VIDEO_WIDTH1280Default output width when not supplied by the API
VIDEO_HEIGHT720Default output height when not supplied by the API
VIDEO_FRAMERATE30Default output frame rate when not supplied by the API
VIDEO_BITRATE1500kDefault VP8 target bitrate
AUDIO_BITRATE128kDefault Opus target bitrate
VIDEO_CPU_USED4libvpx realtime speed/quality trade-off
VIDEO_ENCODE_THREADSCPU countlibvpx encode thread count
VIDEO_BUFSIZEautoOptional override; otherwise approximately 2 × VIDEO_BITRATE
FFMPEG_HTTP_PERSISTENTautoauto and 0 send Connection: close on remote HTTP(S) requests, including opaque/redirected HLS playlists and segments. Safe for MPEG-TS and MP4 too. 1 leaves FFmpeg's connection behavior unchanged. Applied to playback and probing; sidecar only.
FFMPEG_EXTRA_INPUT_ARGSunsetExtra options before each remote input, also used for probing. Custom headers are preserved; Connection is managed by FFMPEG_HTTP_PERSISTENT. HLS-only options such as -http_persistent can break MP4/MPEG-TS. Values containing -i or bare URLs are ignored.
FFMPEG_EXTRA_OUTPUT_ARGSunsetExtra FFmpeg options inserted before each RTP output.

⁠Requirements

  • TeamSpeak server with WebQuery HTTP enabled (not raw/telnet)
  • WebQuery API key (generated via apikeyadd or server admin tools)
  • SSH ServerQuery access to the TS server when using the file browser, bot flow event triggers, or music-bot channel chat commands
  • yt-dlp and ffmpeg installed on the backend (included in the Docker image)

⁠License

MIT


This is a shortened README for Docker Hub. Screenshots, features, architecture, development setup, TeamSpeak compatibility, music bot commands and contributors are in the full README⁠ for this release.

Tag summary
Recent tags
Content type
Image
Digest
sha256:6cc0a85e2…
Size
424.4 MB
Last updated
4 days ago
docker pull uniskela/ts6-manager:all-in-one