/YouTube-Telegram-Bot

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

YouTube Downloader Telegram Bot

Download videos from YouTube in Telegram!


Install

  1. Clone repo.
  2. Run npm i in project folder.
  3. Rename .env.example to .env and provide bot token.
  4. Run node bot to start the bot.

It's advisable to run the bot using PM2 or any startup manager for persistent execution.

Note: This bot is limited to videos of 50MB size or lower. This is a restriction of the Telegram Bot API and can be bypassed using a client API. However I have not included that code yet. Alternatively, you can create a server and host it there.

Uninstall

  1. Use rm -rf.

Note: If you're unfamiliar with this command, delete project folder from file explorer.


License

AGPL-3.0 ©️ Zubin