|NaiJi 718036bb9e||6 months ago|
|.gitignore||6 months ago|
|LICENSE||6 months ago|
|README.md||6 months ago|
|download.py||6 months ago|
|post-danbooru.py||6 months ago|
|post-local.py||6 months ago|
|requirements.txt||6 months ago|
|tags.dat||6 months ago|
Another bot for posting arts to your timeline.
Currently posting on: https://udongein.xyz/reisen
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).
api_base_url variable in
post-danbooru.py 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
nsfwfolders in the same location with the
download.pyedit global variable
TAGS, write in there 2 tags you need. Now run
tootvariable, write in there a string you want the bot to write with any post. Hastags, for example.
Allows you to repost random arts from danbooru.donmai.us
tags.datfile. 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)