An AI-powered tool that extracts and summarizes the transcript of YouTube videos using Google's Gemini API. This Streamlit-based application provides concise and structured summaries of video content, helping users grasp essential details quickly.
- Extracts video transcripts automatically
- Uses Google Gemini API to generate detailed summaries
- Displays the video thumbnail for easy reference
- User-friendly interface with Streamlit
-
Clone the repository:
git clone https://github.com/allen-reji/youtube-video-summarizer.git cd youtube-video-summarizer
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up API keys:
- Create a
.env
file in the project root directory:touch .env
- Add your API key inside
.env
:GOOGLE_APT_KEY=your_google_api_key
- Create a
- Run the application:
streamlit run app.py
- Enter the YouTube video link in the input field.
- Click "Get Detailed Notes" to generate a summarized version of the video content.
This project uses the following dependencies:
streamlit
- For the web-based UIyoutube-transcript-api
- To extract transcripts from YouTube videosgoogle-generativeai
- To generate AI-powered summariespython-dotenv
- To manage API keys securely
This project is licensed under the MIT License.
Allen Reji - allenreji@gmail.com