https://github.com/nlight/youtube-comments-telegram
https://github.com/nlight/youtube-comments-telegram
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nlight/youtube-comments-telegram
- Owner: nLight
- Created: 2020-07-03T16:18:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T03:54:55.000Z (over 3 years ago)
- Last Synced: 2025-02-27T18:30:58.171Z (over 1 year ago)
- Language: JavaScript
- Size: 114 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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