Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Y

Youtube2Webpage

> 编程语言
Open source

I learn much better from text than from videos

1.4K stars0 likes1 views
WebsiteGitHub

About

I learn much better from text than from videos

Youtube-to-Webpage

Youtube-to-Webpage is a Perl script to create a webpage from a Youtube video with a transcript generated from the video's closed captions paired with screenshots of the video.

./yt-to-webpage.pl project-name "videoURL"

Dependencies

The project is built upon:

  • yt-dlp
  • ffmpeg

Using

To use, run the Perl script with a name for the folder to create, and the video URL. For example:

./yt-to-webpage.pl project-name "https://www.youtube.com/watch?v=jNQXAC9IVRw"

Output

Running the script create a repository according to the following structure:

project-name
├── images
│   └── (…).jpg
├── video.vtt
├── video.webm
├── index.html
└── styles.css
  • The index.html file is the generated webpage.
  • The images directory contains all the screenshots, named according to their timeframe hours-minutes-seconds-milliseconds.jpg.
  • The vtt file contains the captions.
  • The webm file contains the video.
  • The css file styles the webpage.

Example

You can see an example at https://obra.github.io/Youtube2Webpage/example/

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言