Claude Skill
zarazhangrui/youtube-to-ebook
A Claude Skill that transforms YouTube channel transcripts into EPUB ebooks and emails them to you regularly. Automate your learning from video content.
Overview
Repository
Install this Skill
git clone https://github.com/YOUR_USERNAME/youtube-to-ebook.gitRegistry
git clone https://github.com/YOUR_USERNAME/youtube-to-ebook.gitpip install -r requirements.txtpip install streamlit
Summary
A Claude Skill that automatically converts YouTube channel transcripts into EPUB ebooks and delivers them to your email inbox on a regular schedule.
Claude Skill:将您喜爱频道的YouTube字幕转换为EPUB电子书,定期发送至您的邮箱
Key features
- Converts YouTube transcripts to EPUB format
- Automated delivery to email inbox
- Supports regular/scheduled updates
- Built as a Claude Skill
Use cases
- Create ebooks from educational YouTube content
- Archive video transcripts for offline reading
- Automate content delivery for favorite channels
- Build a personal knowledge library from videos
README excerpt
# YouTube to Ebook Transform YouTube videos from your favorite channels into beautifully formatted EPUB ebooks. ## Features - Fetches latest videos from YouTube channels (automatically filters out Shorts) - Extracts transcripts from videos - Uses Claude AI to transform transcripts into polished magazine-style articles - Generates EPUB ebooks readable on any device - Optional: Email delivery with ebook attachment - Optional: Web dashboard for easy management ## Quick Start 1. **Clone and install:** ```bash git clone https://github.com/YOUR_USERNAME/youtube-to-ebook.git cd youtube-to-ebook pip install -r requirements.txt ``` 2. **Set up API keys:** ```bash cp .env.example .env # Edit .env with your keys ``` 3. **Add your channels:** ```bash # Edit channels.txt with YouTube channel handles @mkbhd @veritasium @3blue1brown ``` 4. **Generate your ebook:** ```bash python main.py ``` ## Getting API Keys ### YouTube Data API (Free) 1. Go to [Google Cloud Console](https://console.cloud.google.com/) 2. Create a new project 3. Enable "YouTube Data API v3" 4. Create credentials → API Key 5. Copy to `.env` ### Anthropic API 1. Go to [Anthropic Console](https://console.anthropic.com/) 2. Create an API key 3. Copy to `.env` ## Web Dashboard Launch a friendly web interface: ```bash pip install streamlit python -m streamlit run dashboard.py ``` ## Automation (Mac) Run automatically every week: ```bash # Copy the plist to LaunchAgents cp com.youtube.newsletter.plist ~/Library/LaunchAgents/ # Load it launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.youtube.newsletter.plist ``` ## Troubleshooting ### "ModuleNotFoundError" when running automation Your Mac may have multiple Python installations. The automation
Topics
No topics yet.