An open API service indexing awesome lists of open source software.

https://github.com/miafoo/tele-dlp

A simple Telegram bot that allows you to send a supported link from yt-dlp, and it will respond with the video.
https://github.com/miafoo/tele-dlp

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

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](https://core.telegram.org/bots/api) and get an access token.

# Usage

First, download the latest version of `yt-dlp`:

```bash
npm run download
```

Then make sure `yt-dlp` is executable:

```bash
chmod 700 yt-dlp
```

Finally, run the bot:

```bash
TELEGRAM_BOT_TOKEN= npm start
```

# Config

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

```bash
TELEGRAM_BOT_ALLOW_LIST=username1,username2,username3
```