Skip to content

Timon0512/YoutTubeSummarizer

Repository files navigation

YouTube Video Summarizer 🎬🤖

Python Streamlit License

A Streamlit app that generates quick AI-powered summaries of YouTube videos. Paste a YouTube link and get a summary in your desired language instantly!


🚀 Features

  • AI-powered summaries of YouTube videos
  • Displays full transcript in a separate tab
  • Multi-language support: English, German, Spanish, French, Portuguese, Italian, Chinese, Japanese, Arabic
  • Local caching of transcripts and summaries to avoid repeated processing
  • Easy-to-use Streamlit interface with interactive elements

📸 Screenshot

img.png img_2.png


⚡ Installation

  1. Clone the repository:
git clone https://github.com/<YOUR_USERNAME>/YouTubeSummarizer.git
cd YouTubeSummarizer
  1. Create and activate a virtual environment (recommended):
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

🏃 Usage

  1. Run the Streamlit app:
streamlit run app.py
  1. Paste a YouTube URL in the input field
  2. Select your desired output language using the pills
  3. Click Summarize
  4. View the AI-powered summary and the full transcript in separate tabs

⚠️ Notes

  • YouTube Shorts are not supported
  • Transcripts and summaries are cached locally in a JSON file for faster repeated access
  • Set your API_KEY for the AI summarization function

🌐 Deployment

You can deploy this app directly to Streamlit Cloud:

  1. Create a new app on Streamlit Cloud
  2. Connect your GitHub repository
  3. Set the API_KEY in Secrets (.streamlit/secrets.toml)

📄 License

This project is licensed under the MIT License.

About

A YouTube Video Summarizer powered by Ai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages