Skip to content

retsplines/asterisk-sounds-bot

Repository files navigation

A silly bot that posts sounds from the Asterisk PBX to the fediverse.

Operation

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.

Complaints

If this bot misbehaves, or otherwise upsets you in some way, please reach out through GitHub Issues.

Licenses

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.

About

A bot that posts random Asterisk sounds to Fedi. https://botsin.space/@asterisksounds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published