A simple cron-job based hourly images bot for Mastodon with new image priority and pool reshuffling

Files
README.md

Config: #

You are required to have these ENV vars set:

  • INSTANCE=example.com
  • NAME=ExampleBot
  • AUTH=auth-token
  • POSTTEXT="Hey look at this cool example bot post!"

If your bot is named "ExampleBot" it will read images from ./ExampleBot/new ./ExampleBot/unused and ./ExampleBot/used, while logging to ./ExampleBot_entries.log upon posting successfully.

This layout allows you to use the bot.sh script in your crontab to feed multiple bots from a single clone of this repo, just by altering the present env vars