Skip to content

ridhanofficial/UrlUploader

Repository files navigation

Telegram URL Uploader Bot with Premium Features

GitHub Repo stars GitHub issues GitHub pull requests GitHub contributors GitHub forks GitHub license

A Telegram bot that can download files from URLs and upload them to Telegram. Supports premium features for enhanced capabilities.


✨ Features

  • 📥 Download files from direct URLs
  • 📈 Premium enhanced features
  • 📊 Upload Up to 4GB
  • ✏️ File renaming capability
  • 📈 Progress tracking
  • 📹 YouTube video download support

Environment Variables

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_id

🚀 Deploy to Heroku

Deploy

Environment Variables Required

BOT_TOKEN - Get from @BotFather
API_ID - Get from my.telegram.org
API_HASH - Get from my.telegram.org
AUTH_USERS - Your Telegram ID

Deployment to Heroku

  1. Create a Heroku account if you don't have one
  2. Install Heroku CLI
  3. Login to Heroku:
    heroku login
  4. Create a new Heroku app:
    heroku create your-app-name
  5. 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
    
  6. Deploy to Heroku:
    git add .
    git commit -m "Ready for deployment"
    git push heroku master
    

🚂 Deploy to Railway

Deploy on Railway

  1. Click the Deploy on Railway button
  2. 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)
    
  3. Click Deploy

The bot will be automatically deployed on Railway's infrastructure.

Commands

  • /start - Start the bot
  • /premium - Check premium status
  • /help - Get help message

Premium Features

  • 📈 Increased file size limit (4GB)
  • ⚡️ Priority processing

Contact the bot owner to get premium access.

License

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

Support

For support, contact Ridhan Official

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors