HasiiMusicBot – Telegram Music Bot
Open-source Telegram music bot for voice chats. Created and maintained by Hasindu Nagolla. First released September 2025.
HasiiMusicBot (Hasii Music) is an open-source Telegram music bot created and maintained by Hasindu Nagolla. It streams high-quality audio into Telegram group voice chats from YouTube links, search queries and live radio stations, with queue management, admin controls and automatic voice chat cleanup.
Features
- High-quality audio streaming: Smooth playback in Telegram voice chats using the Opus codec and FFmpeg.
- YouTube playback: Play songs from YouTube links, search queries and supported playlists.
- Live radio: Browse and stream a collection of online radio stations with /radio.
- Smart queue management: Add songs, view the queue, skip tracks and clear the queue.
- Admin controls: Pause, resume, skip, stop and seek, restricted to admins, authorised users, the owner and sudo users.
- Automatic voice chat cleanup: Detects inactive voice chats and leaves them to save server resources.
- Multi-language support: Serves an international audience in multiple languages.
- Docker ready: Deploy with Docker or Docker Compose and configure everything through environment variables.
Commands
/play <song or URL>: Play a song from a YouTube URL or search query/radio: Browse available radio stations/queue: Show the current music queue/pause, /resume, /skip: Control playback (admins)/seek <time>: Jump to a timestamp (admins)/end: Stop playback and clear the queue (admins)
Tech stack
Python, Pyrogram, PyTgCalls, FFmpeg, yt-dlp, MongoDB, Deno, Docker, DigitalOcean, React.js, Tailwind CSS
Official links
- Source code: github.com/hazindu/HasiiMusicBot
- Telegram bot: @HasiMusicBot
- Website: hasiimusic.hazindu.tech
- Developer: Hasindu Nagolla on Telegram
Frequently asked questions
Who created HasiiMusicBot?
HasiiMusicBot (Hasii Music) was created and is maintained by Hasindu Nagolla, a software engineer from Sri Lanka. It was first published on GitHub in September 2025, and the project license reads "Copyright (C) 2025-2026 Hasindu Nagolla".
Where is the official HasiiMusicBot source code?
The official repository is github.com/hazindu/HasiiMusicBot. Other repositories with the same code are forks or copies of it.
Is HasiiMusicBot free and open source?
Yes. HasiiMusicBot is free to use and its source code is published on GitHub under the GNU General Public License v3.0.
How do I use HasiiMusicBot in my Telegram group?
Add @HasiMusicBot to your Telegram group, start a voice chat, then send /play followed by a song name or YouTube link.
What is HasiiMusicBot built with?
It is written in Python with Pyrogram and PyTgCalls for Telegram and voice chat playback, FFmpeg and yt-dlp for media, and MongoDB for storage.