Posts random arts from its local folder to
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.6 KiB


Another bot for posting arts to your timeline.

Currently posting on:

Initial setup

We support you to create a virtualenv to not pollute your system with modules:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Once it's done, you have to create a file token.dat in put in the account authorization's key. (no instruction given, it changes between your fediverse software).

Edit the api_base_url variable in and sources. It must contain the url of the instance your bot is going to post on.

Allows you to post random arts from your local /sfw and /nsfw folder.

  • Create sfw and nsfw folders in the same location with the script.
  • If you want to download a huge chunk of arts to your folder first, in edit global variable TAGS, write in there 2 tags you need. Now run
  • In edit toot variable, write in there a string you want the bot to write with any post. Hastags, for example.
  • To make a single post, now run

Allows you to repost random arts from

  • Edit tags.dat file. You can look at already defined tags and use it as example
#first line is for tags you want to search the arts with (must be exactly 2)
#second line is for tags you decline from posting completely (as many as you want)
#third line is for tags you want mastodon to mark as sensitive (as many as you want)
  • To make a single post, now run