https://github.com/allen-reji/youtube-video-summarizer
YouTube Video Summarizer is an AI-powered tool that extracts key insights from YouTube videos, generating concise and meaningful summaries in seconds.
https://github.com/allen-reji/youtube-video-summarizer
generative-ai google-gemini-pro streamlit video-summarizer youtube-transcript-api
Last synced: 2 months ago
JSON representation
YouTube Video Summarizer is an AI-powered tool that extracts key insights from YouTube videos, generating concise and meaningful summaries in seconds.
- Host: GitHub
- URL: https://github.com/allen-reji/youtube-video-summarizer
- Owner: allen-reji
- License: mit
- Created: 2025-02-26T07:33:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T07:59:02.000Z (over 1 year ago)
- Last Synced: 2025-03-23T16:18:40.987Z (over 1 year ago)
- Topics: generative-ai, google-gemini-pro, streamlit, video-summarizer, youtube-transcript-api
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
# YouTube Video Summarizer
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.
## Features
- Extracts video transcripts automatically
- Uses **Google Gemini API** to generate detailed summaries
- Displays the video thumbnail for easy reference
- User-friendly interface with **Streamlit**
## Installation
1. **Clone the repository**:
```sh
git clone https://github.com/allen-reji/youtube-video-summarizer.git
cd youtube-video-summarizer
```
2. **Create a virtual environment (optional but recommended)**:
```sh
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. **Install dependencies**:
```sh
pip install -r requirements.txt
```
4. **Set up API keys**:
- Create a `.env` file in the project root directory:
```sh
touch .env
```
- Add your API key inside `.env`:
```
GOOGLE_APT_KEY=your_google_api_key
```
## Usage
1. **Run the application**:
```sh
streamlit run app.py
```
2. **Enter the YouTube video link** in the input field.
3. **Click "Get Detailed Notes"** to generate a summarized version of the video content.
## Requirements
This project uses the following dependencies:
- `streamlit` - For the web-based UI
- `youtube-transcript-api` - To extract transcripts from YouTube videos
- `google-generativeai` - To generate AI-powered summaries
- `python-dotenv` - To manage API keys securely
## License
This project is licensed under the MIT License.
---
## Contact
Allen Reji - [allenreji@gmail.com](allenreji@gmail.com)