A lightning-fast Telegram bot that downloads and delivers high-quality MP3s with album artwork directly to your Telegram chats. Developed by Taz.
- 🎧 Ultra high-quality MP3 downloads (320kbps)
- 🖼️ Album artwork included in each track
- 🔍 Smart search handles typos and partial names
- ⚡ Lightning-fast processing & delivery
- 📱 Works seamlessly within Telegram
- Python 3.8+
- FFmpeg (optional, for audio conversion)
- Telegram Bot API token
- Clone the repository
git clone https://github.com/Tazhossain/musicbot.git
cd musicbot- Install required dependencies
pip install -r requirements.txt- Set up your Telegram Bot API token
# Create .env file to add your token
echo "API_TOKEN=YOUR_TELEGRAM_BOT_TOKEN" > .env- Run the bot
python bot.py/start- Display welcome message/help- Show help information/about- Bot information- Simply send any song name to search (e.g.,
Blinding Lights The Weeknd)
t2musicbot/
├── bot.py # Main bot code
├── requirements.txt # Python dependencies
├── .env # Environment variables (create this)
├── start.sh # Startup script (for deployment)
├── README.md # This documentation
└── downloads/ # Temporary download directory (auto-created)
This bot can be easily deployed on various platforms including Render, Heroku, or your own server.
- Sign up for a Render account
- Choose Background Workers as your resource type
- Connect your GitHub repository
- Set environment variables:
API_TOKEN: Your Telegram Bot API token
- Set the start command to
bash start.sh - Deploy!
This project is licensed under the MIT License - see the LICENSE file for details.
For issues or suggestions, please open an issue on GitHub.
Made with ❤️ by Taz