course2md README

README проекта с github.com/mizorewww/course2md. Одним файлом markdown: README.md.

course2md app icon

course2md

Turn lecture videos into illustrated notes you can read, search and keep.

Paste a YouTube or Bilibili link, or drop in a local video. course2md captures a screenshot every time the slide changes, transcribes what is said beneath it, and keeps the result in a library on your computer.

Newest release, previews included License: MIT macOS · Windows · Linux

English · 中文 · Download · Wiki

Download

Download for macOS Download for Windows Download for Linux

Version 3.0.2: macOS DMG (Apple Silicon, macOS 15 or later) · Windows installer (x64; portable ZIP) · Linux tar.gz (x86_64) · all releases

On macOS you can also install it with Homebrew: brew install --cask mizorewww/tap/course2md-gui. Each download includes the conversion engine and its video tools; Install has the steps for each system.

The course2md reader showing a lecture note with a summary, an outline and typeset formulas

Why course2md

A tour of the app

Add a video

Paste a link or drag a file onto Home, the start page (click the course2md logo to return to it). course2md reads the video first, so you can check the title, length and where its text comes from before anything is converted. How notes are made (speech recognition, AI processing, exports) is set once in Settings, and every conversion uses the settings current when it starts.

Home page with a previewed video

Read, find and copy

The reader opens on a summary and key points, keeps an outline of the sections beside the note, and finds text across the whole note. Formulas are typeset, and copying a passage gives you the original text with each formula's LaTeX.

Browse every slide

The Screenshots view shows the whole lecture at a glance. Open any slide to see it large, zoom and pan, and read what was said at that moment.

Screenshots view with a grid of lecture slides An enlarged slide with the transcript spoken while it was shown

Keep a library

Notes live in a library with nested folders, drag and drop, and search that covers subfolders. You can keep several library locations, and deleted notes go to the Trash (Recycle Bin on Windows and Linux).

Library with a folder tree and note cards

Let it work in the background

Conversions run as tasks you can pause, resume and reorder. Each step shows its progress, and model downloads show their size, speed and time left. If one part fails, read what finished and redo only the rest.

Tasks page with a running conversion and its progress

Make it yours

Choose from 10 themes and reduce motion in Settings → Appearance. Set the UI scale from 75% to 200% in steps of 5%. Drag the slider to see a floating preview. Release it to apply the scale. Reset to 100% restores the default scale.

Appearance settings with theme previews

Install

The desktop app includes the conversion engine and the video tools it runs (ffmpeg, ffprobe and yt-dlp), so the downloads below work without installing anything else. You do not need the command-line tool to use it.

macOS (Apple Silicon, macOS 15 or later)

With Homebrew, this installs the app together with yt-dlp and aria2 (faster model downloads):

brew install --cask mizorewww/tap/course2md-gui

Then open course2md from Applications. Without Homebrew, download the DMG and drag course2md to Applications; see the macOS guide.

Windows (x64)

  1. Download the installer and run it. It installs for your account only, needs no administrator rights, and later versions upgrade it in place. While it is unsigned, SmartScreen asks first: choose More info → Run anyway.
  2. Open course2md from the Start menu. The app includes ffmpeg, yt-dlp, aria2, uv (Intel NPU recognition) and llama-server for GPU (Vulkan) and CPU recognition. GPU and CPU recognition also need the Microsoft Visual C++ runtime; if it is missing, Run checks says so and links the installer.

To run without installing, download the portable ZIP, extract everything to a permanent folder and open course2md-desktop.exe, keeping the other files next to it. Uninstalling keeps your settings, model downloads and notes.

Arch Linux / CachyOS (x86_64)

yay -S course2md-gui-bin

(or paru -S course2md-gui-bin). This installs the app, the system's video tools and the graphics libraries; your GPU needs a working Vulkan driver. See the Linux guide.

Ubuntu and other Linux (x86_64)

Download the tar.gz, install the graphics libraries from the Linux guide, extract it and run ./course2md-desktop. Built on Ubuntu 24.04; it includes ffmpeg, yt-dlp, uv and llama-server (GPU recognition uses your Vulkan driver).

Intel Macs and Linux ARM64 have no desktop app yet; use the command-line tool.

First steps

  1. Open course2md and follow the setup: choose how speech is recognized, optionally connect an AI service and Bilibili, and download the speech model (1–2.4 GB, once).
  2. If anything is missing, Settings → Application → Run checks shows which tool to install.
  3. On Home, paste a link or drop a video, review the preview and click Start conversion. Finished notes appear in Library.

