CunnyTech/CunnyBot
Archived
1
0
Fork
You've already forked CunnyBot
0
[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%
Find a file
glitchy eb01c55475
Update README
Updated readme to show new logo to match new name
Signed-off-by: glitchy <thepatheticweebgamer@gmail.com>
2022年10月25日 15:21:40 -04:00
.idea Added ai-generated to ignore tags 2022年10月13日 14:53:20 -04:00
assets Update README 2022年10月25日 15:21:40 -04:00
logs ♻️ Completely New Script 2022年10月13日 14:41:34 -04:00
.gitignore Rewrote bot again 2022年03月21日 23:42:40 -04:00
.pre-commit-config.yaml 🔧 Added confirguation files 2022年10月13日 14:48:37 -04:00
app.py 🐛 Add missing log catch 2022年10月25日 15:12:35 -04:00
config.py ♻️ Moved config options 2022年10月19日 16:05:41 -04:00
example.env ♻️ Completely New Script 2022年10月13日 14:41:34 -04:00
LICENSE Initial commit 2019年02月05日 16:52:25 -05:00
poetry.lock ♻️ Completely New Script 2022年10月13日 14:41:34 -04:00
pyproject.toml ♻️ Completely New Script 2022年10月13日 14:41:34 -04:00
README.md Update README 2022年10月25日 15:21:40 -04:00

A Curated Gelbooru to Twitter / Discord Bot

Art by: Arutana

liberapay Discord twitter

AboutFeaturesDevelopmentDeploy

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:

Setup environment:

  • Fill out your own .env file 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