Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 667 Bytes

File metadata and controls

41 lines (26 loc) · 667 Bytes

ytxt

中文 | English

Serverless YouTube transcript extractor w/ easy HTTP GET API

Use Now: https://ytxt.jerryshell.workers.dev

Deploy to Cloudflare

Usage

Install dependencies

bun install

Development

bun run dev

Build for production

bun run build

API

GET /api/transcript?input=<YouTube URL or VideoId>&lang=<language code (optional)>

Example:

curl "http://localhost:3000/api/transcript?input=UF8uR6Z6KLc&lang=en"