Transform any YouTube video into an interactive knowledge base with the power of Google Gemini AI.
- 🎥 YouTube Integration - Load any video with captions instantly
- 🧠 AI-Powered Q&A - Chat with videos using Google Gemini 2.0 Flash
- ⚡ Quick Actions - Pre-built queries for summaries and insights
- 📊 Smart Analytics - Detailed video content metrics
- 🔍 Intelligent Search - Find relevant content through semantic search
- Install Dependencies
pip install -r requirements.txt
- Get API Key
- Visit Google AI Studio
- Create a free Gemini API key
- Run Application
streamlit run app.py
- Start Chatting
- Python 3.8+
- Streamlit
- Google Gemini API key (free)
- Internet connection
- Load Video → Extracts transcript from YouTube
- Process Content → Breaks transcript into smart chunks
- Ask Questions → Uses AI to find relevant information
- Get Answers → Receives contextual responses from video content
tubegpt/
├── README.md
├── app.py
├── requirements.txt
├── components/
│ ├── init.py
│ ├── ui_components.py
│ ├── auth_component.py
│ ├── video_component.py
│ ├── chat_component.py
│ └── analytics_component.py
├── core/
│ ├── init.py
│ └── gemini_service.py
├── utils/
│ ├── init.py
│ └── constants.py
└── .streamlit/
└── config.toml
Built with ❤️ by Adhiraj Singh
Powered by Google Gemini 2.0 Flash & Streamlit
⭐ Star this repo if you find TubeGPT helpful!


