https://github.com/nathancordeiro/youtube_first_comment_bot
This Bot FirstInLine allows you to be the first comment for a video posted on a channel.
https://github.com/nathancordeiro/youtube_first_comment_bot
Last synced: 4 months ago
JSON representation
This Bot FirstInLine allows you to be the first comment for a video posted on a channel.
- Host: GitHub
- URL: https://github.com/nathancordeiro/youtube_first_comment_bot
- Owner: NathanCordeiro
- License: mit
- Created: 2024-05-15T15:34:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T17:10:12.000Z (about 1 year ago)
- Last Synced: 2025-02-07T00:20:19.592Z (8 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouTube_First_Comment_Bot : FirstInLine
## SMTP Server Setup
To enable email notifications, configure your SMTP server by following these steps:
1. **Choose an SMTP Service**:
- Example: Gmail, SendGrid, etc.2. **Set Environment Variables**:
- Set up the following environment variables in your system:
```bash
export SMTP_SERVER='smtp.gmail.com'
export SMTP_PORT=587
export SMTP_USERNAME='your_email@gmail.com'
export SMTP_PASSWORD='your_app_password'
export SENDER_EMAIL='your_email@gmail.com'
export RECIPIENT_EMAIL='recipient_email@example.com'
```3. **Configure Flask**:
- Ensure your Flask app is running with HTTPS if deploying publicly:
```bash
python server.py
```4. **Test the Setup**:
- Run the server and trigger an email notification to verify the SMTP setup.