2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00
2026-02-24 22:33:33 +01:00

TS6 Manager

Web-based management interface for TeamSpeak servers. Control virtual servers, channels, clients, permissions, music bots, and automated bot flows — all from your browser.

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

License

Features

Server Management

  • Dashboard with live server stats (uptime, slots, traffic)
  • Virtual server list with start/stop controls
  • Channel tree with drag-and-drop ordering
  • Client list with kick, ban, move, poke actions
  • Server & channel group management
  • Permission editor (server, channel, client, group-level)
  • Ban list, token/privilege key management
  • Complaint viewer and offline message system
  • Server log viewer with filtering
  • File browser for channel files
  • Instance-level settings

Music Bots

  • Multiple bots per server, each with independent queue
  • Radio station streaming (ICY metadata, live title updates)
  • YouTube playback via yt-dlp (download + queue)
  • Music library management (upload, organize, playlists)
  • Volume control, pause, skip, previous, shuffle, repeat
  • Auto-reconnect with exponential backoff
  • In-channel text commands: !radio, !play, !stop, !pause, !skip, !vol, !np

Bot Flow Engine

  • Visual flow editor (drag-and-drop, node-based)
  • Triggers: TS3 events, cron schedules, webhooks, chat commands
  • Actions: kick, ban, move, message, poke, channel create/edit/delete
  • Conditions, variables, delays, loops, logging
  • Animated channel names (rotating text on a timer)
  • Placeholder system with filters and expressions

Architecture

┌──────────────┐     ┌──────────────┐     ┌─────────────────┐
│   Frontend   │────▶│   Backend    │────▶│  TS Server      │
│  React SPA   │     │  Express API │     │  WebQuery HTTP  │
│  nginx :80   │     │  Node :3001  │     │  SSH (events)   │
└──────────────┘     └──────┬───────┘     └─────────────────┘
                            │
                     ┌──────┴───────┐
                     │   SQLite     │
                     │   (Prisma)   │
                     └──────────────┘

Three packages in a pnpm monorepo:

Package Description
@ts6/common Shared types, constants, utilities
@ts6/backend Express API, WebQuery client, bot engine, voice bots
@ts6/frontend React SPA with Vite, TailwindCSS, shadcn/ui

The backend proxies all TeamSpeak API calls. The frontend never has direct access to API keys or server credentials.

Tech Stack

Frontend: React 18, Vite, TailwindCSS, shadcn/ui, TanStack Query + Table, React Flow, Recharts, Zustand

Backend: Node.js, Express, Prisma (SQLite), JWT authentication, WebQuery HTTP client, SSH event listener

Voice/Audio: Custom TS3 voice protocol client (UDP), Opus encoding via FFmpeg, yt-dlp for YouTube

Quick Start (Docker)

git clone https://github.com/clusterzx/ts6-manager.git
cd ts6-manager

# Set a real secret before deploying
export JWT_SECRET=$(openssl rand -base64 32)

docker compose up -d

Frontend: http://localhost:3000 Backend API: http://localhost:3001

On first launch, register an admin account through the UI, then add your TeamSpeak server connection (host, WebQuery port, API key).

Pre-built Images

docker pull clusterzx/ts6-manager:frontend
docker pull clusterzx/ts6-manager:backend

Coolify / Reverse Proxy

When deploying behind a reverse proxy (Coolify, Traefik, etc.), remove the ports section and let the proxy handle routing. If your TS server runs in a separate Docker network, add it as an external network to the backend service:

services:
  backend:
    networks:
      - ts6-network
      - ts-server-net

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

Development

Requires: Node.js 20+, pnpm 9+

pnpm install
pnpm dev          # starts backend + frontend in parallel

Backend runs on :3001, frontend on :5173 (Vite dev server).

Building

pnpm build        # builds all packages

Database

Prisma with SQLite. On first run:

cd packages/backend
npx prisma migrate deploy

The Docker images handle this automatically.

Environment Variables

Variable Default Description
PORT 3001 Backend port
DATABASE_URL file:./data/ts6webui.db SQLite database path
JWT_SECRET — Required. Secret for JWT signing
JWT_ACCESS_EXPIRY 15m Access token lifetime
JWT_REFRESH_EXPIRY 7d Refresh token lifetime
FRONTEND_URL http://localhost:3000 CORS origin
MUSIC_DIR /data/music Directory for downloaded music files

Music Bot Text Commands

When a music bot is running and connected to a channel, users in that channel can control it via chat:

Command Description
!radio List available radio stations
!radio <id> Play a radio station
!play <url> Play from YouTube URL
!play Resume paused playback
!stop Stop playback
!pause Toggle pause/resume
!skip / !next Next track in queue
!prev Previous track
!vol Show current volume
!vol <0-100> Set volume
!np Show current track

Requirements

  • TeamSpeak server with WebQuery HTTP enabled (not raw/telnet)
  • WebQuery API key (generated via apikeyadd or server admin tools)
  • SSH access to the TS server (only needed for bot event triggers)
  • yt-dlp and ffmpeg installed (included in Docker image, needed for music bots)

License

MIT

S
Description
TS6 Manager fork � YouTube JS-challenge fix baked into backend image (deno + yt-dlp EJS). CI builds to git.qomar.pw registry.
Readme
25 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 96.8%
Go 2.7%
CSS 0.4%