Panda 🐼 – a lightweight, open-source YouTube music bot for TeamSpeak 6 (web panel, song library)

Hi everyone! :waving_hand:

I wanted a music bot for our TeamSpeak 6 server, but SinusBot can’t join TS6 servers (it ships an old 3.5.x client, and TS6 only accepts TS3 clients from 3.6.0). So I built Panda: a small, open-source YouTube music bot made for TeamSpeak 6.

What it does

  • Plays YouTube songs by name or link: youtube.com, youtu.be, YouTube Music, Shorts. Playlist and album links add just one song instead of loading the whole list.
  • Song library: every requested song is saved on disk. Saved songs start instantly and are found by name (!play bohemian). When the size limit is reached (5 GB by default), the least played songs are removed first.
  • No gaps: the next songs in the queue are downloaded ahead of time.
  • Web panel: now playing, drag & drop queue, search, library, history, volume, loop and seek. Light/dark theme, English/Turkish, works on phones.
  • Chat commands in English and Turkish (!play, !skip, !queue, !vol, !loop, !join…), optionally limited to UIDs or server groups.
  • No YouTube API key. If YouTube asks for a bot check, paste cookies in the panel.
  • Light: no TeamSpeak client or X server in the background; the bot itself uses about 130 MB of RAM.

Install

On a Linux server (x64 or ARM) it is a single command; you can copy it from the Install section on the GitHub page.
The installer sets up a systemd service, keeps yt-dlp up to date and prints the panel address and password. A Docker image and Windows/macOS builds are available too.

For bot developers

Panda is built on TSLib (from TS3AudioBot). TS6 servers send a new license block (type 8) during the handshake that TSLib didn’t understand, so the client couldn’t derive the shared secret. Panda carries a small patch that reads it the same way tsclientlib does. It’s documented in the repo (lib/README.md) in case it helps other projects.

Links

Tested with the 6.0.0-beta13.1 server. It’s free and open source (OSL-3.0). Feedback, bug reports and ideas are very welcome!

Panda was built with the help of Claude (an AI assistant) and tested on a real TeamSpeak 6 server.

1 Like

Ty its very good system i have test for my TeamSpeak 6 just how i can add translate french

Thanks a lot, glad you like it! :panda: French is now built in (v0.3.9): choose Français under Settings → Bot → Chat language, and the panel switches with the language button at the top. French commands work too (!jouer, !passer, !file, !aide…). If any wording sounds off to a native speaker, just tell me and I’ll fix it. Feedback and ideas are always welcome!

Ok ty man for all or for suggestion i propose of can create bot directly in the channel exemple !create bot and too integrated the system auto afk, clock on the banner, ban, kick, move, rename etc

Add too possibility of modify the avatar for bot, of control a bot directly on the panel

Thanks so much for the ideas, I really appreciate you taking the time! :panda:

!create bot is now in Panda 1.0, along with vote skip and a lot more. Changing the bot’s avatar from the panel is coming in the next version (1.1).

For the rest (auto AFK, the clock on the banner, kick/ban/move/rename), I thought about it a lot and decided to keep Panda a music bot. That way it stays light, simple and easy to set up, and does one thing well.

But I really liked those ideas, so I’m starting a separate project for them: a TeamSpeak 6 management tool with iTS own panel. It’s at the very beginning, which makes it the perfect time to shape it together. If you’d like, write to me directly anytime and tell me what your ideal management panel would look like: which features, what you use daily on your server, what annoys you in other tools. I’d love to build it with your input. :slightly_smiling_face:

And as always, any bugs or ideas for Panda are welcome too!

1 Like

Panda 1.0 is out! :panda:

Panda has grown a lot since 0.3. It’s still a small music bot that talks to TeamSpeak 6 directly, and now it has:

  • songs from YouTube, YouTube Music, SoundCloud, Bandcamp and more. Spotify, Apple Music, Deezer and Tidal links play the same song from YouTube (whole playlists too)
  • internet radio with a station list and !fm
  • equalizer, nightcore, slowed, 8D, speed and crossfade
  • every song equally loud, even the first time it plays
  • chat permissions (DJs, admins, blocked people, a level per command), vote skip and a limit on songs per person
  • a schedule (“play this list every morning at 9”), !sleep, and your own list with !myfav
  • !create bot for a second bot in your channel
  • English, Turkish, French and German

Updating from 0.x keeps everything, and on Linux it’s one click in the panel.

Next up: changing the bot’s avatar from the panel.

Install and docs: GitHub - KaanBahaSever/panda: 🐼 A tiny, cute YouTube music bot for TeamSpeak 6 with a lovely web panel · GitHub

As always, bugs and ideas are very welcome!

1 Like

Alright, I’ll give it some thought and let you know all the details privately. In any case, thanks again for what you’re doing—it’s incredible and super useful! I’m also glad you liked my suggestions/ideas.

This is all incredible by the way, I’m not sure if it’s possible, but why not allow updates to be performed directly from the panel?

It would also be nice to be able to display the name of the music directly in the bot’s name, just like you did for the channel.

Thank you, that means a lot! :panda:

Updating from the panel is already there on Linux: when Panda was installed with the install command from the README, the panel shows an update button and does it in one click. On Docker, Windows or macOS the panel only tells you a new version is out and how to update. Which one are you using?

Good news: in the next version (1.1) one-click updates from the panel will work on Windows and macOS too. On Docker it will be a single command.

The song in the bot’s name is a nice idea! I’ll add it as an option in 1.1, together with changing the bot’s avatar from the panel.

And sure, send me the details privately whenever you’re ready!

Also, if you’re already using Panda on your server, I’d love to see a screenshot of it. It would make my day! :grinning_face_with_smiling_eyes: