Source Code
TubeClaw - YouTube Video Analyzer
Analyze any YouTube video, extract key insights, remove fluff, and provide actionable summaries with relevant links.
What It Does
- ๐ฅ Fetches YouTube video transcripts
- ๐ง Analyzes content for key insights
- โ๏ธ Removes advertising/sponsorship fluff
- ๐ Extracts mentioned resources/tools/links
- ๐ Provides clean, actionable summary
Usage
Command Line
node analyze.js --url "https://youtube.com/watch?v=..."
Programmatic
const { analyzeVideo } = require('./analyze');
const result = await analyzeVideo('https://youtube.com/watch?v=...');
console.log(result.summary);
console.log(result.keyPoints);
console.log(result.resources);
Requirements
- Node.js 14+
- OpenClaw/Clawdbot with youtube-transcript skill
- AI model access (Claude/OpenAI) for analysis
How It Works
- Extract Transcript - Uses video-transcript-downloader skill
- Clean Content - Removes ads, sponsorships, filler words
- Analyze - AI extracts key insights and topics
- Find Resources - Identifies mentioned tools, links, GitHub repos
- Summarize - Generates actionable summary
Example Output
{
"title": "Video Title",
"channel": "Channel Name",
"summary": "Clean summary without fluff...",
"keyPoints": [
"Main insight 1",
"Main insight 2"
],
"resources": [
{
"name": "Tool Name",
"url": "https://...",
"context": "Why it's mentioned"
}
],
"topics": ["AI", "Coding", "Tools"]
}
License
MIT - OpenClaw