[ARCHIVED DUE TO TWITTER API CHANGES] A Curated Gelbooru to Twitter / Discord Bot
This repository has been archived on 2023年10月29日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- Python 94.7%
- Shell 5.3%
|
glitchy
eb01c55475
Updated readme to show new logo to match new name Signed-off-by: glitchy <thepatheticweebgamer@gmail.com> |
||
|---|---|---|
| .idea | ✨ Added ai-generated to ignore tags | |
| assets | ✨ Update README | |
| logs | ♻️ Completely New Script | |
| .gitignore | Rewrote bot again | |
| .pre-commit-config.yaml | 🔧 Added confirguation files | |
| app.py | 🐛 Add missing log catch | |
| config.py | ♻️ Moved config options | |
| example.env | ♻️ Completely New Script | |
| LICENSE | Initial commit | |
| poetry.lock | ♻️ Completely New Script | |
| pyproject.toml | ♻️ Completely New Script | |
| README.md | ✨ Update README | |
A Curated Gelbooru to Twitter / Discord Bot
Art by: Arutana
About • Features • Development • Deploy
About
This script takes a random image from Gelbooru using curated tags and posts it to Discord / Twitter
Features
- 💀 Overkill
- 🔁 Asyncio
- 🔥 Blazingly FastTM️
- 📝 Pretty logging with Loguru
- ⚙️ Easily editable with simple variable changes
Development
Install Dependencies:
- Python ^3.10
- Poetry
Setup environment:
- Fill out your own
.envfile using example.ev as a reference - Then simply run
poetry install
Deploy
- Follow instructions in development
- Edit config.py with the tags you want to allow or disallow
- On linux do the following
crontab -e
- then paste the following replacing the placeholders
0 * * * * PATH/TO/POETRY/ENV/bin/python /PATH/TO/app.py