Skip to content

UTubeBuddy is a powerful Chrome extension and backend API service that lets you ask questions about YouTube videos using transcript-based Retrieval-Augmented Generation (RAG). The system extracts video transcripts and intelligently answers your questions, leveraging advanced language models.

Notifications You must be signed in to change notification settings

sumitnjmsingh/UTubeBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UTubeBuddy

UTubeBuddy is a powerful Chrome extension and backend API service that lets you ask questions about YouTube videos using transcript-based Retrieval-Augmented Generation (RAG). The system extracts video transcripts and intelligently answers your questions, leveraging advanced language models.


🚀 Features

Chrome Extension:

  • Minimal, elegant UI for asking questions about YouTube videos.
  • Supports dark/light themes for better accessibility.
  • Direct integration with backend API to provide real-time answers.

FastAPI Backend:

  • Retrieves video transcripts from YouTube using youtube-transcript-api.
  • Processes and answers questions using a RAG pipeline powered by LangChain and Hugging Face models.
  • Robust error handling and structured JSON responses.

🛠️ Setup and Running

⚙️ Backend Setup

  1. Clone the repository:

    git clone https://github.com/sumitnjmsingh/UTubeBuddy.git
    cd UTubeBuddy
  2. Create and activate virtual environment:

    python -m venv backend/venv
    source backend/venv/bin/activate  # On Windows: backend\venv\Scripts\activate
  3. Install dependencies::

    pip install -r backend/requirements.txt
  4. Run the backend::

    python backend/app.py

🪄 Chrome Extension Setup

  1. Open Chrome Extensions page:

    chrome://extensions/
  2. Enable Developer Mode (top-right)

  3. Load unpacked extension:

    click "Load unpacked" and select the chrome-extension folder.

  4. Use the Extension:

    Go to any YouTube video page. Open the extension, enter your question, and click “Ask”. The extension sends the video ID and question to the backend and displays the answer!

About

UTubeBuddy is a powerful Chrome extension and backend API service that lets you ask questions about YouTube videos using transcript-based Retrieval-Augmented Generation (RAG). The system extracts video transcripts and intelligently answers your questions, leveraging advanced language models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published