Skip to content

SuperMartas/summarize-yt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarize YouTube

A Tampermonkey/Violentmonkey userscript that adds Summarize and Answer title buttons to YouTube videos. Clicking either button opens Gemini and automatically submits a prompt with the video URL.

No AI subscription required — works with the free version of Google Gemini.

Installation

  1. Install Tampermonkey or Violentmonkey in your browser.
  2. Click here to install the userscript — your userscript manager should prompt you to install it.

Usage

Open any YouTube video. Two buttons appear in the video action menu:

Summarize and Answer title buttons on YouTube

  • Summarize — asks Gemini to summarize the video
  • Answer title — asks Gemini to answer the question posed by the video title

Clicking either button opens Gemini in a new tab and submits the prompt automatically.

Gemini result

How it works

The script runs on both youtube.com and gemini.google.com.

On YouTube, it injects the buttons into the native menu and stores the prompt text using userscript storage (GM_setValue) before opening Gemini.

On Gemini, it reads the stored prompt (GM_getValue), pastes it into the chat input, and clicks send.

About

Tampermonkey userscript that adds Summarize and Answer Title buttons to YouTube videos, powered by Gemini

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors