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.
About the Project • Installation • Usage • Limitations • Known Issues • Roadmap • Contact
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.
- 🎥 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.
- ⏱️ 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.
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
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
.
- Enter YouTube URL: Paste the URL of the YouTube video you want to summarize in the designated field.
- 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
- Generate Insights: Click on the "Get Insights" button to start summarizing the video content.
(Optional Settings)
- Select Extraction Method: Choose a specific method for extracting information based on the video content,
defaults to
General Summary
. - Choose OpenAI Model: Select any available OpenAI model for generating insights, defaults to
gpt-4o-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.
- 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.
- The YouTube transcript download feature does not work when using a VPN (tested with NordVPN).
- For more details, refer to this issue thread.
- 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
- 🌐 Website: https://charura.com
- 📧 Email: [email protected]
- 👨💻 GitHub: @t-charura
If you find YouTube Quick Insights helpful, please consider giving it a ⭐️ on GitHub!