Skip to content

outp1/whispercpp-voice-memos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

A minimal sh script for dictating short memos:
Records microphone audio using FFmpeg, transcribes to text with Whisper, and optionally inserts the result into your terminal via simulated typing.

Dependencies

  • zsh or bash (change the script)
  • ffmpeg
  • whisper-cli (Whisper.cpp)
  • zenity
  • xclip
  • xdotool

Ensure the Whisper model (ggml-base.bin by default) exists at $HOME/repos/whisper.cpp/models/ or change the $MODEL_PATH variable in the script.

Usage

./dictate-loop.sh

Follow the on-screen prompts to record and handle transcriptions.

I3 Integration

Add this snippet to your i3 config to trigger speech-to-text with Mod+Shift+S using your script.

# Trigger speech-to-text with Mod+Shift+S
bindsym $mod+Shift+s exec --no-startup-id /path/to/dictate-loop.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages