A smart AI-powered assistant that lets you interact with any YouTube video — ask questions, get summaries, and explore content broken into meaningful sections.
| Feature | Screenshot |
|---|---|
| Home / URL Input | ![]() |
| Section Breakdown | ![]() |
- 🔗 Paste any YouTube Video id to load video content
- 💬 Chat with the video — ask questions and get context-aware answers
- 📝 Summarize the entire video in seconds
- 🗂️ Section breakdown — splits video content into meaningful, labeled segments
- ⚡ Powered by Streamlit for a clean, interactive UI
- Frontend: Streamlit
- AI/LLM: (your model/API here — e.g., OpenAI, Gemini, etc.)
- YouTube Processing: (e.g.,
youtube-transcript-api,pytube) - Language: Python 3.x
Follow these steps to clone and run the project locally.
git clone https://github.com/geniusdude1012/Youtube_AI_Assistant.git
cd Youtube_AI_Assistant# On macOS/Linux
python3 -m venv venv
source venv/bin/activate
# On Windows
python -m venv venv
venv\Scripts\activatepip install -r requirements.txtCreate a .env file in the root of the project:
touch .envThen open it and add your API keys:
# .env
OPENAI_API_KEY=your_openai_api_key_here
# Add any other required keys below
# GOOGLE_API_KEY=your_key_here
⚠️ Never commit your.envfile. It is already listed in.gitignore.
streamlit run yt_smrt_asst.pyThe app will open automatically in your browser at http://localhost:8501.
Youtube_AI_Assistant/
│
├── tests/ # Test files for RAG system
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt # All Python dependencies
└── yt_smrt_asst.py # Main Streamlit application
# From the root directory
pytest tests/Contributions are welcome! Here's how to get started:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m "Add your message" - Push to the branch:
git push origin feature/your-feature-name - Open a Pull Request
This project is licensed under the MIT License — see the LICENSE file for details.
geniusdude1012 · GitHub Profile
Made with ❤️ and a lot of YouTube videos.

