YT Summarizer is a web application that allows users to get summaries of YouTube videos with captions. The project is built using Python, Django, HTMX, Tailwind CSS, and the OpenAI API.
- Download the captions of YouTube videos in
.txt
or.srt
format. - Get a summary of any YouTube video.
To set up and run the application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Sheel-ui/yt-summarizer.git
-
Create a virtual environment using Conda:
cd yt-summarizer
-
Create a virtual environment using Conda:
conda create -n <envname> python=3.10
-
Activate the virtual environment:
conda activate <envname>
-
Install the necessary dependencies:
pip install -r requirements.txt
-
Set up the OpenAI API key:
- Create a
.env
file in the project root. - Add your OpenAI API key to the
.env
file:OPENAI_API_KEY=your_openai_api_key
- Create a
-
Run the Django development server:
python manage.py runserver
- Backend: Python, Django
- Frontend: HTMX, Tailwind CSS
- API: OpenAI API