Skip to content

marcoantap/YT2AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT2AI

© 2026 Marco Alvarado

Email: marcoantap@gmail.com

Github: marcoantap

Reddit: u/cronocr

Made in Costa Rica

This browser extension lets you ask questions about the current YouTube video. Collects the video's captions and submits your question plus the transcript in the AI agent. It currently supports ChatGPT only, but in the future will support the other popular agents.

What it does

  1. Question – You type a question in the popup (e.g. "Summarize this video", "What are the main points?").
  2. Captions – The extension reads the current YouTube watch page and gets the caption track, then fetches and parses the transcript.
  3. Open AI – It copies your question and the full transcript to the clipboard and opens one of:
    • ChatGPT (OpenAI)
    • Poe Assistant
    • Google Gemini
    • Deepseek Chat
  4. Paste – On the AI site, paste with Ctrl+V (Windows/Linux) or Cmd+V (macOS) into the chat input.

Install

Chrome

  1. Open chrome://extensions/.
  2. Turn on Developer mode (top right).
  3. Click Load unpacked and choose the YT2AI folder (the one that contains manifest.json).

Firefox

  1. Open about:debuggingThis FirefoxLoad Temporary Add-on.
  2. Select the manifest.json file inside the YT2AI folder.

For a permanent install in Firefox you can use Load Temporary Add-on and then "Permanent installation" if available, or package the extension and install from a local file.

How to use

  1. Open a YouTube video (a watch page: youtube.com/watch?v=...).
  2. Click the YT2AI extension icon in the toolbar.
  3. Type your question in the text box.
  4. Choose Open in (ChatGPT, Poe, Gemini, or Deepseek).
  5. Click Ask & open AI.
  6. When the AI site opens, paste into the chat (Ctrl+V / Cmd+V) and send.

Requirements

  • The YouTube video must have captions (auto-generated or manual). If there are no captions, the extension will show an error.
  • You need permission to paste from clipboard when the extension runs (browser will prompt if needed).

Optional: icons

To set custom icons, add PNGs in an icons folder and point the manifest to them:

  • icons/icon16.png (16×16)
  • icons/icon32.png (32×32)
  • icons/icon48.png (48×48)

Then add to manifest.json under "action" and at top level:

"action": {
  "default_popup": "popup.html",
  "default_icon": { "16": "icons/icon16.png", "32": "icons/icon32.png", "48": "icons/icon48.png" },
  "default_title": "YT2AI"
},
"icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "48": "icons/icon48.png" }

About

Browser extension to ask questions about the current Youtube video, automates collecting your question and video transcript and pasting it in the AI agent.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors