{"name":"YouTube Summarizer: AI-Powered Summaries for YouTube Videos and Playlists","description":"YouTube Summarizer is a Flask web application designed to generate concise, AI-powered summaries of YouTube videos and entire playlists. It leverages advanced AI models like Google Gemini and OpenAI GPT, extracts transcripts, and can even convert summaries into audio using Google's Text-to-Speech API, offering a comprehensive tool for efficient content digestion.","github":"https://github.com/jaye773/youtube-summarizer","url":"https://osrepos.com/repo/jaye773-youtube-summarizer","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/jaye773-youtube-summarizer","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/jaye773-youtube-summarizer.md","json":"https://osrepos.com/repo/jaye773-youtube-summarizer.json","topics":["Python","YouTube","AI","Summarization","Flask","Video Processing","Text-to-Speech","Open Source"],"keywords":["Python","YouTube","AI","Summarization","Flask","Video Processing","Text-to-Speech","Open Source"],"stars":null,"summary":"YouTube Summarizer is a Flask web application designed to generate concise, AI-powered summaries of YouTube videos and entire playlists. It leverages advanced AI models like Google Gemini and OpenAI GPT, extracts transcripts, and can even convert summaries into audio using Google's Text-to-Speech API, offering a comprehensive tool for efficient content digestion.","content":"## Introduction\nThe `youtube-summarizer` project is a powerful Flask web application that provides AI-powered summarization for YouTube videos and playlists. It streamlines the process of extracting key information from long-form video content by generating concise summaries using state-of-the-art AI models. Beyond just text, the application also offers the unique ability to convert these summaries into audio files, enhancing accessibility and convenience.\n\n## Installation\nThe recommended way to set up and run YouTube Summarizer is using Docker. This ensures a consistent environment and simplifies dependency management.\n\n**Prerequisites:**\n*   **Google API Key**: Required for YouTube Data API v3, Google Generative AI (Gemini), and Google Cloud Text-to-Speech API.\n*   **OpenAI API Key**: Optional, for utilizing OpenAI GPT models.\n\n**Steps for Docker Installation:**\n1.  **Clone the Repository:**\n    bash\n    git clone https://github.com/jaye773/youtube-summarizer.git\n    cd youtube-summarizer\n    \n2.  **Set Up Environment Variables:** Create a `.env` file in the project root and add your API keys:\n    \n    GOOGLE_API_KEY=your_google_api_key_here\n    OPENAI_API_KEY=your_openai_api_key_here  # Optional, for GPT models\n    \n3.  **Initialize Data Directory:** Run the initialization script to create the necessary directory structure:\n    bash\n    ./init_data.sh\n    \n4.  **Run with Docker Compose:**\n    bash\n    docker-compose up -d\n    \n    The application will be accessible at `http://localhost:5001`.\n\n## Examples\nUsing the YouTube Summarizer is straightforward through its clean web interface.\n\n1.  **Open the Web Interface:** Navigate to `http://localhost:5001` in your browser.\n2.  **Login (if enabled):** If authentication is configured, enter the passcode to gain access.\n3.  **Enter YouTube URLs:** Paste one or more YouTube video or playlist URLs into the input field. Multiple URLs can be entered on separate lines.\n4.  **Generate Summaries:** Click the \"Summarize\" button to begin processing the videos.\n5.  **View Results:** Summaries will appear below each video. You can also find cached summaries in the sidebar. Click the speaker icon to generate and play audio versions of the summaries.\n\n## Why Use It\nYouTube Summarizer offers a comprehensive solution for efficient video content consumption. Its key advantages include:\n*   **Multi-Model AI Support:** Choose between Google Gemini and OpenAI GPT models for summarization, allowing flexibility and access to diverse AI capabilities.\n*   **Playlist Support:** Effortlessly process and summarize entire YouTube playlists, saving significant time.\n*   **Audio Generation:** Convert text summaries into MP3 audio files, perfect for on-the-go learning or accessibility.\n*   **Smart Caching:** Minimize API calls and speed up retrieval with intelligent caching of summaries and audio files.\n*   **Optional Authentication and Proxy Support:** Enhance security with passcode-based login and bypass IP restrictions using Webshare proxy integration.\n*   **Clean and Responsive Interface:** A user-friendly web UI ensures a smooth and intuitive experience.\n\n## Links\n*   **GitHub Repository:** [https://github.com/jaye773/youtube-summarizer](https://github.com/jaye773/youtube-summarizer){:target=\"_blank\"}","metrics":{"detailViews":0,"githubClicks":4},"dates":{"published":null,"modified":"2025-12-17T20:00:42.000Z"}}