Code for the mastodon bot https://botsin.space/@audiosweetener
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
BBCSoundEffects.csv
Dockerfile
Gemfile
Gemfile.lock
README.md
bot.rb
build.sh
hearts.jpg
image-glitch
run.sh

README.md

Audio Sweetener

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.

What's Here?

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

Thanks Very Much To:

  • The BBC for creating and posting this archive
  • the Data Is Plural mailing list and this tweet which mentioned that there was a CSV of the archive. I'd known about this archive for awhile but didn't realize there was a straightforward way to access a list of all the files.