Skip to content

Dmukherjeetextiles/YoutubeVideoSummarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎥 YouTube Video Summarizer with Gemini

A professional and user-friendly web application built with Streamlit that generates concise summaries of YouTube videos using Google's Gemini AI model.

Live demo: https://youtubevideosummarizergemini.streamlit.app/

✨ Features

  • Modular Codebase: The application is structured with a clear separation of concerns, making it easy to maintain and extend.
  • AI-Powered Summarization: Utilizes the Google Gemini API to generate comprehensive summaries from video transcripts.
  • Enhanced UI: A polished and professional user interface with custom styling.
  • Error Handling: Robust error handling to provide clear feedback to the user.
  • Easy to Use: Simply paste a YouTube URL and get a summary in seconds.

🛠️ Technology Stack

  • Language: Python 3
  • Web Framework: Streamlit
  • Video Information: yt-dlp
  • Transcript Extraction: youtube-transcript-api
  • AI Model: Google Gemini API (google-generativeai)

⚙️ Setup and Installation

  1. Clone the repository:

    git clone https://github.com/Dmukherjeetextiles/YoutubeVideoSummarizer.git
    cd YoutubeVideoSummarizer
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the dependencies from requirements.txt:

    pip install -r requirements.txt
  4. Get a Google Gemini API Key:

    • You'll need an API key from Google AI Studio.
    • Visit Google AI Studio to create your key.

▶️ How to Run

  1. Run the Streamlit application from your terminal:

    streamlit run yt.py
  2. Using the App:

    • The application will open in your web browser.
    • Enter your Google Gemini API Key in the sidebar.
    • Paste the URL of the YouTube video you want to summarize.
    • Click "Generate Summary" and wait for the magic to happen!

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is a simple Youtube URL to video summarizer that use Gemini for the summarization. Use your own API Key from Google AI Studio.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published