A silly bot that posts sounds from the Asterisk PBX to the fediverse.
An AWS Lambda function (src/main.py
) reads the list of available sounds from data/sound-list.txt
, selects one and posts it to Fedi.
The Lambda function is invoked by an hourly Amazon EventBridge schedule.
Configuration for the Lambda function (the S3 bucket location, Mastodon credentials, and other parameters) is supplied via environment variables.
The list of available sounds (data/sound-list.txt
) is committed, and reflects the sounds available in a pre-created S3 bucket. This file and the associated sound files compilation is generated by build-sound-list.sh
.
If this bot misbehaves, or otherwise upsets you in some way, please reach out through GitHub Issues.
The bot source code contained in this repository is hereby released under the MIT license.
The sound files posted by the bot are covered by the Creative Commons Attribution-Share Alike 3.0 license according the the Asterisk documentation.