Skip to content

patrickpassosb/youtube-metadata-generator

Repository files navigation

YouTube Metadata Generator

A simple web app to extract YouTube captions and generate SEO-optimized titles and descriptions using OpenAI (gpt-4o-mini).

Created by: Patrick Passos
Contact: patrickpassosb@gmail.com

Features

  • 🎥 Extract English auto-captions from YouTube videos
  • 🤖 Generate catchy titles and SEO descriptions using OpenAI
  • 🌐 User-friendly Streamlit web interface
  • 💾 Download results as Markdown

Quick Start

  1. Install dependencies:
   pip install -r requirements.txt
  1. Get an OpenAI API key: OpenAI Platform
  2. Set your API key as an environment variable:
export OPENAI_API_KEY="your_api_key_here"
  1. Run the app:
   streamlit run app.py
  1. Open http://localhost:8501 in your browser.

Requirements

  • Python 3.11+
  • OpenAI API key
  • English auto-captions enabled on YouTube videos

File Structure

.
├── app.py        # Streamlit web interface
├── core.py       # Main business logic
├── requirements.txt
└── README.md

License

MIT License


If you find this project helpful, please consider starring the repository!

About

Generate SEO-optimized titles and descriptions from YouTube videos using AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published