Convert text to speech using AWS Polly.
This depends on oto which has some prerequisites.
ALSA is required. On Ubuntu or Debian, run this command:
apt install libasound2-dev
On RedHat-based linux distributions, run:
dnf install alsa-lib-devel
echo "The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom." | ./text2speech -bucket your-s3-bucket
./text2speech -bucket your-s3-bucket -input text
./text2speech -bucket your-s3-bucket -input text -output audio.mp3 # this will only write the file, it will not play it
./text2speech -bucket your-s3-bucket -input text -dashboard
./text2speech -h