This is the code for the Mastodon bot https://botsin.space/@AudioSweetener
It toots random audio samples from the BBC Sound Effects archive. Until Mastodon supports posting audio files, the bot converts them into a video file with a glitched image.
There's a few files of interest:
- bot.rb is the main code for the bot
- Dockerfile is a docker file that handles dependencies/etc
- build.sh will build a docker image
- run.sh will run the bot