All Projects β†’ namuan β†’ tele-tube-rider

namuan / tele-tube-rider

Licence: MIT license
Telegram Bot πŸ€– to download videos from Youtube, Reddit and Twitter and send it back to you.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to tele-tube-rider

media-dupes
a minimal content duplicator for common media services like youtube
Stars: ✭ 53 (+47.22%)
Mutual labels:  youtube-dl, video-downloader
Yt Dlp
A youtube-dl fork with additional features and fixes
Stars: ✭ 321 (+791.67%)
Mutual labels:  youtube-dl, video-downloader
TwitterMediaDownloader
downloads photos and videos from twitter
Stars: ✭ 15 (-58.33%)
Mutual labels:  youtube-dl, video-downloader
android-browser-downloader
🌎 Android Browser - Video Downloader - This repository is deprecated. Please check out new version of this project at: https://github.com/cuongpm/youtube-dl-android
Stars: ✭ 34 (-5.56%)
Mutual labels:  youtube-dl, video-downloader
Dvd
Download videos from anywhere
Stars: ✭ 114 (+216.67%)
Mutual labels:  youtube-dl, video-downloader
devtube
Laravel YouTube and Online Video viewing and download interface.
Stars: ✭ 30 (-16.67%)
Mutual labels:  youtube-dl, video-downloader
Youtube Dl Android
πŸ“¦πŸ“¦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites
Stars: ✭ 322 (+794.44%)
Mutual labels:  youtube-dl, video-downloader
flutter youtube downloader
A Flutter Youtube and Video Downloader
Stars: ✭ 19 (-47.22%)
Mutual labels:  youtube-dl, video-downloader
Fast Youtube To Mp3 Converter Api
Very Fast YouTube to MP3 & MP4 Converter API
Stars: ✭ 69 (+91.67%)
Mutual labels:  youtube-dl, video-downloader
Youtube Dl Gui
A cross platform front-end GUI of the popular youtube-dl written in wxPython.
Stars: ✭ 7,914 (+21883.33%)
Mutual labels:  youtube-dl, video-downloader
video-dl
Video Downloader πŸ“₯ - Download Facebook Video and Youtube Video and Audio.
Stars: ✭ 13 (-63.89%)
Mutual labels:  youtube-dl, video-downloader
Yturl
YouTube videos on the command line
Stars: ✭ 218 (+505.56%)
Mutual labels:  youtube-dl, video-downloader
Khan Dl
Download courses from khanacademy.org
Stars: ✭ 784 (+2077.78%)
Mutual labels:  youtube-dl, video-downloader
Downzemall
DownZemAll! is a download manager for Windows, MacOS and Linux
Stars: ✭ 157 (+336.11%)
Mutual labels:  youtube-dl, video-downloader
Ydl Ui
A UI for the command-line video downloader "youtube-dl"
Stars: ✭ 198 (+450%)
Mutual labels:  youtube-dl, video-downloader
Youtube Mp3 Downloader
Extract music from YouTube videos
Stars: ✭ 187 (+419.44%)
Mutual labels:  youtube-dl
Youtube-DL-GUI
A Youtube-DL GUI made in C#
Stars: ✭ 18 (-50%)
Mutual labels:  youtube-dl
Youtube Dl Gui
A cross-platform GUI for youtube-dl made in Electron and node.js
Stars: ✭ 183 (+408.33%)
Mutual labels:  youtube-dl
Youtube Downloader For Macos
Simple menu bar app to download YouTube movies on your Mac
Stars: ✭ 185 (+413.89%)
Mutual labels:  youtube-dl
yt-dlandcut
Download and cut an Youtube video by providing its url and the time range
Stars: ✭ 20 (-44.44%)
Mutual labels:  youtube-dl

Tube Telegram Rider

GitHub license Twitter Follow

Telegram Bot πŸ€– to download videos from Youtube, Reddit and Twitter and send it back to you. It uses youtube-dl so videos from any supported websites can be used.

βœ… Support Youtube playlists along with a number of other websites.

Clone project

git clone https://github.com/namuan/tele-tube-rider.git

Running it locally

To run it, you'll need to create a new bot using @botfather. Note down the bot token once your bot is registered. Copy env.cfg.sample to env.cfg and set the token value for TELEGRAM_BOT_TOKEN variable.

cp env.cfg.sample env.cfg

Then we'll setup a local python virtual environment and install required dependencies. Make sure you have python3 installed before running the following command.

make setup

We also need to set up ffmpeg which is used to convert Video -> MP3. On a mac, it is a single command using brew.

brew install ffmpeg

You'll find instructions to set up on other platforms.

Next, run the bot

make run

If previous commands worked then this will start the bot. Try adding your new bot on Telegram and send a youtube video.

Here is a good one to try. The first 20 hours -- how to learn anything | Josh Kaufman | TEDxCSU

Self-Hosting

Although running locally is fine for testing, you may want to run it in background to avoid any disruptions. Here is a quick guide for setting it up on a VPS or RaspberryPi (Once you get past installing ffmpeg on it 😑).

Step 1: Setup VPS or use existing server(Raspberry Pi) Start a new VPS with Ubuntu on Vultr (Affiliate Link) or DigitalOcean (Affiliate Link).

β˜•οΈ Wait for it to come up online.

🧹 Remember: Clean up - Make sure you delete this server if not used to avoid incurring cost.

Step 2: Checking connectivity

Once you have the server running, we'll try to connect to it. It is better to set up a dedicated host entry as below. Some commands in the Makefile assumes that the host entry matches the project directory.

πŸ‘‰ Tip: Splitting SSH Config - I used to use poet to split ssh files but from OpenSSH 7.3 it supports the Include directive to allow multiple ssh config files. It makes it easy and manageable for working with many SSH entries

Host tele-tube-rider
	User root
	HostName xx.xx.xx.xx
	Port 22
	IdentitiesOnly yes
	IdentityFile ~/.ssh/dfiles

So if you have the above entry under ~/.ssh, running the following command will try to connect and ssh into the server.

$ make ssh

Make sure this works before continuing, and note that you may have to enter the Password from the VPS provider (Vultr/DigitalOcean).

Step 3: Installing dependencies

We also need to install a few dependencies if they are missing from the server. The following command will take care of that.

# ssh into server
$ make server

Step 4: Starting up Bot

Again, we'll use the make command to start the bot in a screen session.

make start

The bot is running once the command finishes. Try sending another Youtube video to see it in action.

Step 5: Testing if Bot is running

If there is anything wrong, you can see what is going on the server.

# ssh
make ssh

# check screen sessions
screen -ls

# attach to existing screen session
screen -x tele-tube-rider

# detach from a session
Ctrl + A then D

Make sure that you detach from screen session before leaving the server to keep the bot running.

Step 6: [Optional] Updating Bot

Run the following command from your local machine, and it should update the bot and restart the session automatically.

make start

Credits

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].