sudo apt install xdotool jq curl arecord killall -y
You will need to set up an openAI or Deepgram key and put it in the ~/.ai-token
file
DEEPGRAM_TOKEN=xxxx
OPEN_AI_TOKEN='sk-xxxx'
you will need to select a device to record from, you can find the device name with:
arecord -l
Start the recording:
./voice-typing.sh
Stop the recording writing the text you spoke to your current cursor position:
./voice-typing.sh