Skip to content

Beesonn/MediaSaveBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaSaveBot 🎵

Go Version Telegram License

A powerful Telegram bot for downloading media from Spotify, YouTube, Instagram, and Pinterest.

✨ Features

  • 🎵 Spotify – Download songs, playlists, and albums
  • 🎬 YouTube – Download videos & audio (MP4/MP3)
  • 📸 Instagram – Download photos & videos from posts
  • 📌 Pinterest – Download images & videos from pins
  • 🔍 Inline Mode – Search and download from any chat
  • 📊 Playlist Support – Pagination & batch download
  • 🤖 Clone Bot – Create your own bot instance
  • Donations – Support with Telegram Stars
  • 💻 100% Open Source – Free to use and modify

🚀 Commands

Command Description Example
/start Show bot information /start
/song Search and download a song /song never gonna give you up
/donate Support the bot with Stars /donate 100

Admin Commands (Main Bot Only)

Command Description
/stats View bot statistics
/broadcast Broadcast message to all users
/allbroadcast Broadcast to all clone bot users
/restartallbots Restart all clone bots

📥 Supported Links

  • Spotifyopen.spotify.com/track, playlist, album
  • YouTubeyoutu.be, youtube.com/watch, playlist, shorts
  • Instagraminstagram.com/p, reel
  • Pinterestpinterest.com/pin

🤖 Create Your Own Bot

  1. Create a bot from @BotFather
  2. Copy the bot token
  3. Send the token to the main bot
  4. Enjoy your own media download bot

🛠️ Installation

Prerequisites

  • Go 1.21 or higher
  • Telegram Bot Token (from @BotFather)

1. Clone the repository

git clone https://github.com/Beesonn/MediaSaveBot.git

cd MediaSaveBot

2. Install dependencies

go mod tidy

3. Set your bot token

export TOKEN="your_telegram_bot_token"

4. Run the bot

go build .

./MediaSaveBot

Environment Variables

Variable Required Description
TOKEN Yes Bot token from @BotFather
WEBHOOK_URL No Webhook URL for clone bots
ADMIN No Admin user IDs (space-separated)
MONGODB_URI No MongoDB for statistics

💝 Support

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License

Releases

No releases published

Packages

 
 
 

Contributors