Notes go to a default library; add other folders in Settings → Storage. The interface follows your system language; change it in Settings → Appearance → Interface language. More in the first-launch guide.

Questions

Conversion says ffmpeg is missing. The downloaded app keeps its own ffmpeg next to course2md-desktop; extract or reinstall the whole package. The CLI and the Arch package use the system's: install it (brew install ffmpeg on macOS, winget install --id Gyan.FFmpeg -e on Windows, your package manager on Linux). Settings → Application → Run checks (CLI: course2md doctor) shows where each tool comes from.

A Bilibili video fails or comes back in low quality. Log in under Settings → Services & accounts → Bilibili account by scanning the QR code, or with your password or an SMS code.

YouTube asks you to sign in. Under Settings → Services & accounts → YouTube account, choose the browser where you are signed in to YouTube. yt-dlp reads that browser's cookies when it opens a YouTube video; course2md does not keep them. Downloading with an account may lead YouTube to restrict it, so use it sparingly.

How large are the model downloads, and where do they go? About 1–2.3 GB on Apple Silicon (~/Library/Caches/qwen3-speech/) and 2.4 GB elsewhere (~/.cache/course2md/models/). On a system set up for mainland China (its locale or time zone) they download from domestic mirrors (ModelScope / hf-mirror.com); elsewhere these are fallbacks. HF_ENDPOINT names a host outright, and COURSE2MD_IP_LOOKUP=1 lets course2md ask public services for your country instead, which sends them your IP address. Downloads resume after interruptions, and GPU/CPU models are checked with SHA-256.

How do I use Qwen speech recognition (qwen3-asr-flash)? Add a speech service under Settings → Services & accounts and choose the service type Qwen speech recognition (e.g. qwen3-asr-flash). Use the address https://maas.qianwenaiapi.com/compatible-mode/v1 (or your Alibaba Cloud Model Studio region's …/compatible-mode/v1 address), the model qwen3-asr-flash and your API key. Qwen does not offer this model as Dedicated transcription or Multimodal conversations: it takes the audio alone, so course2md sends it in Qwen's own format and sends the audio in pieces of up to two minutes, well within one request's limit (5 minutes, 10 MB). In the CLI, set it in config.toml:

[defaults]
provider = "api"

[asr_api]
mode = "qwen-chat"
base_url = "https://maas.qianwenaiapi.com/compatible-mode/v1"
model = "qwen3-asr-flash"
# the key: COURSE2MD_ASR_API_KEY

I upgraded from 1.7. Where are my notes? Notes made by 1.x stay where they were as course.md / course.html and still open in any editor or browser, but the 2.0 library only lists notes made by 2.0. Downloaded models, the Bilibili login and the CLI's config.toml keep working; set up recognition and AI services again in the setup steps.

More answers in Troubleshooting.

Command-line tool

Prefer the terminal or scripts? The course2md CLI does the same conversion. It can be installed beside the desktop app; the two share the Bilibili, YouTube and ChatGPT logins and the downloaded speech models, and each keeps its own settings.

curl -fsSL https://raw.githubusercontent.com/mizorewww/course2md/main/install.sh | bash   # macOS / Linux, into ~/bin
brew install mizorewww/tap/course2md                                                      # or Homebrew
yay -S course2md-bin                                                                      # or Arch

It needs ffmpeg; online links also need yt-dlp (installed by the script if missing), and with aria2 models download over several connections. Local recognition on non-Apple systems needs llama-server. Check everything with course2md doctor.

course2md ./lecture.mp4                        # a local file
course2md https://www.youtube.com/watch?v=…    # or a YouTube / Bilibili link
course2md ./lecture.mp4 -o ./notes             # choose where notes go

The first run asks a few setup questions. Each video has one note, the folder platform/ID/ under the output folder; converting the same video again replaces that note in place (a course.md you edited by hand is kept beside it as course.edited.md), and an existing note stays as it was if the new run fails. Work in progress lives in .course2md/ beside the notes.

A speech model is never downloaded without asking. When a conversion needs one that is missing, the CLI names it, its size and where it will be stored, and asks [y/N]; without a terminal (pipes, scripts, --json, --quiet) it stops with exit code 1 (--json: error code model_required). Prepare the model first with course2md models prepare --provider … --model …, or pass --download-models (or set COURSE2MD_DOWNLOAD_MODELS=1) to allow the download in that run. A conversion stopped this way continues where it left off once the model is ready.

