To install dependencies:
bun installTo run:
bun run index.tsInstall the local whisper.cpp CLI (Homebrew):
brew install whisper-cppThe default small English model is downloaded on first use and cached at
.cache/whispercpp/ggml-small.en.bin. Replace that file (or pass
--whisper-model-path) to use a different model.
Enable transcription with --enable-transcription when running
process-course-video.ts to skip chapters that include "jarvis bad take"
or "bad take jarvis". If the CLI isn't on your PATH, pass
--whisper-binary-path with the full path to whisper-cli.
Customize skip phrases by repeating --whisper-skip-phrase (do not use
comma-separated values because phrases may include commas).
Manual test checklist:
- Run with
--enable-transcriptionand confirm whisper.cpp runs locally. - Verify a chapter containing the phrase is skipped and logged.
- Verify a normal chapter still renders and writes output.
This project was created using bun init in bun v1.3.1. Bun is a fast all-in-one JavaScript runtime.