odysseusmax / utube

Telegram Bot for Youtube upload
https://tx.me/youtubeitbot
GNU General Public License v3.0
275 stars 676 forks source link
pyrogram python python37 telegram telegram-bot uploader youtube youtube-upload

Youtube Uploader Bot

Simple Telegram Bot to Upload videos to Youtube written in Python3.

Contents

Info

This is a simple hobby project which I was really curious about to implement. This is a Telegram bot which uses Youtube Data API v3 to upload videos to Youtube.

Libraries Used

Setup

:heavy_exclamation_mark: This project requires Python3.6 or higher

Clone and setup virtual environment

$ git clone https://github.com/odysseusmax/utube.git

$ cd utube

$ python3 -m venv venv

$ source venv/bin/activate

Environment Variables

Getting your CLIENT_ID and CLIENT_SECRET

Install requirements

Run :

$ pip3 install -r requirements.txt

Run bot

Lets run our bot for the first time!

$ python3 -m bot

If you did everything correctly, the bot should be running. Go do /start to see if the bot is live or not. Follow the instructions provided by bot to setup authorisation and to start uploading.

Or the easy way of directly deploying to heroku

Deploy

Development Status

This project is actively maintained and will continue so until I'm tired of it.

Special notes

Screenshots

Upload

Video Tutorial

Here's a YouTube tutorial video for deploying the bot on Heroku. Video Link.

Contact

You can contact me @odysseusmax.

License

Code released under GNU General Public License v3.0.