This project is a dynamic web application that generates summaries of YouTube videos and allows you to chat with the video content. This is done by leveraging the power of OpenAI's GPT model for natural language understanding and generation, as well as the speed and flexibility of Supabase for vector database management.
- Automatic video summary generation.
- Interactive chat with the video content.
- Responsive and modern user interface.
- Clone the repository
git clone https://github.com/devhims/youtube-gpt
- Install NPM packages
npm install
- Create a
.env.local
file in the root directory with your OpenAI, Supabase, and YouTube API credentials:
YOUTUBE_API_KEY=your_youtube_api_key_from_google_cloud_console
SUPABASE_ANON_KEY=your_supabase_anon_key
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
OPENAI_API_KEY=your_openai_api_key
- Run the development server
npm run dev
To generate a summary for a video, paste the YouTube video URL and select the desired summary length. Once the summary is generated, you can engage in an interactive chat with the video content.
The application is deployed on Vercel. If you want to deploy it on your own, follow the Vercel Deployment Documentation.
Any contributions are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Himanshu Gupta - thinktank.himanshu@gmail.com
Project Link: https://github.com/devhims/youtube-gpt