AskYT: Unlock Insights from YouTube Videos π₯ AskYT transforms YouTube content into actionable insights. Summarize transcripts, perform sentiment analysis, and engage in Q&A with AI-powered precision. Featuring multi-language support, speech-to-text, and PDF export, itβs your ultimate tool for interactive learning and analysis!
AskYT is an AI-powered tool designed to transform YouTube videos into actionable insights. By leveraging advanced transcript processing, sentiment analysis, and Q&A features, AskYT enables users to extract key points, understand context, and interact with video content meaningfully.
AskYT helps users make the most of YouTube content by summarizing transcripts, analyzing sentiments, and providing tailored question-and-answer support. Powered by Google Gemini 2.0 Flash Exp, the app is perfect for researchers, students, and professionals looking to gain quick insights from lengthy videos.
- Save Time: Quickly summarize videos without watching the entire content.
- Interactive Learning: Ask targeted questions based on video transcripts.
- Custom Insights: Generate short or detailed summaries to match your preferences.
- User-Friendly Interface: Intuitive web interface built using Streamlit.
- Multi-language Support: Extract and process transcripts in multiple languages, including English (en), Spanish (es), French (fr), German (de), Italian (it), Portuguese (pt), Hindi (hi), Marathi (mr), Gujarati (gu), Telugu (te).
- Transcript Summarization: Generate short or detailed summaries of YouTube transcripts.
- Q&A System: Ask questions about video content and receive AI-generated answers.
- Sentiment Analysis: Assess the tone of the video content with VADER Sentiment Analysis.
- Speech-to-Text Input: Ask questions using voice recognition.
- PDF Export: Download summaries and Q&A history as a structured PDF.
- Multi-language Support: Extract transcripts in various languages for broader applicability.
main.py
: Core application logic for transcript extraction, summarization, Q&A, and sentiment analysis.requirements.txt
: Specifies the Python libraries and dependencies..env
: Stores sensitive environment variables, such as the Google API Key.
-
Clone the Repository:
git clone https://github.com/Akanksha4554/askyt.git cd askyt
-
Install Dependencies:
Install the required libraries using:pip install -r requirements.txt
-
Configure the Environment:
Update.env
with your Google API Key:GOOGLE_API_KEY = "Your_API_KEY"
-
Run the Application:
Launch the app using Streamlit:streamlit run main.py
-
Start Exploring:
Enter a YouTube link, select transcript language, and let AskYT summarize and analyze the video.
- Python 3.8+
- Supported platforms: macOS, Linux, Windows
This project relies on:
- Streamlit: For creating the user interface.
- YouTube Transcript API: To extract transcripts from YouTube videos.
- Google Generative AI: For transcript summarization and Q&A.
- VADER Sentiment Analysis: For understanding the tone of transcripts.
- FPDF: To export summaries and Q&A history as PDFs.
- SpeechRecognition and PyAudio: To enable voice input for questions.
For the full list, refer to requirements.txt
.
- Transcript Summarization: Extract and summarize YouTube video transcripts efficiently.
- Interactive Q&A: Ask questions about the content and get AI-driven responses.
- Sentiment Analysis: Understand the mood or tone of the video content.
- Multi-language Support: Process transcripts in diverse languages for global accessibility.
- PDF Export: Compile the summary and Q&A history into a downloadable format.
We welcome contributions to improve AskYT! Feel free to:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request for review.
This project is licensed under the MIT License. Youβre free to use, modify, and distribute the software under the terms of the license. Refer to the LICENSE file for more details.