A Telegram bot that can download files from URLs and upload them to Telegram. Supports premium features for enhanced capabilities.
- 📥 Download files from direct URLs
- 📈 Premium enhanced features
- 📊 Upload Up to 4GB
- ✏️ File renaming capability
- 📈 Progress tracking
- 📹 YouTube video download support
Create a .env file with the following variables:
API_ID=your_api_id
API_HASH=your_api_hash
BOT_TOKEN=your_bot_token
SESSION_STRING=your_session_string
OWNER_ID=your_telegram_idBOT_TOKEN - Get from @BotFather
API_ID - Get from my.telegram.org
API_HASH - Get from my.telegram.org
AUTH_USERS - Your Telegram ID
- Create a Heroku account if you don't have one
- Install Heroku CLI
- Login to Heroku:
heroku login
- Create a new Heroku app:
heroku create your-app-name
- Set the environment variables in Heroku dashboard or using CLI:
heroku config:set API_ID=your_api_id heroku config:set API_HASH=your_api_hash heroku config:set BOT_TOKEN=your_bot_token heroku config:set SESSION_STRING=your_session_string heroku config:set OWNER_ID=your_telegram_id
- Deploy to Heroku:
git add . git commit -m "Ready for deployment" git push heroku master
- Click the Deploy on Railway button
- Add the required environment variables:
BOT_TOKEN - Get from @BotFather API_ID - Get from my.telegram.org API_HASH - Get from my.telegram.org OWNER_ID - Your Telegram ID AUTH_USERS - Users allowed to use the bot (optional) - Click Deploy
The bot will be automatically deployed on Railway's infrastructure.
/start- Start the bot/premium- Check premium status/help- Get help message
- 📈 Increased file size limit (4GB)
- ⚡️ Priority processing
Contact the bot owner to get premium access.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, contact Ridhan Official