This skill deploys a YouTube monitoring bot that:
youtube-transcript-apiyt-dlp if no subtitles are availableYou need these three secrets configured in your environment:
GEMINI_API_KEY — from Google AI StudioTG_BOT_TOKEN — from Telegram @BotFatherTG_CHAT_ID — your personal or group Telegram chat IDFilePurposeconfig.pyAll configuration, API keys, and YouTube channel settingsyoutube_monitor.pyRSS polling and local deduplication via db.json``extractor.pyTranscript fetching or audio download fallbackai_summarizer.pyGemini API integration (text + audio)tg_notifier.pyTelegram message delivery with chunkingmain.pyMain entry point with daily 8:00 AM schedulingrequirements.txtAll Python dependencies
Edit config.py and add your API keys and the YouTube Channel IDs you want to monitor:
python
YOUTUBE_CHANNELS = {
"UCxxxxxxxxxxxxxxxxxxxxxx": "Channel Name Here"
}
bash
pip install -r requirements.txt
For a one-off immediate check:
bash
python main.py
For long-running background mode (runs daily at 8 AM Izmir time):
bash
nohup python main.py > bot.log 2>&1 &
UC...db.json so it never sends duplicate summaries