JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q65005F
  • License MIT

RagClaw plugin for indexing YouTube video transcripts

Package Exports

  • ragclaw-plugin-youtube
  • ragclaw-plugin-youtube/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ragclaw-plugin-youtube) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ragclaw-plugin-youtube

RagClaw plugin for indexing YouTube video transcripts.

Installation

npm install -g ragclaw-plugin-youtube

Usage

# Using youtube:// scheme
ragclaw add youtube://dQw4w9WgXcQ

# Using yt:// scheme (shorthand)
ragclaw add yt://dQw4w9WgXcQ

# Using full YouTube URL
ragclaw add "https://youtube.com/watch?v=dQw4w9WgXcQ"
ragclaw add "https://youtu.be/dQw4w9WgXcQ"

Features

  • Fetches auto-generated and manual transcripts
  • Extracts video metadata (title, channel, duration)
  • Formats transcript for semantic search
  • Supports multiple URL formats

Indexed Content

Each video is indexed with:

# Video Title

**Video ID:** dQw4w9WgXcQ
**Channel:** Channel Name
**Duration:** 3:32
**URL:** https://youtube.com/watch?v=dQw4w9WgXcQ

---

## Transcript

Never gonna give you up, never gonna let you down...

Limitations

  • Requires videos to have transcripts (auto-generated or manual)
  • Some videos may have transcripts disabled
  • Age-restricted videos may not work

Development

cd plugins/ragclaw-plugin-youtube
pnpm install
pnpm build
npm link

License

MIT