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.1.tar.gz (21.3 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.1-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_quick_insights-1.0.1.tar.gz
  • Upload date:
  • Size: 21.3 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.1.tar.gz
Algorithm Hash digest
SHA256 8ecc58183e0416b4a18ec653a017bede6218b7d666536333d079d1bcb441e36e
MD5 3949f6d6d474876cabb829405f129d5b
BLAKE2b-256 ed235f6509d8026e8be21e05250233a97a5855a287fc67524e95d737b559ccae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_quick_insights-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a4fc919c4fd34f6ea4c145afb96bec302e18d820ac26c759a3dff9abbaa163
MD5 200793a0d1b9fd36e5042ff4feda0251
BLAKE2b-256 96dea0591d9a9fc93c124dca1ca4817f9ef2f86cb96996a44b0142ed289535ec

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