- Автор
- mizorewww
- Размер
- 57.3 MB
- Звёзды
- 514
- Обновлён
- КоммитNov 18Релизv2.0.1Oct 28
- Возраст
- 3 мес
- Коммиты · 90 дней
README проекта с github.com/mizorewww/course2md. Одним файлом markdown: README.md.
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.
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.
course.md with its screenshots that opens anywhere; export a web page, a .zip or JSON whenever you need one.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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.