This application uses Google Gemini API and YouTube Transcript API to convert YouTube video transcripts into concise, insightful summaries in note form. Designed to help users quickly understand the key points of a video, this Streamlit-based app generates summarized notes based on a customizable prompt.
- Transcript Extraction: Automatically extracts transcripts from YouTube videos using the video URL.
- Summarization: Uses Google Gemini API to generate a structured summary of the video’s content.
- Customizable Prompt: Generates summaries based on a predefined prompt to ensure concise, bullet-pointed notes.
- Downloadable Notes: Allows users to view and download the summary in an easy-to-read format.
- Python 3.10+
- Streamlit
- dotenv
- google-generativeai
- YouTube Transcript API
- Clone the Repository:
git clone https://github.com/your-username/yt-transcript-to-notes.git cd yt-transcript-to-notes
- Set Up a Virtual Environment:
python -m venv venv source venv/bin/activate # On MacOS/Linux venv\Scripts\activate # On Windows
- Install Required Packages:
pip install -r requirements.txt
- Set Up Environment Variables:
GOOGLE_API_KEY=your_google_api_key
-
Run the Streamlit App:
streamlit run app.py
-
Use the App: Open your web browser and go to http://localhost:8501. Enter a YouTube video link to extract the transcript, and click Get Detailed Notes to generate a summary based on the transcript.
-
View and download notes: The app displays a structured summary based on the extracted transcript. You can download the generated notes for easy reference.
Feel free to contribute by opening issues or submitting pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.