A powerful tool that leverages Google Gemini AI to provide concise summaries of YouTube videos. Simply enter the URL of any YouTube video, and get an AI-generated summary in seconds!
- Easy-to-use interface for entering YouTube video URLs
- Utilizes Google Gemini AI for accurate and concise video summarization
- Supports videos in multiple languages
- Fast processing and summary generation
- Responsive design for both desktop and mobile use
├── backend/
│ ├── api/
│ │ └── processVideo.js
│ ├── services/
│ │ ├── summarizer.js # Handles summary generation logic
│ │ └── video.js # Handle video downloading logic
│ ├── temp/ # Temporary download files
│ ├── .env # Environment variables
│ └── index.js # Express server setup
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ │ ├── Navbar.jsx
│ │ │ ├── InputForm.jsx
│ │ │ ├── SummaryCard.jsx
│ │ │ ├── Loading.jsx
│ │ │ ├── Footer.jsx
│ │ │ ├── CopyBtn.jsx
│ │ │ ├── SaveBtn.jsx
│ │ │ └── RegenerateBtn.jsx
│ │ ├── helpers/
│ │ │ └── validation.js # Validating the URL
│ │ ├── App.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ └── index.html
├── .gitignore
├── LICENSE
└── README.md
- Node.js (v14 or higher)
- Google Gemini AI API key
-
Clone the repository:
git clone https://github.com/akdevv/yt-sum cd yt-sum
-
Set up the backend:
- Navigate to the backend directory:
cd backend
- Install backend dependencies:
npm install
- Create a .env file in the backend folder and paste your Google Gemini API key:
GOOGLE_GEMINI_API_KEY=<<your_gemini_api_key_here>>
- Start the backend server using Nodemon:
nodemon index.js
- Navigate to the backend directory:
-
Set up the frontend:
- Open a new terminal session, then navigate to the frontend directory:
cd frontend
- Install frontend dependencies:
npm install
- Start the development server:
npm run dev
- Open a new terminal session, then navigate to the frontend directory:
-
Visit
http://localhost:5173
in your browser to use the app.
- Go to the Google AI Studio.
- Create a new project or select an existing one.
- Generate an API key for Gemini AI.
- Copy the API key and paste it into your
.env
file.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.