Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 625 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 625 Bytes

A simple Telegram bot that allows you to send a supported link from yt-dlp, and it will respond with the video.

Prerequisites

Make sure you have node 18+ and ffmpeg installed.

Set up Telegram bot and get an access token.

Usage

First, download the latest version of yt-dlp:

npm run download

Then make sure yt-dlp is executable:

chmod 700 yt-dlp

Finally, run the bot:

TELEGRAM_BOT_TOKEN=<token> npm start

Config

If you would like to set an allow list, you can do:

TELEGRAM_BOT_ALLOW_LIST=username1,username2,username3