A powerful Telegram bot for downloading media from Spotify, YouTube, Instagram, and Pinterest.
- 🎵 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
- ⭐ Donations – Support with Telegram Stars
- 💻 100% Open Source – Free to use and modify
| 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 |
- Spotify –
open.spotify.com/track,playlist,album - YouTube –
youtu.be,youtube.com/watch,playlist,shorts - Instagram –
instagram.com/p,reel - Pinterest –
pinterest.com/pin
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
| Variable | Required | Description |
|---|---|---|
TOKEN |
Yes | Bot token from @BotFather |
ADMIN |
No | Admin user IDs (space-separated) |
MONGODB_URI |
No | MongoDB for user statistics |
- Support Group: @XBOTSUPPORTS
- Update Channel: @BeesonsBots
- GitHub: Star & Fork
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License