Skip to content

querkmachine/bat-bot

Repository files navigation

🦇 Mastodon Batbot

Follow @[email protected] on the Fediverse!

A simple bit o' code that uses GitHub Actions to post a random, freely distributable bat picture onto a Mastodon account once an hour.

Bats are neat as heck. After I left Twitter in favour of the fediverse, I missed having accounts like @batshourly to give me frequent infusions of them good, good animals right into my eyeballs... so I made a Mastodon equivalent.

Disclaimers

Licensing: All images are taken from sources that are either public domain, Creative Commons licensed, or use some other free or copyleft license that allows for distribution with attribution.

Scope: I've tried to keep the scope to photographs of actual, living bats. No illustrations, no museum exhibits, no bats that are dead, injured or in distress.

Bat welfare: In cases where a bat is being directly handled by a person, I've done my best to ensure that the people involved are biologists, zoologists, veterinarians, or other professionals likely to know what they're doing (not just random people).

Randomness: Images are selected at random. This means some images may take a long time to be picked and there is a high likeliness of repeats. I couldn't be bothered adding a way of tracking which ones had already been used. Hopefully the size of the dataset makes any repetition not too obvious.

Scheduling: The bot uses GitHub Actions to schedule posts once an hour. Actions, however, is not particularly prompt. It's more like joining the back of a queue once an hour, and the length of that queue could be different on different days and at different times of day. Given this is just a silly bot and I don't want to run my own daemon just for it, the goal is to be roughly every hour, but it's never going to be exact.

Alt text: Manually collating hundreds of bat photographs, names, photographers and licensing information is already time consuming enough. Unfortunately, adding meaningful alt text for every single one of those photos is fairly low on the priority list. GitHub users can contribute alt text by submitting an issue or by clicking the link in the Mastodon post, but until then there's no alt text. It sucks, I know. I'm sorry.

Questions, queries, issues, etc.

If some metadata is incorrect, an image has been included that does not meet the standards set out above, or the imagery isn't licensed in the way I think it is, let me know and I'll remove it.

You can get in touch by: