Skip to content

yookibooki/voice2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

voice2text

Voice-to-text for Linux via Groq's Whisper API. Records audio on demand, transcribes it, and pastes the result into the active window.

Usage

Press ALT+SPACE (bind this in your window manager) to toggle recording. Transcribed text is pasted via xdotool (Ctrl+Shift+V).

# build
gcc -O3 voice2text.c -o ~/.local/bin/voice2text -lasound -lcurl

# set API key
echo "gsk_..." > ~/.config/voice2text/groq.key

Requirements

  • Linux with ALSA (libasound-dev)
  • libcurl (libcurl4-openssl-dev)
  • xdotool, xclip
  • A Groq API key (free tier available)

Bind ALT+SPACEvoice2text in i3/sway/whatever.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages