Skip to main content

No project description provided

Project description

project-banner

YouTube Quick Insights is a Python webapp designed to help users rapidly extract insights from YouTube content. This application enables you to summarize videos, extract key information, and analyze entire playlists without spending hours watching them.

license last-commit repo-top-language PyPI - Version github-actions

About the ProjectInstallationUsageLimitationsKnown IssuesRoadmapContact


About the Project

With the overwhelming volume of content on YouTube, finding relevant information can be time-consuming and inefficient. YouTube Quick Insights solves this by instantly summarizing videos, extracting key information, and analyzing entire playlists. This AI-powered app saves time and enhances knowledge retention, making learning from YouTube content easier and more effective. You can also read more about this project in my Medium blog post.

Key Features

  • 🎥 Video Insights: Extract relevant information from individual YouTube videos using various extraction methods.
  • ❓ Question-Based Insights: Ask specific questions about a video to get targeted information.
  • 📚 Playlist Analysis: Analyze each video in a playlist and generate a comprehensive summary of the playlist's content.
  • 🔧 Flexible Extraction Methods: Choose from pre-defined extraction methods or create custom ones to suit your needs.

Why it's valuable?

  • ⏱️ Time-Saving: Obtain critical information from videos without spending hours watching them.
  • 🎛️ Customizable Analysis: Tailor the extraction process to focus on specific aspects of the content.
  • 📈 Scalable: Effortlessly analyze individual videos or entire playlists.
  • 🧠 Enhanced Learning & Retention: Use generated summaries for personal notes to review content later, improving long-term retention.
  • 🖱️ Ease of Use: Simple and user-friendly web interface.

Build with

python-logo Python

langchain-logo LangChain

streamlit-logo Streamlit

Installation

Recommended: Create and activate a virtual environment before installing the tool.

Using pip

pip install yt-quick-insights

Using poetry

poetry add yt-quick-insights

To verify that everything works

insights --help

Usage

To launch the application, open your terminal and run the following command:

insights run

The webapp should open automatically in your default browser. If not, navigate to: http://localhost:8501.

usage_gif
  1. Enter YouTube URL: Paste the URL of the YouTube video you want to summarize in the designated field.
  2. Set OpenAI API Key: You have three options to provide your OpenAI API key:
    • Enter it directly in the designated field
    • Set it in the .env file
    • Store the key in an environment variable called: OPENAI_API_KEY
  3. Generate Insights: Click on the "Get Insights" button to start summarizing the video content.

(Optional Settings)

  1. Select Extraction Method: Choose a specific method for extracting information based on the video content, defaults to General Summary.
  2. Choose OpenAI Model: Select any available OpenAI model for generating insights, defaults to gpt-4.1-mini.

For detailed usage instructions, please refer to the in-app Usage Guide. To set up a .env file or create a custom Extraction Method, navigate to the "Configuration" section in the app's navigation bar.

Limitations

  • Relies on the availability and accuracy of video transcripts.
  • Requires an OpenAI API key for operation.
  • May not capture visual information or context that isn't described in the audio.
  • Only OpenAI LLMs are supported at this time.

Known Issues

  • The YouTube transcript download feature does not work when using a VPN (tested with NordVPN).

Roadmap

  • Publish on PyPI
  • Transform the CLI into a web app
  • Deploy the web app (Simplify user experience: no need to install locally)
  • Implement parallelization for extracting insights from YouTube Playlists

Contact


If you find YouTube Quick Insights helpful, please consider giving it a ⭐️ on GitHub!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yt_quick_insights-1.0.2.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yt_quick_insights-1.0.2-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file yt_quick_insights-1.0.2.tar.gz.

File metadata

  • Download URL: yt_quick_insights-1.0.2.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for yt_quick_insights-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a0df2c81cedecd878c8c2754773bf2a4e857bca91358e695117faec183abc20f
MD5 507dcd5c243f501a0897a84869709cab
BLAKE2b-256 a47eaf5a288a7851bde6fed23e15019a70b1de0e545d1b587c6b1d9d2de5695d

See more details on using hashes here.

File details

Details for the file yt_quick_insights-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: yt_quick_insights-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for yt_quick_insights-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7babf1a0b8a51ee5aeb8a3d7d45515a8f09ea20e00dac8894879072a75aac0e
MD5 da6500ccd4e47a798acb31b890306d4c
BLAKE2b-256 05389473684c92704de0f064783b10948c8f4aa1132f2998219076a999852563

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page