https://github.com/knuxify/gelfedi_bot
Mastodon.py bot that posts images from gelbooru to fedi (uses pygelbooru)
https://github.com/knuxify/gelfedi_bot
Last synced: about 1 year ago
JSON representation
Mastodon.py bot that posts images from gelbooru to fedi (uses pygelbooru)
- Host: GitHub
- URL: https://github.com/knuxify/gelfedi_bot
- Owner: knuxify
- License: mit
- Created: 2021-07-11T20:56:17.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T18:05:12.000Z (over 4 years ago)
- Last Synced: 2025-03-28T20:55:24.350Z (about 1 year ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gelfedi_bot
Mastodon.py bot that posts images from gelbooru using pygelbooru
## Features
- Get random post with certain tags
- Exclude specified tags
- Exclude posts on an ID denylist
- Operator can ping the bot and say "delete this" to delete a post and add it to the denylist, and "post now" to force a post
## Setup
1. Copy ``config.json.sample`` to ``config.json`` and modify the settings you need
2. Run the usual [Mastodon.py setup](https://mastodonpy.readthedocs.io/en/stable), replace the ``pytooter_usercred.secret`` with ``usercred.secret``
3. Run ``main.py`` from the bot's directory
``main.py`` loops forever, so there's no need to wrap it in a separate file.