Download & Installation
1. Download
Please visit the GitHub Releases page to download the latest version of TeamSpeakClaw:
Select the appropriate file for your operating system (Windows, Linux, macOS).
2. Installation
TeamSpeakClaw is a standalone binary application and does not require a complex installation process.
- Extract the downloaded archive into a folder.
- Ensure you have read and write permissions for that folder.
3. Configuration
The extracted archive contains a config/ directory with the following configuration files:
settings.toml— Core settings (Connection, LLM, bot behavior, Headless voice service)acl.toml— Permission control rulesprompts.toml— System prompts and error messages
Use a text editor to modify config/settings.toml, filling in your TeamSpeak ServerQuery account credentials, LLM API Key, and other information.
Quick Configuration Checklist:
[serverquery]— Fill in TeamSpeak server address, port, and login credentials[llm]— Fill in API Key, Base URL, and model name[headless]— Enable and configure STT/TTS if you need voice service (optional)[napcat]— Enable and configure WebSocket URL if you need QQ bot (optional)
For detailed configuration instructions, please refer to the Configuration Guide.
4. Docker Deployment (Recommended)
Deploying with Docker is the easiest way, without manually installing dependencies.
Using Docker Compose (Recommended)
- Create a project directory and download the configuration file:
mkdir teamspeakclaw && cd teamspeakclaw
curl -O https://raw.githubusercontent.com/Dr1mH4X/TeamSpeakClaw/main/docker-compose.yml
- Prepare configuration files and models (optional):
- Copy configuration files from
examples/config/directory toconfig/and modify them - If you need local STT service, download whisper.cpp GGML models to the
models/directory:
mkdir -p models
cd models
# Download whisper model (recommended: ggml-large-v3-turbo)
# Model list: https://huggingface.co/ggml-org/whisper.cpp/tree/main
wget https://huggingface.co/ggml-org/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin
More models available at: https://huggingface.co/ggml-org/whisper.cpp
- Choose STT Solution:
Option 1: Local STT (Default, Recommended)
Use the stt-api service (whisper.cpp) already configured in docker-compose.yml to provide local speech recognition:
- No external API Key required
- Runs offline with lower latency
- Supports GPU acceleration (requires
/dev/dridevice mapping) - Requires downloading GGML model files to the
./modelsdirectory
Option 2: Online STT Service
If you don't want to use local STT, you can:
- Remove or comment out the
stt-apiservice in docker-compose.yml - Remove
depends_on: stt-apifrom theteamspeakclawservice - Configure OpenAI-compatible online STT API in
config/settings.tomlunder[headless.stt]
- Start the service:
docker compose up -d
- View logs:
docker compose logs -f
Using Docker Command
# Pull the latest image
docker pull ghcr.io/dr1mh4x/teamspeakclaw:latest
# Create directories
mkdir -p config logs
# Copy example configuration and edit
# Copy configuration files from the examples/config/ directory and modify them
# After editing the configuration, run the container
docker run -d \
--name teamspeakclaw \
--restart unless-stopped \
-v ./config:/app/config:ro \
-v ./logs:/app/logs \
-e TZ=Asia/Shanghai \
ghcr.io/dr1mh4x/teamspeakclaw:latest
5. Start Service (Traditional Method)
Once the configuration is complete, simply run the program:
./teamspeakclaw
If configured correctly, the bot will connect to your TeamSpeak server and begin listening for events.