8000 GitHub - average-bit/yap: 🗣️ A CLI for on-device speech transcription using Speech.framework on macOS 26 · GitHub
[go: up one dir, main page]

Skip to content
average-bitPublic
forked from finnvoor/yap

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

🗣️ yap

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

Demo

Usage

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.
                          To use live microphone input, specify 'mic' as the input file.

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.

Installation

Homebrew

brew install finnvoor/tools/yap

Mint

mint install finnvoor/yap

Examples

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

Transcribe live audio from microphone

yap transcribe mic

This will start transcribing audio from your default microphone. Press Ctrl+C to stop the transcription. You can also specify an output file and other options:

yap transcribe mic --locale "en-US" -o live_transcription.txt

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0