Skip to content

Tazhossain/musicbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 T2MusicBot - Telegram Music Downloader

T2MusicBot Logo

A lightning-fast Telegram bot that downloads and delivers high-quality MP3s with album artwork directly to your Telegram chats. Developed by Taz.

✨ Features

  • 🎧 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

🚀 Getting Started

Prerequisites

  • Python 3.8+
  • FFmpeg (optional, for audio conversion)
  • Telegram Bot API token

Installation

  1. Clone the repository
git clone https://github.com/Tazhossain/musicbot.git
cd musicbot
  1. Install required dependencies
pip install -r requirements.txt
  1. Set up your Telegram Bot API token
# Create .env file to add your token
echo "API_TOKEN=YOUR_TELEGRAM_BOT_TOKEN" > .env
  1. Run the bot
python bot.py

🤖 Bot Commands

  • /start - Display welcome message
  • /help - Show help information
  • /about - Bot information
  • Simply send any song name to search (e.g., Blinding Lights The Weeknd)

🏗️ Project Structure

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)

☁️ Deployment

This bot can be easily deployed on various platforms including Render, Heroku, or your own server.

Deploying on Render

  1. Sign up for a Render account
  2. Choose Background Workers as your resource type
  3. Connect your GitHub repository
  4. Set environment variables:
    • API_TOKEN: Your Telegram Bot API token
  5. Set the start command to bash start.sh
  6. Deploy!

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📞 Contact

For issues or suggestions, please open an issue on GitHub.


Made with ❤️ by Taz

About

best music downloader telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published