LecturAL
A Claude Code plugin that turns one YouTube video into complete markdown notes — every utterance, every on-screen text, every scene. Best on lecture and slide-style videos.
Features
- 🧾 Full transcript + study notes — a raw
transcript.md(every utterance) and a seven-sectionnotes.md(3줄 요약 / 목차 / 흐름 / 핵심 개념·이론 / 정리 노트 / 복습 질문 / 정리 커버리지). Note prose is Korean by design. - 🔗 Video deeplinks — concept bullets and review-question answers carry
youtu.be?t=links that jump to the exact moment. - 🇰🇷 Korean & English — uses captions when available, falls back to speech-to-text (faster-whisper) otherwise.
- 🚧 Completeness gate — checks speech gaps, scene coverage, and artifact presence, and blocks "done" until they pass.
How it works
flowchart TD
A[YouTube URL] --> B{Captions available?}
B -->|yes| C[Acquire: captions]
B -->|no / --force-stt| D[Download audio -> STT faster-whisper]
C --> E[Visual: ffmpeg keyframes / scene cuts]
D --> E
E --> F[Dedup: histogram / SSIM]
F --> G[OCR: PaddleOCR -> Tesseract fallback]
G --> H[Synthesize: transcript.md / notes.md / frames/ / coverage.json]
H --> I{Completeness gate}
I -->|pass| J[Done]
I -->|fail · exit 2| K[Fix the gap, then retry]
K --> H
Requirements
- Python 3.10+
- uv — installs and runs the Python dependencies
- ffmpeg — system binary, must be on PATH
- yt-dlp — checked and installed by
/lectural:setup(doctor)
Install
1. Install the plugin (Claude Code)
/plugin marketplace add haesol-shin/lectural
/plugin install lectural@lectural
This registers the completeness Stop hook and the /lectural:notes and /lectural:setup commands.
2. Prepare the runtime
Run once after installing:
/lectural:setup
It installs the Python run dependencies → checks/repairs ffmpeg and yt-dlp → reports anything left to do.
Manual setup:
uv pip install -e ".[run]", then installffmpegper OS (Windowswinget install --id Gyan.FFmpeg -e, Linuxsudo apt-get install ffmpeg, macOSbrew install ffmpeg).
Quick start
/lectural:notes https://youtu.be/<VIDEO_ID>
Or run the CLI directly without Claude Code (ffmpeg must be installed separately):
uvx --from ".[run]" lectural "https://youtu.be/<VIDEO_ID>" --out ./output
Usage
| Command | Description |
|---|---|
/lectural:setup |
Prepare and verify the runtime (first run) |
/lectural:notes <url> [options] |
Turn a lecture URL into complete notes |
Options: --force-stt (ignore captions, force STT), --model medium|small (STT model size), --out ./output (output location). Pass multiple URLs to process them sequentially.
The commands run only on explicit request (they do not auto-trigger on a stray YouTube link). At session end, the Stop hook re-verifies note completeness.
Output
output/<video-title>/
├── transcript.md # raw timestamped transcript — every utterance
├── notes.md # study notes: seven sections + video deeplinks
├── frames/ # slide images
├── coverage.json # completeness-gate results
└── synthesis_input.json # text input used to enrich the notes
FAQ
No captions? STT transcribes audio when captions are missing or weak (--force-stt forces it).
Long video (1–2h)? CPU STT gets slower with length; LecturAL warns on very long inputs, and --model small trades accuracy for speed.
Empty OCR text on some frames? Expected. Many frames (e.g. the speaker only) have no text, so OCR miss rate is not used as a gate.
License
MIT.
Metadata
Release files for lectural 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lectural-0.1.2.tar.gz | 84.5 kB | Without provenance | Details for lectural-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lectural-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for lectural-0.1.2-py3-none-any.whl |
Total release size: 130.2 kB
Release files / lectural-0.1.2.tar.gz
| Download URL | lectural-0.1.2.tar.gz |
|---|---|
| Size | 84.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20b978867ae5f860435eabd2d2d68985c5981d10bd67a3c73b49eddfb5630b53
|
|
BLAKE2b-256 checksum How to use checksums |
d0c654f4e3455cca365e18b6155065ab695e82c156a9093abe4feaaf804c8488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / lectural-0.1.2-py3-none-any.whl
| Download URL | lectural-0.1.2-py3-none-any.whl |
|---|---|
| Size | 45.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6ccb015fdebde83c84b462940b4e7be52a183082700a5ab794290ada39c93f9
|
|
BLAKE2b-256 checksum How to use checksums |
19eca48fd40295bec5e39618052aca2b5c3e3e61cb144254fcf62361793d91ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for lectural 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.