A Flask application designed to summarize YouTube videos, providing both a concise summary and key highlights with timestamps. This tool leverages the YouTube Transcript API and OpenAI's GPT-3.5 model to generate summaries.
- Video Summarization: Input a YouTube video URL and receive a summary along with key points and their timestamps.
- Responsive Design: A user-friendly interface that works well on both desktop and mobile browsers.
- Docker Support: Easily set up and run the application using Docker.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Docker
- Docker Compose
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/youtube-summarizer.git
-
Navigate to the project directory:
cd youtube-summarizer
-
Create a
.env
file in the project directory and add your OpenAI API key -
Build and run the Docker containers:
docker-compose up --build
The application should now be running and accessible at http://localhost:5000.
- Open your web browser and navigate to http://localhost:5000.
- Enter a YouTube video URL into the input field.
- Click the "Summarize" button to receive the video's summary and key highlights.
To modify the application or contribute to its development:
- Ensure you have Python 3.10 and pip installed on your local machine.
- Install the required Python packages:
pip install -r requirements.txt
- Run the Flask application locally:
flask run