yt-transcript-gpt is a Streamlit-based desktop/web app to extract YouTube video transcripts, enrich them with AI-powered analysis, and interact via chat—all in one place.
- 🎉 Initial release with core transcript extraction and AI modules
- 🚀 Integrated both YouTube Transcript API and
yt-dlp
fallback - 🤖 Gemini AI features: summaries, key quotes, Q&A, study guides, flashcards, insights
- 🔍 Interactive transcript viewer with search, copy, and notes
- 💬 Chat interface to ask questions about the transcript
- Transcript Extraction via YouTube Transcript API or
yt-dlp
- AI Analysis through Google Gemini:
- Summaries
- Key Quotes
- Q&A sessions
- Study Guides
- Flashcards
- Highlighted Insights
- Interactive Viewer: search, scrollable transcript, per-paragraph copy & notes
- Downloadable Content: transcripts and AI-generated outputs (Markdown/plain text)
- Chat Mode: ask questions about video content and get AI answers
- Configurable: enable/disable libraries, set Gemini API key
yt-transcript-gpt/
├── LICENSE # MIT License
├── README.md # This file
├── requirements.txt # Python dependencies
└── src/ # Source directory
└── main.py # Streamlit app entry point
├── favicon.ico # App icon
└── screenshots/ # UI previews
└── screenshot.png
- Python 3.8+
- pip package manager
- Streamlit
- youtube-transcript-api (optional)
- yt-dlp (optional)
- google-generativeai for Gemini features
Install dependencies:
pip install -r requirements.txt
If no requirements.txt
, run:
pip install streamlit youtube-transcript-api yt-dlp google-generativeai
-
Clone the repo
git clone https://github.com/ukr-projects/yt-transcript-gpt.git cd yt-transcript-gpt
-
Install dependencies
pip install -r requirements.txt
-
Run the app
streamlit run src/main.py
-
Configure in the sidebar:
- Paste your Gemini API Key to enable AI features
- See status of transcript libraries (
youtube-transcript-api
,yt-dlp
)
-
Extract Transcript:
- Enter a YouTube video URL
- Click 🚀 Extract Transcript
-
View & Interact:
- Search within the transcript
- Copy paragraphs or add notes
- Download the raw transcript
-
AI Insights:
- Use buttons to generate summaries, quotes, Q&A, study guides, flashcards, highlights
-
Chat:
- Ask questions about the transcript content and view AI answers
-
Fork this repository
-
Create a branch:
git checkout -b feature/YourFeature
-
Implement and Commit your changes
-
Push and Open a Pull Request
- Streamlit for rapid GUI development
- YouTube Transcript API & yt-dlp for transcript extraction
- Google Gemini AI (
google-generativeai
) for advanced analysis
If you find this project useful, please consider giving it a star on GitHub! Your support helps us continue improving and maintaining this tool.
- GitHub Issues: Report bugs or request features
- Discussions: Community discussions and Q&A
- Email: [email protected]
Made with ❤️ by the Ujjwal Nova