Skip to content

yt-transcript-gpt is a Streamlit-based desktop/web app to extract YouTube video transcripts, enrich them with AI-powered analysis, and interact via chat—all in one place.

License

Notifications You must be signed in to change notification settings

ukr-projects/yt-transcript-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 yt-transcript-gpt

License: MIT Language: Python Status: Active

yt-transcript-gpt is a Streamlit-based desktop/web app to extract YouTube video transcripts, enrich them with AI-powered analysis, and interact via chat—all in one place.


✨ What’s New

  • 🎉 Initial release with core transcript extraction and AI modules
  • 🚀 Integrated both YouTube Transcript API and yt-dlp fallback
  • 🤖 Gemini AI features: summaries, key quotes, Q&A, study guides, flashcards, insights
  • 🔍 Interactive transcript viewer with search, copy, and notes
  • 💬 Chat interface to ask questions about the transcript

🛠️ All Features

  • Transcript Extraction via YouTube Transcript API or yt-dlp
  • AI Analysis through Google Gemini:
    • Summaries
    • Key Quotes
    • Q&A sessions
    • Study Guides
    • Flashcards
    • Highlighted Insights
  • Interactive Viewer: search, scrollable transcript, per-paragraph copy & notes
  • Downloadable Content: transcripts and AI-generated outputs (Markdown/plain text)
  • Chat Mode: ask questions about video content and get AI answers
  • Configurable: enable/disable libraries, set Gemini API key

🗂️ Folder Structure


yt-transcript-gpt/
├── LICENSE                      # MIT License
├── README.md                    # This file
├── requirements.txt             # Python dependencies
└── src/                         # Source directory
     └── main.py                  # Streamlit app entry point
├── favicon.ico              # App icon
└── screenshots/             # UI previews
    └── screenshot.png


📋 Requirements

  • Python 3.8+
  • pip package manager
  • Streamlit
  • youtube-transcript-api (optional)
  • yt-dlp (optional)
  • google-generativeai for Gemini features

Install dependencies:

pip install -r requirements.txt

If no requirements.txt, run:

pip install streamlit youtube-transcript-api yt-dlp google-generativeai

⚙️ Installation

  1. Clone the repo

    git clone https://github.com/ukr-projects/yt-transcript-gpt.git
    cd yt-transcript-gpt
  2. Install dependencies

    pip install -r requirements.txt

▶️ Usage

  1. Run the app

    streamlit run src/main.py
  2. Configure in the sidebar:

    • Paste your Gemini API Key to enable AI features
    • See status of transcript libraries (youtube-transcript-api, yt-dlp)
  3. Extract Transcript:

    • Enter a YouTube video URL
    • Click 🚀 Extract Transcript
  4. View & Interact:

    • Search within the transcript
    • Copy paragraphs or add notes
    • Download the raw transcript
  5. AI Insights:

    • Use buttons to generate summaries, quotes, Q&A, study guides, flashcards, highlights
  6. Chat:

    • Ask questions about the transcript content and view AI answers

📸 Screenshot

Interface


🤝 How to Contribute

  1. Fork this repository

  2. Create a branch:

    git checkout -b feature/YourFeature
  3. Implement and Commit your changes

  4. Push and Open a Pull Request


🙏 Acknowledgments

  • Streamlit for rapid GUI development
  • YouTube Transcript API & yt-dlp for transcript extraction
  • Google Gemini AI (google-generativeai) for advanced analysis

🌟 Star History

If you find this project useful, please consider giving it a star on GitHub! Your support helps us continue improving and maintaining this tool.

📞 Support


Made with ❤️ by the Ujjwal Nova

⭐ Star this repo | 🐛 Report Bug | 💡 Request Feature

About

yt-transcript-gpt is a Streamlit-based desktop/web app to extract YouTube video transcripts, enrich them with AI-powered analysis, and interact via chat—all in one place.

Topics

Resources

License

Stars

Watchers

Forks

Languages