gptme-youtube

YouTube transcript extraction and summarization plugin for [gptme](https://gptme.org). plugins/gptme-youtube View on GitHub

gptme-youtube

YouTube transcript extraction and summarization plugin for gptme.

Moved from gptme core (tools/youtube.py) to gptme-contrib as a plugin.

Features

Installation

pip install "gptme-youtube[youtube]"

Or add to your gptme plugin paths in gptme.toml:

[plugins]
paths = ["path/to/gptme-contrib/plugins/gptme-youtube"]

Dependencies

Usage

Once installed, the youtube tool is automatically available in gptme sessions.

Ask gptme to fetch a transcript:

fetch the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ

Or call the functions directly in a Python block:

transcript = get_transcript("dQw4w9WgXcQ")
summary = summarize_transcript(transcript)
print(summary)

You can also use a youtube code block with a video ID:

dQw4w9WgXcQ