Inspiration
As a huge fan of movies and TV, I often find myself falling into a familiar loop: finishing a complex episode only to open a dozen browser tabs looking for symbolism breakdowns, ending explained videos, and character analyses. I originally envisioned an AI assistant for streaming platforms like Netflix and Hulu—but technical and legal limitations led me to settle with an AI assistant tailored for YouTube. Whether it’s educational videos, music videos, or DIY tutorials, the same problem persisted.
Stream Clarity was born from a desire to turn passive watching into a more active, insightful experience—right in the moment.
What It Does
Stream Clarity is a Chrome extension that transforms YouTube into an intelligent, real-time learning companion. With a single click, a draggable button opens a sidebar that:
Offers Five Specialized Analysis Modes
- Narrative Mode — Breaks down symbolism, tropes, and hidden messages in films and shows
- Deep Dive Mode — Deconstructs complex ideas in educational content
- Tutorial Mode — Summarizes steps, tools, and techniques in how-to videos
- Review Mode — Extracts pros, cons, and potential bias in product reviews
- Music Mode — Interprets lyrics and explores cultural references and musical techniques
Instant Comment Consensus
Synthesizes hundreds of YouTube comments into:
- Key community discussion points
- Unanswered questions
- The video’s overall reception
On-Demand Q&A
Have a specific question the analysis didn't cover? The "Ask anything..." feature lets you query the video's content directly, getting a targeted, AI-generated answer without having to scrub through the timeline.
Furthermore, Stream Clarity is built on a foundation of sustainability. By using a "Cache Context, On-Demand Analysis" model, we minimize API usage and computational waste. An API call is only made when a user explicitly requests a specific insight, rather than performing a resource-intensive analysis on every video load. This responsible approach reduces the overall energy footprint, making Stream Clarity a more efficient and environmentally conscious tool.
How I Built It
Stream Clarity was built using Bolt.new—guided entirely by a single, well-engineered prompt and several bug fixes of course.
Technology Stack
- Frontend & UI: React + TypeScript, Vite, Tailwind CSS
- Extension Architecture: Chrome Manifest V3
- Content Scripts for YouTube integration
- Background Service Worker for API management
- Chrome Storage & Runtime APIs for state and messaging
- Content Scripts for YouTube integration
Core Intelligence:
- OpenAI API for generating insights
- YouTube Data API v3 for transcripts and comments
API Strategy:
- Pre-cache video data on load
- Trigger analysis only on user interaction
- Ensures fast, resource-efficient performance
Challenges I Faced
The primary challenge was the one prompt challenge- crafting a single comprehensive prompt that would design and build the application in the way I envisioned it. I had to be incredibly specific, defining not just the surface-level features but the underlying system architecture.
I had to explicitly detail the entire data flow: how the content script detects a new video, how it signals the background worker to fetch data from the YouTube API, how that data is cached, and how it’s finally packaged with the correct instruction set for the OpenAI API when a user clicks a button. Every step had to be laid out to prevent ambiguity and ensure the AI built a coherent, functional system. I also ended up utilizing a lot of my knowledge of HTML and CSS, detailing what should go where within specific sections of the website(navbar, footer).
Accomplishments I'm Proud Of
- Built and deployed my first chrome extension, which I will definitely be using in my day to day life when I'm watching youtube videos. -Gained a much better understanding of prompt engineering and how to instruct the AI in a way that it will build what I intent it to
What I Learned
Building this extension taught me a lot about how development is changing. I learned that when working with AI, being clear and specific is essential. One of the most important lessons was realizing that the AI responded much better when I used actual coding terminology. Instead of vague descriptions like “add a section at the top,” I started saying things like “add a fixed navbar,” “create a responsive grid layout,” or “insert a footer with three columns.” Once I spoke to it the way a developer would describe a UI component or system architecture, the results became much more accurate and consistent.
What's Next
True Video Content Analysis
The ultimate goal is to integrate an API capable of analyzing the video frames themselves. This would unlock incredible new features, such as:
- Analyzing a character's facial expressions to gauge emotion
- Identifying cinematography techniques for aspiring creators
- Tracking on-screen objects in a product review
Integrating knowledge from the internet about a specific TV show, movie, etc. is also a goal. I initially wanted the user to be able to get fan theories from Reddit, but that proved too complex for a single prompt.
Expand to Major Streaming Platforms
I want to revisit the original dream of bringing this functionality to services like Netflix, Hulu, and Amazon Prime Video, creating a universal tool for deeper content engagement.
Evolving Comment & Trend Analysis
I envision enhancing the comment analysis to track how sentiment and discussion topics evolve over the lifetime of a video, providing a richer understanding of its long-term impact.
Add Collaborative Features
I plan to build features that allow users to share specific AI-generated insights or full analysis reports with friends, creating a more social and collaborative learning experience.
Please Note: Due to security concerns, in order to try out the fully functional extension, you need to input your own OpenAI API and Youtube Data API key.
Built With
- chromeextensionsapi
- chromeextensionsmanifestv3
- chromeruntimeapi
- chromestorageapi
- openaiapi
- react
- tailwindcss
- typescript
- vite
- youtubedataapiv3

Log in or sign up for Devpost to join the conversation.