explaingit

programmerloverun/bilibili-to-doc

Analysis updated 2026-05-18

98Audience · generalComplexity · 2/5LicenseSetup · moderate

TLDR

A Claude Code skill that converts a Bilibili video's AI subtitles into a structured, readable Markdown document.

Mindmap

mindmap
  root((bilibili-to-doc))
    What it does
      Downloads AI subtitles
      Restructures into Markdown
      Saves to desktop
    Tech stack
      Claude Code Skill
      yt-dlp
      Python
    Use cases
      Turn tutorials into notes
      Build searchable video archive
      Repost video content as text
    Audience
      Bilibili viewers
      Note takers
    Setup
      Needs Python 3.10+
      Needs logged in browser cookies

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Convert a technical tutorial video on Bilibili into a searchable Markdown reference document.

USE CASE 2

Turn an educational video into study notes with headings and code blocks.

USE CASE 3

Build a text searchable archive of video content for personal knowledge management.

USE CASE 4

Repost the text version of a video's content to a blog or public account.

What is it built with?

Claude Code SkillPythonyt-dlp

How does it compare?

programmerloverun/bilibili-to-docbozhoudev/video-skills-toolkitgonemedia/aipointer
Stars989898
LanguageTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity2/52/52/5
Audiencegeneralvibe codergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Python 3.10+, the yt-dlp package, and a browser already logged into Bilibili for cookie access.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

bilibili-to-doc is a Claude Code skill that turns a Bilibili video, a popular Chinese video platform, into a structured Markdown document. You give it a video link and it downloads the video's AI generated Chinese subtitles, then reorganizes those subtitles into a proper document with chapter headings, code blocks, comparison tables, and summary points instead of a wall of timestamped sentence fragments. Under the hood the skill uses a tool called yt-dlp to download the AI subtitle file, reads cookies from your browser to prove you are logged into Bilibili since the AI subtitles require an account, strips out the timestamps and line numbers, and merges the broken up sentences back together. It then uses AI to recognize logical sections in the text and rewrite them into a structured document, saving the result as a Markdown file on your desktop by default. To use it, you install the skill files into your Claude Code skills folder, then simply paste a Bilibili video link into a conversation along with a request like "turn this Bilibili video into notes." The project is aimed at people who want to convert technical tutorials, programming walkthroughs, or other educational Bilibili videos into searchable written reference documents, study notes, or content to repost on a blog. Setup requires Python 3.10 or newer, the yt-dlp package installed through pip, and a browser such as Chrome, Safari, Firefox, or Edge that is already logged into Bilibili so its cookies can be read. The skill only works on videos that already have AI generated subtitles, videos without them cannot be processed. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Turn this Bilibili video into notes: https://www.bilibili.com/video/BV1v5TuzJE4v
Prompt 2
Extract the Bilibili video subtitles from this link and organize them into a structured document.
Prompt 3
Help me install the bilibili-to-doc skill into my Claude Code skills folder.
Prompt 4
Modify the bilibili-to-doc skill to output English subtitles instead of Chinese.

Frequently asked questions

What is bilibili-to-doc?

A Claude Code skill that converts a Bilibili video's AI subtitles into a structured, readable Markdown document.

What license does bilibili-to-doc use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is bilibili-to-doc to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is bilibili-to-doc for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.