/speak

Select any text and have it read out loud

Primary LanguageShellApache License 2.0Apache-2.0

speak

Select any text and have it read out loud, uses google wavenet api for good quality audio.

install

  1. clone repo
  2. get dependencies
  3. change path to gcp credentials in speak.sh
  4. add keyboard shortcut

dependencies

Install google cloud sdk and enable tts api

sudo apt install xsel jq mpg123 curl

  • xsel to get selected text
  • jq to create json
  • mpg123 to play mp3 audio
  • curl to send request