Using LLM through py-tgpt, this script provides simple summaries to text files and youtube videos.
Find a file
Marty Oehme 423b83abb9
Simplify input format options
Simplified the competing options json and youtube into --from which can
then select format.
2025-01-28 08:59:59 +01:00
.gitignore initial commit 2025-01-17 21:37:52 +01:00
.python-version initial commit 2025-01-17 21:37:52 +01:00
pyproject.toml Use hatch build system to add cli entrypoint 2025-01-18 10:39:56 +01:00
README.md initial commit 2025-01-17 21:37:52 +01:00
summarize.py Simplify input format options 2025-01-28 08:59:59 +01:00
uv.lock Use hatch build system to add cli entrypoint 2025-01-18 10:39:56 +01:00

tgpt summarize

A simple script which uses LLM to summarize a local text file, a downloaded json3 subtitle transcript, or a direct youtube video link.

Requires yt-dlp for youtube summaries, and jq for local json3 subtitle summaries.

Simplest usage:

tgpt_summary.py --youtube "https://www.youtube.com/watch?v=FuvDa0gs-ks"

First grabs the (english only, for now) subtitles and then tries to summarize them.