
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
youtube-transcript-cli
Advanced tools
A Node.js CLI that fetches YouTube transcripts from a video URL or video ID.
A Node.js CLI that fetches YouTube transcripts from a video URL or video ID.
This project is a standalone CLI package for npm and bun (not an MCP server).
--lang=en,fr)--timestamps)--max=6000)-g)The CLI command is:
yt-transcript
Hyphens are valid in CLI command names.
npm install -g youtube-transcript-cli
# or with bun
bun add -g youtube-transcript-cli
Then use it directly from any terminal:
yt-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ --lang=en,fr --timestamps --max=6000
npm install youtube-transcript-cli
# or with bun
bun add youtube-transcript-cli
Run with npx:
npx yt-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ --lang=en,fr --timestamps --max=6000
From this repository folder:
npm install
npm run build
npm link
yt-transcript --help
yt-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ --lang=en,fr --timestamps --max=6000
# bun alternative
bun install
bun run build
bun link
yt-transcript https://www.youtube.com/watch?v=dQw4w9WgXcQ --lang=en,fr --timestamps --max=6000
Remove the global link when done:
npm unlink -g youtube-transcript-cli
# or with bun
bun unlink -g youtube-transcript-cli
yt-transcript [<url|videoId>] [--lang en,fr] [--timestamps] [--max 12000]
If no URL/ID is provided, a default demo video is used.
Check the installed CLI version:
yt-transcript -v
yt-transcript --version
# when running without global install via npx:
npx youtube-transcript-cli -v
--lang=en,fr or --lang en,fr: language priority list--timestamps: include timestamps in output--max=6000 or --max 6000: chunk output by max characters--help or -h: show help--max, output is not chunked.--max, output is split into chunks.When integrated as a skill in an AI assistant, users can ask:
Give me the transcript and timestamps on this video https://www.youtube.com/watch?v=dQw4w9WgXcQGive me the french transcript of this Youtube video dQw4w9WgXcQExtract transcript in English and French with timestamps for https://youtu.be/dQw4w9WgXcQ and save it as a .txt/.md/text/markdown fileTo integrate this CLI as a reusable skill, place a folder containing a SKILL.md file inside one of the assistant-supported skills directories. Common locations:
<your-project>/.claude/skills/yt-transcript/<your-project>/.github/skills/yt-transcript/<your-project>/.opencode/skills/yt-transcript/In that folder create a SKILL.md describing usage and parameters. Minimal example:
# yt-transcript
Short description: Uses the `yt-transcript` CLI to fetch a YouTube video's transcript.
Usage examples:
- `yt-transcript https://www.youtube.com/watch?v=<id> --lang en,fr --timestamps`
Notes:
- Ensure `youtube-transcript-cli` is available in the runtime environment (installed as a project dependency or available in `PATH`).
- Adapt the invocation to your assistant runtime (Node, container, cloud function, etc.).
After adding the folder, register or load the skills directory according to your assistant's mechanism so the skill becomes discoverable.
If you want, I can create an example SKILL.md in one of these locations in the repository — which one do you prefer?
When you are ready:
npm login
npm publish
The package is configured with:
youtube-transcript-cliyt-transcriptMIT
FAQs
A Node.js CLI that fetches YouTube transcripts from a video URL or video ID.
The npm package youtube-transcript-cli receives a total of 0 weekly downloads. As such, youtube-transcript-cli popularity was classified as not popular.
We found that youtube-transcript-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.