Skip to content

kuldeep27396/youtube-summary-with-perplexity-extension

Repository files navigation

πŸŽ₯ YouTube to Perplexity AI

Chrome Web Store Version License: MIT PRs Welcome Stars

Instantly analyze YouTube videos with Perplexity AI. Get smart summaries, key insights, and actionable takeaways in seconds.

πŸš€ Install Extension β€’ πŸ“– Documentation β€’ πŸ› Report Bug β€’ πŸ’‘ Request Feature


✨ Features

  • 🎯 One-Click Analysis - Instantly send YouTube videos to Perplexity AI
  • πŸ€– Smart Prompts - Optimized prompts for structured, comprehensive summaries
  • ⚑ Auto-Submission - Automatically fills and submits the query to Perplexity
  • πŸ”’ Privacy-First - No data collection, no tracking, no personal information stored
  • 🎨 Professional Design - Clean, intuitive interface with custom branding
  • πŸ“± Lightweight - Minimal resource usage, fast performance

πŸš€ Quick Start

Installation

From Chrome Web Store (Recommended)

  1. Visit the Chrome Web Store page
  2. Click "Add to Chrome"
  3. Confirm installation
  4. Start analyzing YouTube videos!

From Source

  1. Download or clone this repository
  2. Open Chrome β†’ Extensions β†’ Developer Mode
  3. Click "Load unpacked" β†’ Select project folder
  4. Generate icons using create_icons.html
  5. Test on any YouTube video

Usage

  1. Navigate to any YouTube video
  2. Click the extension icon in your browser toolbar
  3. Analyze - The video URL is automatically sent to Perplexity AI with an optimized prompt
  4. Review - Get a structured summary with key points and detailed analysis

🎬 Demo

Demo video coming soon! See assets/screenshots for current screenshots.

πŸ—οΈ Architecture

graph LR
    A[YouTube Video] --> B[Extension Popup]
    B --> C[Extract Video Info]
    C --> D[Generate AI Prompt]
    D --> E[Open Perplexity AI]
    E --> F[Auto-Submit Query]
    F --> G[AI Analysis Result]
Loading

πŸ“ Project Structure

youtube-to-perplexity-ai/
β”œβ”€β”€ πŸ“ src/
β”‚   β”œβ”€β”€ πŸ“ popup/           # Extension popup interface
β”‚   β”‚   β”œβ”€β”€ popup.html      # Popup UI
β”‚   β”‚   └── popup.js        # Popup logic
β”‚   β”œβ”€β”€ πŸ“ content/         # Content scripts
β”‚   β”‚   β”œβ”€β”€ content.js      # YouTube page script
β”‚   β”‚   └── perplexity-content.js # Perplexity auto-submit
β”‚   β”œβ”€β”€ πŸ“ background/      # Background scripts
β”‚   β”‚   └── background.js   # Service worker
β”‚   └── πŸ“ assets/          # Static assets
β”œβ”€β”€ πŸ“ assets/              # Documentation assets
β”‚   β”œβ”€β”€ πŸ“ icons/           # Extension icons
β”‚   └── πŸ“ screenshots/     # Demo screenshots
β”œβ”€β”€ πŸ“ docs/                # Documentation
β”œβ”€β”€ πŸ“ scripts/             # Build and utility scripts
β”œβ”€β”€ manifest.json           # Extension configuration
β”œβ”€β”€ README.md              # This file
└── LICENSE                # MIT License

πŸ› οΈ Development

Prerequisites

  • Google Chrome or Chromium browser
  • Basic knowledge of JavaScript and Chrome Extensions

Setup Development Environment

  1. Clone the repository

    git clone https://github.com/kuldeep27396/youtube-to-perplexity-ai.git
    cd youtube-to-perplexity-ai
  2. Load extension in Chrome

    • Open chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked"
    • Select the project directory
  3. Generate icons (if needed)

    • Open create_icons.html in your browser
    • Upload your logo and download the generated icons
  4. Test the extension

    • Navigate to any YouTube video
    • Click the extension icon
    • Verify it opens Perplexity with the correct prompt

Making Changes

  1. Edit the source files in the src/ directory
  2. Reload the extension in chrome://extensions/
  3. Test your changes
  4. Submit a pull request

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Quick Contribution Guide

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Areas for Contribution

  • 🎨 UI/UX improvements
  • πŸ€– Additional AI provider integrations
  • πŸ”§ Performance optimizations
  • πŸ“ Documentation enhancements
  • πŸ§ͺ Testing and quality assurance
  • 🌐 Internationalization (i18n)

πŸ”’ Privacy & Security

This extension prioritizes your privacy:

  • βœ… No data collection - We don't store or track anything
  • βœ… No personal information - Only video URLs are processed
  • βœ… No account required - Works immediately
  • βœ… Open source - Transparent code, no hidden functionality
  • βœ… Minimal permissions - Only requests necessary access

For detailed privacy information, see our Privacy Policy.

πŸ“ˆ Roadmap

Version 1.2.0

  • Multiple AI providers (ChatGPT, Claude, Gemini)
  • Custom prompt templates
  • Summary history and bookmarks

Version 1.3.0

  • Export options (PDF, Markdown)
  • Batch processing for playlists
  • Timestamp extraction

Version 2.0.0

  • Browser extension for Firefox and Edge
  • Mobile app companion
  • Team collaboration features

See our full roadmap for more details.

πŸ’¬ Community

  • πŸ’¬ Discussions - Ask questions and share ideas
  • πŸ› Issues - Report bugs and request features
  • πŸ“§ Email - Direct contact for urgent matters

πŸ“Š Stats

  • 🎯 Purpose: Single-click YouTube video analysis
  • ⚑ Performance: < 100ms response time
  • πŸ”’ Privacy: Zero data collection
  • πŸ“± Size: < 50KB total extension size
  • 🌍 Compatibility: Chrome, Edge, Brave (Manifest V3)

πŸ“„ License

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

πŸ™ Acknowledgments

  • 🎨 Perplexity AI for providing excellent AI analysis
  • πŸŽ₯ YouTube for the video platform
  • 🌟 Contributors who help improve this extension
  • πŸ’‘ Users who provide valuable feedback

⭐ Show Your Support

If this extension helps you save time and gain insights from YouTube videos, please:

  • ⭐ Star this repository
  • πŸ› Report any bugs you find
  • πŸ’‘ Suggest new features
  • πŸ“’ Share with friends and colleagues
  • ✍️ Write a review on the Chrome Web Store

Made with ❀️ by Kuldeep

🌟 Star this repo β€’ πŸ”„ Fork this repo β€’ πŸ“‹ Copy link