Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integrated Search for YouTube Transcript

Extension Logo

THE Chrome extension for finding keywords or phrases in YouTube videos, allowing you to jump in exactly where you want quickly, with seamless integration into YouTube's existing UI.

Why this extension?

YouTube does provide a transcript feature, and on some videos you may see a built-in search bar.
However, this is not available on every video and can be unreliable:

  • The search bar does not always appear.
  • Results may miss words if they are spelled slightly differently (e.g., from auto-generated captions).
  • Availability depends on YouTube's UI experiments, region and transcript data.

Integrated YouTube Transcript Search solves these issues by providing a consistent, reliable way to search transcripts across all videos.
It works even with auto-generated captions, so you can always find the exact part of the video you’re looking for.

Features ✨

  • 🔍 Transcript Search: Download and search video transcripts for key words or phrases.
  • ⏩ Smart Navigation: Jump directly to any words/phrases in the video.
  • 📊 Frequency Insights: See how often words appear in a video.
  • ⭐ Fuzzy Match: Search supports both exact matches and fuzzy matching (helpful for typos or near matches)
  • 🎨 Clean UI Integration: Minimal popup UI with transcript search integrated into YouTube's interface.
  • ⚡ High Performance: Lightning-fast speeds for videos under an hour, with moderate performance for 10+ hour videos.

Installation 🛠️

Option 1: Chrome Web Store (Recommended)

  1. Install from the Chrome Web Store.
  2. Toggle the extension to enable it.

Option 2: Manual Installation

  1. Clone this repository:
    git clone https://github.com/caspianlack/YouTubeSubtitleSearch.git
  2. Open Chrome and navigate to chrome://extensions/.
  3. Enable "Developer mode" (toggle in the top-right corner).
  4. Click "Load unpacked" and select the zip named "Extension" in the cloned repository folder.
  5. Toggle the extension to enable it.

Usage 📋

  1. Open any YouTube video once the extension is installed
  2. The video transcript should appear on the left where you can search for keywords
  3. If the transcript search doesn't appear:
  • The extension automatically detects YouTube videos, opens the YouTube transcript, and reads the DOM element containing the text and timestamps
  • Search functionality highlights matching terms and provides quick navigation using first exact contains matches, then falls back to Damerau-Levenshtein distance similarity calculations to find similar words (handling both transcript errors and user input errors).
  • Scroll through the results and click to jump to where you want to go in the video.

How It Works 🔧

  • The extension automatically detects YouTube videos; opens up the YouTube Transcript, reads the DOM element containing the text and timestamps.
  • Search functionality highlights matching terms and provides quick navigation using first exact contains matches and falls back to use Damerau-Levenshtein distance similarity calculations to find similar words from either transcript error or user input error.
  • Scroll through the results and clickt to where you want to jump into.

Without Extension

Alt text

With Extension

Alt text

Troubleshooting 🐛

  • Transcript not loading? Try refreshing the page or check if the video has captions available.
  • Extension not working? Make sure it's enabled in chrome://extensions/.
  • Performance issues? Skill issue.

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request or open an Issue for bug reports and feature requests.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Support 💬

If you encounter any issues or have suggestions, please open an issue on GitHub.

About

THE Chrome extension for finding keywords or phrases in YouTube videos, allowing you to jump in exactly where you want quickly, with seamless integration into YouTube's existing UI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages