quiztube
Turn any Bilibili video into Cornell-style study notes and quiz questions. Paste a link, get AI-generated notes you can edit, plus multiple-choice quizzes that track your mistakes for spaced review.
QuizTube is a self-hosted tool that takes a video link from Bilibili, the Chinese video platform, and turns it into structured study notes and quiz questions. You paste the link, and the system fetches the subtitles or generates a transcript if subtitles are not available, then uses an AI language model to produce a Cornell-style note document and a set of review questions.
Cornell notes split the page into three zones: a cues column, a main notes area, and a summary section at the bottom. QuizTube generates all three and lets you edit the result in a rich text editor in the browser. The quiz portion creates multiple-choice or short-answer questions from the video content, tracks which questions you got wrong, and lets you repeat those for spaced review.
For Bilibili videos that are split into multiple parts, you can select several parts and merge them into a single set of notes. A task status panel shows generation progress while the AI is processing.
The tool is self-hosted and runs locally. It uses FastAPI for the backend and plain HTML with Tailwind CSS for the interface. Video and subtitle fetching relies on yt-dlp and ffmpeg, which you install separately. The AI calls go to any OpenAI-compatible API endpoint, so you can point it at different providers through a configuration page inside the app where you set the base URL, model name, and API key. You can also configure these through environment variables if you prefer.
Setup requires Python 3.9 or newer, ffmpeg, and yt-dlp. After cloning the repository and installing dependencies, one command starts the server and the app is available in your browser at localhost:8000.
Where it fits
- Convert a Bilibili lecture or tutorial video into structured Cornell notes for studying
- Auto-generate quiz questions from video content to test your understanding
- Merge notes from multi-part Bilibili video series into one document
- Self-host a personal video-to-study-tool using your own AI API key