Skip to content

Yash1927/Youtube-Video-Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📺 YouTube Video Summarizer

A simple and powerful web app that summarizes YouTube videos using their transcripts. Built with Streamlit and powered by Google Gemini (Gemini 1.5 Flash), this tool extracts the transcript from a YouTube video and condenses it into a concise bullet-point summary within 250 words.


🚀 Features

  • ✅ Automatically extracts transcripts from YouTube videos
  • 🤖 Uses Google's Gemini AI to generate a high-quality summary
  • 📌 Summary limited to the most important points (≤250 words)
  • 🖼️ Displays thumbnail preview of the video
  • 🧠 Zero manual transcript copy-pasting

🛠️ Tech Stack


📦 Installation

  1. Clone the repo
git clone <repository-url>
cd <repository-folder>
  1. Install dependencies
pip install -r requirements.txt
  1. Set up environment variables

Create a .env file in the root directory and add your Google API key:

GOOGLE_API_KEY=your_google_gemini_api_key_here
  1. Run the app
streamlit run app.py

✨ Usage

  1. Paste any YouTube video link (ensure it has captions available).
  2. Click on "Get Video Summary".
  3. Read the summary and enjoy the key insights!

🔒 Requirements


📷 Example

screenshot)


❗ Troubleshooting

  • If you get an error saying Could not retrieve transcript, the video might not have captions available or might be region-locked.
  • Ensure the API key is valid and you have access to Gemini models.

📄 License

MIT License


🙌 Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages