Skip to content

samuxbuilds/capsummarize

Repository files navigation

CapSummarize β€” AI-powered Video Caption Summaries

CapSummarize is a free, open-source browser extension that extracts video captions and helps you generate AI summaries, thumbnails, and short video clips using your favorite AI providers (ChatGPT, Claude, Gemini, Grok, and more).

Chrome Web Store

✨ Features

  • Extract captions from YouTube, Google Drive, Udemy, Zoom, and more
  • Multiple summary styles - Choose from 15+ different formats (Default, Educational, Technical, Podcast, Kids-friendly, etc.)
  • 🎨 AI Image Generation - Analyze transcript to create thumbnails, infographics, mind maps, and more
  • 🎬 AI Video Generation - Analyze transcript to generate video clips (Gemini only)
  • Use any AI provider - ChatGPT, Claude, Gemini, Grok, Perplexity, Mistral, Meta AI, and more
  • Custom variants - Create your own summary templates
  • History tracking - Access previously captured transcripts
  • Privacy-focused - All processing happens locally, no data sent to external servers
  • 100% Free - No subscriptions, no limits

πŸ“Έ Examples Gallery

See what CapSummarize can generate! All examples below were created from real YouTube videos.

🎨 AI-Generated Thumbnails

Style Without Reference With Reference
MrBeast Style MrBeast MrBeast with ref
Casey Neistat Style Casey Casey with ref
Theo/Tech Style Theo Theo with ref
5-Min Crafts Style 5-Min 5-Min with ref
General Thumbnail General General with ref

πŸ–ΌοΈ Other Image Styles

Infographic Mind Map Comic Strip
Infographic Mind Map Comic
Whiteboard Quote Card Scene
Whiteboard Quote Card Scene

πŸ“ Text Summary Examples

Style Description Example
Default Balanced, comprehensive summary View
Educational Academic-focused with key concepts View
Technical Code-focused with implementation details View
Casual Friendly, conversational tone View
Executive Business-focused brief View
Blog SEO-optimized blog post View
X/Twitter Thread-ready format View
Cheatsheet Quick reference card View
Kids Simple language for ages 7-12 View

View all summary examples β†’


πŸš€ Quick Start

Install from Source

  1. Clone the repository

    git clone https://github.com/samuxbuilds/capsummarize.git
    cd capsummarize/capsummarize-frontend
  2. Install dependencies (using Bun recommended)

    bun install
    # or
    npm install
  3. Build the extension

    bun run build
    # or
    npm run build
  4. Load in Chrome

    • Open chrome://extensions/
    • Enable Developer mode (top-right)
    • Click Load unpacked and select the dist/ folder

πŸ”§ Development

Start the development server with hot reload:

bun run dev
# or
npm run dev

This watches for file changes and rebuilds automatically.

Available Scripts

Command Description
npm run dev Start development mode with watch
npm run build Build for production
npm run lint Run ESLint
npm run format Format code with Prettier
npm run type-check Run TypeScript type checking
npm run clean Remove build artifacts

πŸ“ Project Structure

src/
β”œβ”€β”€ background/          # Service worker modules
β”‚   β”œβ”€β”€ messageHandlers.ts
β”‚   β”œβ”€β”€ sidePanelManager.ts
β”‚   β”œβ”€β”€ storageHelpers.ts
β”‚   └── vttCacheManager.ts
β”œβ”€β”€ config/              # Configuration
β”‚   β”œβ”€β”€ prompts.ts       # Summary prompt templates
β”‚   └── providers.ts     # AI provider definitions
β”œβ”€β”€ services/            # Business logic
β”‚   └── providerService.ts
β”œβ”€β”€ types/               # TypeScript type definitions
β”œβ”€β”€ ui/                  # User interface
β”‚   β”œβ”€β”€ components/      # Reusable UI components
β”‚   β”œβ”€β”€ state/           # State management
β”‚   β”œβ”€β”€ sidepanel.ts     # Main side panel
β”‚   └── settings.ts      # Settings page
β”œβ”€β”€ utils/               # Utility functions
β”‚   β”œβ”€β”€ storage.ts       # IndexedDB wrapper
β”‚   β”œβ”€β”€ vtt.ts           # VTT parsing
β”‚   └── ...
β”œβ”€β”€ background.ts        # Service worker entry
β”œβ”€β”€ content.ts           # Content script
β”œβ”€β”€ interceptor.ts       # Caption interception
└── manifest.ts          # Extension manifest generator

🎨 Summary Styles

CapSummarize includes 15 built-in summary styles:

  • Default - Balanced, comprehensive summary
  • Educational - Academic-focused with key concepts
  • Technical - Code-focused with implementation details
  • Casual - Friendly, conversational tone
  • Executive - Business-focused brief
  • Marketing - Engaging promotional style
  • News - Journalistic article format
  • Podcast - Audio-friendly notes
  • Kids - Simple language for young audiences
  • Blog - SEO-optimized blog post
  • YouTube - Video description format
  • Cheatsheet - Quick reference card
  • Recap - Brief highlights
  • Interview - Q&A format
  • X/Twitter - Thread-ready format

You can also create custom variants in Settings.

🎨 Image Generation Styles

Generate AI images by analyzing your video transcript (requires ChatGPT, Gemini, or Grok):

  • Thumbnail (General) - Eye-catching YouTube thumbnails
  • Thumbnail (MrBeast) - Explosive, bright colors, high energy
  • Thumbnail (Casey Neistat) - Cinematic, documentary feel
  • Thumbnail (Theo) - Tech-focused, clean modern design
  • Thumbnail (5-Min Crafts) - DIY aesthetic, step-by-step
  • Thumbnail (Linus Tech) - Tech review, product-focused
  • Infographic - Visual data representation
  • Comic Strip - Comic-style visual story
  • Mind Map - Organic tree-style concept map
  • Whiteboard - Hand-drawn diagram aesthetic
  • Quote Card - Shareable quote with key insight
  • Scene - Key moment visualization

🎬 Video Generation Styles

Generate AI video clips by analyzing your transcript (Gemini only):

  • Advertisement - Short promotional ad clip
  • Trailer - Cinematic teaser trailer
  • Quick Recap - Fast-paced summary clip
  • Explainer - Educational explainer clip
  • Cinematic - Artistic cinematic sequence
  • Social Media - Viral social media clip

πŸ”’ Privacy & Security

  • No external servers - Everything runs locally in your browser
  • No data collection - Your video content never leaves your device
  • No accounts required - Use immediately without signup
  • Open source - Audit the code yourself

See PRIVACY_POLICY.md and SECURITY_PRACTICES.md for details.

🌐 Supported Sites

  • YouTube
  • Google Drive
  • Google Sites
  • Udemy
  • Zoom
  • X (Twitter)
  • And more via caption interception

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run lint and type checks (npm run lint && npm run type-check)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with TypeScript, Tailwind CSS, and Bun
  • Icons from various AI providers

🌐 Connect


Made with ❀️ by SamuxBuilds and the CapSummarize community