Skip to content

Ask questions about any YouTube video to this LLM powered transcriber.

License

Notifications You must be signed in to change notification settings

Clffordojuka/YouTube-Transcriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฅ YouTube Transcriber (LangExtract + Streamlit)

This project is an interactive YouTube Q&A Transcriber built with Streamlit and powered by LangExtract for transcript extraction and semantic search. Users can paste a YouTube link, ask natural language questions about the video, and instantly receive AI-generated answers.

๐Ÿš€ Features

๐Ÿ”— Input any YouTube video URL.

๐Ÿค– Ask questions about the video content.

๐Ÿง  Uses LangExtract for transcript retrieval + embeddings.

๐ŸŽจ Simple, clean Streamlit interface.

๐Ÿณ Containerized with Docker for easy deployment.

๐Ÿ“ฆ Installation

Clone the repo:

git clone https://github.com/your-username/youtube-assistant.git cd youtube-assistant

Install dependencies:

pip install -r requirements.txt

Run locally:

streamlit run main.py

๐Ÿ”‘ Environment Setup

Create a .env file (or pass via Streamlit sidebar):

OPENAI_API_KEY=your_api_key_here

Get your API key: OpenAI API Keys

๐Ÿณ Run with Docker

Build the image:

docker build -t youtube-transcriber .

Run the container:

docker run -p 8501:8501 youtube-transcriber

Access the app at: http://localhost:8501

๐Ÿ“ Example

Paste a YouTube URL in the sidebar.

Enter your OpenAI API key.

Ask: โ€œSummarize the main ideas in this videoโ€.

Get instant AI answers based on transcript + embeddings.

๐Ÿ›  Tech Stack

Python 3.9+

Streamlit โ€“ UI

LangExtract โ€“ transcript + retrieval

OpenAI โ€“ LLM responses

Docker โ€“ deployment

๐Ÿ“Œ Roadmap

Support multiple videos at once.

Add caching for transcripts.

Option to export Q&A results as PDF.

๐Ÿ“œ License

MIT License โ€“ free to use and modify.

About

Ask questions about any YouTube video to this LLM powered transcriber.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published