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

No packages published