356 B
356 B
Mastodon-Compatible random picture bot
Given account credentials and a directory, will post a picture to that account. Simplest possible thing that works.
Installation
python3 -m venv venv . activate venv pip3 install Mastodon.py
Running
ACCESS_TOKEN="ToKeNHeRe" SERVER=shitposter.world IMAGE_DIR=/pics_dir venv/bin/python3 picbot.py