This project automatically sends notifications to a Slack channel when new YouTube videos are uploaded to specified channels.
- Monitors multiple YouTube channels for new video uploads
- Sends notifications to a Slack channel using a webhook
- Runs automatically every hour using GitHub Actions
- Can be manually triggered through GitHub Actions
- Clone this repository
- Set up YouTube Data API credentials and obtain an API key
- Set up a Slack webhook URL for your desired channel
- Add the YouTube API key and Slack webhook URL as secrets in your GitHub repository settings:
- YOUTUBE_API_KEY
- SLACK_WEBHOOK_URL
- Customize the list of YouTube channel IDs in the
youslack.pyfile - Push your changes to GitHub
The script will run automatically every hour via GitHub Actions. You can also manually trigger it from the Actions tab in your GitHub repository.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.