youtube-transcript

Fetch YouTube captions and convert timestamped captions into continuous Chinese transcripts.

Updated Jul 10, 2022
One-click install
npx skills add https://github.com/samuerio/.dotfiles --skill youtube-transcript-samuerio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/samuerio/.dotfiles/tree/main/agents/skills/youtube-transcript
Command: npx skills add https://github.com/samuerio/.dotfiles --skill youtube-transcript-samuerio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This capability solves the need to convert YouTube timestamped captions into a faithful, non-summarized Chinese transcript that is easy to read, review, and archive.

Core Features & Use Cases

  • Convert timestamped YouTube captions into a continuous Chinese transcript while preserving every point, example, and nuance.
  • Remove timestamp markers from the final output for clean reading, while maintaining original order.
  • Optionally render the transcript as HTML for sharing and publish via Filecoin-pin when explicitly requested.
  • Input accepts a YouTube video ID or a full URL and uses youtube-transcript-plus to fetch captions.

Quick Start

Run transcript.js with a YouTube video ID or URL to generate the continuous Chinese transcript.

Frequently Asked Questions about youtube-transcript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert YouTube captions to a continuous Chinese transcript?

To convert YouTube captions to a Chinese transcript, provide a YouTube video ID or full URL. The tool fetches timestamped captions and transforms them into a faithful, non-summarized continuous text without timestamp markers.

Can I get a readable Chinese transcript from a YouTube video without timestamps?

Yes, you can generate a readable Chinese transcript without timestamps. The process removes timestamp markers from the original captions while preserving the exact order, nuances, and every point made in the video.

Do I need a Node.js environment to extract Chinese transcripts from YouTube?

Yes, extracting Chinese transcripts requires a Node.js environment and the youtube-transcript-plus library. These dependencies are necessary to fetch the video captions and process them into a continuous text format.

How do I export a YouTube transcript as an HTML file for sharing?

You can export a YouTube transcript as an HTML file by explicitly requesting HTML rendering during generation. This formats the continuous Chinese transcript into a shareable web page layout.

What is the best way to archive and pin a YouTube transcript on Filecoin?

To archive a YouTube transcript on Filecoin, request the Filecoin-pin option alongside the transcript generation. This pins the output, which can include optional HTML rendering, to the decentralized storage network for permanent sharing.

Does the youtube-transcript tool summarize the video content?

No, the youtube-transcript tool does not summarize content. It produces a faithful, verbatim continuous Chinese transcript that preserves every point, example, and nuance from the original YouTube captions.