Skip to content

devhims/youtube-gpt

Repository files navigation

YouTubeGPT

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.

YouTubeGPT Demo

Table of Contents

Features

  • Automatic video summary generation.
  • Interactive chat with the video content.
  • Responsive and modern user interface.

Getting Started

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/devhims/youtube-gpt
  1. Install NPM packages
npm install
  1. 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
  1. Run the development server
npm run dev

Usage

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.

Deployment

The application is deployed on Vercel. If you want to deploy it on your own, follow the Vercel Deployment Documentation.

Built With

Contributing

Any contributions are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Himanshu Gupta - thinktank.himanshu@gmail.com

Project Link: https://github.com/devhims/youtube-gpt

Acknowledgements