explaingit

wangcy7889/bilicourseai

12PythonAudience · generalComplexity · 3/5Setup · moderate

TLDR

A command-line tool that downloads Bilibili course videos' subtitles, passes them to an AI, and generates a browser-viewable study report with a foldable knowledge tree, formatted notes, formula tables, and auto-captured screenshots.

Mindmap

mindmap
  root((bilicourseai))
    What it does
      Fetch subtitles
      Build knowledge tree
      Generate study report
    Report features
      Foldable topics
      Formatted notes
      Formula tables
      Video screenshots
    Workflows
      Probe video
      Outline structure
      Browse locally
    Requirements
      Python 3.11
      OpenAI-compatible API
      Bilibili account
Click or tap to explore — scroll the page freely

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

Things people build with this

USE CASE 1

Convert a long Bilibili lecture video into a structured, foldable study guide you can browse in your browser.

USE CASE 2

Auto-generate notes with formula tables and screenshot explanations for a math or science course on Bilibili.

USE CASE 3

Work through a multi-part Bilibili series episode by episode, building up a cumulative knowledge tree without losing earlier notes.

USE CASE 4

Drill into a dense lecture section by expanding a single tree node into finer subtopics on demand.

Tech stack

PythonOpenAI APICLI

Getting it running

Difficulty · moderate Time to first run · 30min

Requires an OpenAI-compatible API key configured separately, Python 3.11+, and a Bilibili account login via QR code to access subtitles.

No license information was mentioned in the explanation.

In plain English

BiliCourseAI is a command-line tool that turns Bilibili course videos into structured study reports. Bilibili is a Chinese video platform widely used for educational content. The tool fetches the video's subtitles and metadata, sends them to an AI model, and produces a local report you can open in a browser. It does not process viewer comments or recommendations, focusing only on the video content itself. The report is laid out with a knowledge tree on the left and study notes on the right. The tree breaks the course into topics and subtopics, which you can fold and unfold to navigate long lectures. Each node on the right side can show formatted notes, formula tables, and automatically captured screenshots from the video. A visual AI model looks at those screenshots to help explain diagrams, equations, and whiteboard content. To use the tool, you install it with pip and then run a sequence of commands: first probe a video to check for subtitles, then outline it to build the knowledge tree, then optionally launch a local web server to interact with the report. Within the browser view, you can expand any node into full notes or break it into finer subtopics. You can also redo individual nodes without starting over from scratch. The tool supports different study approaches depending on the video structure. Long single-part videos get automatically segmented by subtitle timing. Multi-part series can be explored one episode at a time, keeping earlier episodes intact as you add new ones. If the parts are already clearly labeled in Bilibili, you can skip the AI outline step and use the original part list as the starting tree. BiliCourseAI requires Python 3.11 or later and an OpenAI-compatible AI service you configure separately. Subtitle access on Bilibili usually requires a logged-in account, so the tool includes a QR-code login step. The project is described as a prototype suited for personal study and note generation rather than production use.

Copy-paste prompts

Prompt 1
I have a Bilibili course video URL. Using BiliCourseAI, probe it for subtitles, outline the knowledge tree, and generate a study report I can open in my browser, walk me through the exact commands.
Prompt 2
Set up BiliCourseAI with my OpenAI-compatible API key and guide me through the QR-code Bilibili login step so I can start fetching subtitles.
Prompt 3
I'm studying a 20-episode Bilibili series with BiliCourseAI. Show me how to process episodes one at a time while keeping earlier episode notes intact.
Prompt 4
A node in my BiliCourseAI report is too vague. Show me the command to re-generate just that one node into finer subtopics without reprocessing the whole video.
Prompt 5
Configure BiliCourseAI to use a self-hosted OpenAI-compatible model endpoint instead of the default, then generate a report for a single-part Bilibili lecture.
Open on GitHub → Explain another repo

← wangcy7889 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.