This is a Mastodon bot that posts daily blep images to a Mastodon account. To use this bot:
- Place blep images in a directory named img/
- Place post text to accompany each image in directory txt/ . The post text filename format must be: imagefilename.txt . Example: image file img/mypic.jpg will be posted with text from txt/mypic.jpg.txt
- Place authentication token in file 'token.secret'
- Edit blepbot.py with server name if not using botsin.space
- Edit run_bot.bash to set up your python environment correctly
- Schedule run_bot.bash to run twice a day (no arguments)
For a walkthrough, see this blog post: https://rdbms-insight.com/wp/2023/creating-a-mastodon-bot-in-python/
To get a Mastodon account and/or to get authentication tokens for the account, see this blog post: https://shkspr.mobi/blog/2018/08/easy-guide-to-building-mastodon-bots/