Command Purpose
course2md --login bilibili / --logout bilibili Log in to Bilibili with a QR code (--method password or sms for a password or SMS code) / remove the saved login
course2md --login youtube / --logout youtube Use a browser's YouTube sign-in (--browser chrome, or --browser "chrome:Profile 1" for a profile) / stop using it
course2md --login ollama / --login codex Use a local Ollama server / a ChatGPT subscription via the Codex login
course2md doctor Check tools, speech backends and settings
course2md models list / models prepare Check downloaded models / download one ahead of time
course2md llm setup / llm status / llm disable Configure, inspect or turn off AI proofreading
course2md summarize ./notes Add AI summaries to existing notes
course2md config init / config show Create a configuration template / show the settings

CLI settings live in ~/.config/course2md/config.toml (%APPDATA%\course2md\config.toml on Windows), and options override them. course2md remove clears the CLI's AI service settings and the ChatGPT login. --lang en|zh-Hans|zh-Hant|ja (or COURSE2MD_LANG) sets the language; --json output stays in Simplified Chinese for scripts. See <command> --help and the CLI guide.

Help and contributing

Documentation (Wiki) · Upgrade and uninstall · Troubleshooting · Report a problem · Release notes

For developers: contributing · desktop development · crate layout · engine architecture · benchmarks · releases · Changelog

course2md is released under the MIT license.

course2md (mizorewww/course2md)

Ищем в базе…

Что это?course2md превращает записи курсов и встреч с YouTube, Bilibili или локальные в конспекты лекций в Markdown и HTML с иллюстрациями-слайдами: при каждой смене слайда делается скриншот, а под ним размещается расшифровка.
Это десктопное приложение или инструмент командной строки?И то, и другое. Есть десктопное GUI-приложение со встроенным движком конвертации и отдельный CLI; они используют один файл конфигурации и могут быть установлены рядом.
Как его запустить?На Mac с Apple Silicon установите cask через Homebrew или скачайте DMG; на Windows скачайте портативный ZIP и запустите course2md-desktop.exe; на Arch Linux используйте yay/paru, на других Linux — пакет tar.gz. CLI также можно установить через скрипт с готовым бинарником, Homebrew, yay или 'cargo install --path .'.
Нужно ли отдельно устанавливать ffmpeg и yt-dlp?Да — ffmpeg (включая ffprobe) нужен всегда, yt-dlp — для ссылок на онлайн-видео, а llama-server — для распознавания речи на GPU/CPU; исключение — пакет для macOS Apple Silicon, чьему бэкенду CoreML не нужен дополнительный runtime.
Работает ли он на Intel Mac или Linux ARM64?Пока нет готовой GUI-сборки — на этих платформах придётся использовать CLI-версию, пока не появится сборка с GUI.
Куда деваются мои видео/аудио-данные при распознавании речи?Локальное распознавание речи (бэкенды CoreML, Intel NPU или llama.cpp) оставляет все данные на вашей машине; ничего не покидает устройство, если вы явно не настроите облачный API-бэкенд.
Как устроен формат конспектов со слайдами?course2md делает скриншот при каждом изменении визуального содержимого видео и раскладывает расшифровку абзацами под каждым скриншотом, экспортируя всё в course.md и course.html (опционально JSON с --formats).
Может ли он логиниться в Bilibili, чтобы починить неудачные или низкокачественные загрузки?Да, 'course2md --login bilibili' показывает QR-код для сканирования при входе, а '--logout bilibili' удаляет сохранённую сессию; это решение для видео Bilibili, которые не скачиваются или скачиваются в низком качестве.
Есть ли встроенная ИИ-вычитка или суммаризация?Опциональные ИИ-вычитка и суммаризация работают через любой OpenAI-совместимый endpoint и настраиваются командой 'course2md llm setup'; функция по умолчанию выключена, поэтому API-ключ не нужен, пока вы её не включите.
Что происходит, если конвертацию прервать?Конвертацию можно продолжить благодаря чекпоинтам речи и флагу --resume, а CLI также поддерживает вывод прогресса в NDJSON и тихий режим для скриптов.
Какие есть похожие проекты?stemkit, omarchy-meeting-recorder, parrot, phorminx, autoclip, pyvideotrans, greenbubbles, call.md
Автор
mizorewww
Размер
57.3 MB
Звёзды
514
Возраст
3 мес
Коммиты · 90 дней