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

https://github.com/nlight/youtube-comments-telegram


https://github.com/nlight/youtube-comments-telegram

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

          

# Send YouTube Comments to Telegram

FOMO is not allowed. Configure the bot to check your YouTube channel periodically and send all the new comments your way. No need to be checking comments compulsively. No need to enable YouTube's native notification.

Be in control.

## Setup

It stores data in Sqlite3 database and will not send the messages twice.

### Deliver messages

Add something like this to the `cron``

```
0 7 * * * NODE_ENV=production BOT_TOKEN= TELEGRAM_CHAT_ID= GOOGLE_API_KEY= YOUTUBE_CHANNEL_ID= node scripts/check-messages.js
```

### Start the bot

```
NODE_ENV=production BOT_TOKEN= PORT= node index.js
```

It will be listening on:

```
http://:/
```

### Required ENV variables

```
BOT_TOKEN=
TELEGRAM_CHAT_ID=
GOOGLE_API_KEY=
```

### Optional ENV variables

```
SENTRY_DSN=
```

## Features

1. **i18n**: русский, english

### Roadmap

1. Reply to comments repying to Telegram messages
2. Treshold. Don't notify about emoji comments
3. Stop list. Don't notify about certain people's messages.
4. Load more comments if the first page is all new.
5. Filters: subscribers / members
6. Track replies