VideoVoyager is an innovative application that provides YouTube video search and summarization capabilities. It offers a user-friendly interface for exploring YouTube content, generating concise summaries, and engaging in AI-powered conversations about video content.
- YouTube Video Search: Search for YouTube videos directly from the application.
- Video Summarization: Generate concise summaries of YouTube video content using AI.
- Video Chat: Ask questions about specific YouTube videos and get AI-generated responses.
- Backend: Flask (Python)
- Frontend: HTML, CSS, JavaScript
- APIs: YouTube Data API v3, OpenRouter API (for summarization and video chat)
- Additional Libraries: youtube-transcript-api
- Clone the repository to your local machine.
- Install the required Python packages:
pip install flask google-api-python-client python-dotenv youtube_transcript_api requests
- Create a
.env
file in the root directory with the following content:ReplaceYOUTUBE_API_KEY=your_youtube_api_key OPENROUTER_API_KEY=your_openrouter_api_key
your_youtube_api_key
andyour_openrouter_api_key
with your actual API keys.
- Navigate to the project directory in your terminal.
- Run the Flask application:
python app.py
- Open a web browser and go to
http://localhost:5000
to access the application.
- YouTube Search: Enter a search query in the video search field and click "Search" to find relevant YouTube videos.
- Video Summarization: Paste a YouTube video URL into the summarization input field and click "Summarize" to generate a summary of the video content.
- Video Chat: Paste a YouTube video URL and ask a question about the video to get AI-generated responses based on the video content.
Ensure that you have valid API keys for both YouTube Data API v3 and OpenRouter, and that you have sufficient quota and permissions to use these services.
This project is open-source and available under the MIT License.