Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shruti23-ui/youtube_transcript_summariser
A web application that extracts transcripts from YouTube videos and generates structured summaries using the Google Gemini API. Built with Streamlit, it allows users to easily input video links, view key points, and download detailed notes.
https://github.com/shruti23-ui/youtube_transcript_summariser
googlegemini machine-learning python streamlit summariser youtube-api
Last synced: about 1 month ago
JSON representation
A web application that extracts transcripts from YouTube videos and generates structured summaries using the Google Gemini API. Built with Streamlit, it allows users to easily input video links, view key points, and download detailed notes.
- Host: GitHub
- URL: https://github.com/shruti23-ui/youtube_transcript_summariser
- Owner: shruti23-ui
- Created: 2024-11-03T19:48:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T15:08:52.000Z (3 months ago)
- Last Synced: 2024-12-21T17:12:30.349Z (about 1 month ago)
- Topics: googlegemini, machine-learning, python, streamlit, summariser, youtube-api
- Language: Python
- Homepage: https://eqedtalxsd8umf4qruhait.streamlit.app/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouTube Transcript to Detailed Notes Converter
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.
## Features
- **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.## Requirements
- **Python 3.10+**
- **Streamlit**
- **dotenv**
- **google-generativeai**
- **YouTube Transcript API**
## Installation1. **Clone the Repository**:
```bash
git clone https://github.com/your-username/yt-transcript-to-notes.git
cd yt-transcript-to-notes
2. **Set Up a Virtual Environment**:
```bash
python -m venv venv
source venv/bin/activate # On MacOS/Linux
venv\Scripts\activate # On Windows3. **Install Required Packages**:
```bash
pip install -r requirements.txt4. **Set Up Environment Variables**:
```bash
GOOGLE_API_KEY=your_google_api_key
## Usage1. **Run the Streamlit App**:
```bash
streamlit run app.py
2. **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.
3. **View and download notes:** The app displays a structured summary based on the extracted transcript. You can download the generated notes for easy reference.
## ContributionFeel free to contribute by opening issues or submitting pull requests.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---