Skip to content

aaryagodbole/AskTube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to 🚀 AskTube – AI Tutor for YouTube 👋

Version

It is an intelligent Chrome extension powered by a FastAPI backend and a Retrieval-Augmented Generation (RAG) pipeline. It extracts YouTube video transcripts, converts them into vector embeddings using Sentence Transformers, stores them in ChromaDB, retrieves the most relevant context using LangChain’s retrievers, and generates high-quality, tutor-style answers to your questions using an LLM.

✨ Features

🎥 AI Tutor for YouTube — understands video context

🔍 RAG-powered answer generation

⚡ FastAPI backend for fast responses

🧠 LangChain retriever (k=4 relevant chunks)

💬 Modern floating chat UI injected directly on YouTube

📚 Supports long transcripts through chunking

🎧 Works on all YouTube video pages automatically

🏠 Screenshot

WhatsApp Image 2025-12-03 at 22 39 11

⚙️ Installation & Setup

1. Backend Installation (FastAPI + RAG Engine)

Clone the repository

git clone https://github.com/aaryagodbole/AskTube.git
cd AskTube/backend

Create a virtual environment (recommended)

python -m venv venv
source venv/bin/activate   # Mac/Linux
venv\Scripts\activate      # Windows

Install dependencies

pip install -r requirements.txt

Run the FastAPI server

uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Backend now runs at:

http://127.0.0.1:8000

2. Chrome Extension Installation

Load the extension in Chrome

  1. Open Chrome
  2. Go to:
chrome://extensions/
  1. Enable Developer Mode (top-right)
  2. Click Load unpacked
  3. Select the folder:
AskTube/extension

Done!

Now open YouTube, and the AskTube floating chatbot will appear automatically.

🧑‍💻 Author

👤 Aarya Godbole

⭐ Support

If you like this project, give it a star! Your support motivates further updates and improvements 💙


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors