GitHub – finnvoor/yap: A CLI for on-device speech transcription

3 hours ago 1

A CLI for on-device speech transcription using Speech.framework on macOS 26.

Demo

USAGE: yap transcribe [--locale <locale>] [--censor] <input-file> [--txt] [--srt] [--output-file <output-file>] ARGUMENTS: <input-file> Path to an audio or video file to transcribe. OPTIONS: -l, --locale <locale> (default: current) --censor Replaces certain words and phrases with a redacted form. --txt/--srt Output format for the transcription. (default: --txt) -o, --output-file <output-file> Path to save the transcription output. If not provided, output will be printed to stdout. -h, --help Show help information.
brew install finnvoor/tools/yap
mint install finnvoor/yap

Transcribe a YouTube video using yap and yt-dlp

yt-dlp "https://www.youtube.com/watch?v=ydejkIvyrJA" -x --exec yap

Summarize a video using yap and llm

yap video.mp4 | uvx llm -m mlx-community/Llama-3.2-1B-Instruct-4bit 'Summarize this transcript:'

Create SRT captions for a video

yap video.mp4 --srt -o captions.srt
Read Entire Article