Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psycojoker/pokefight
a mastodon bot to generate fights between users
https://github.com/psycojoker/pokefight
Last synced: 14 days ago
JSON representation
a mastodon bot to generate fights between users
- Host: GitHub
- URL: https://github.com/psycojoker/pokefight
- Owner: Psycojoker
- Created: 2018-03-10T04:03:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T05:47:17.000Z (over 6 years ago)
- Last Synced: 2024-08-14T10:14:07.026Z (3 months ago)
- Language: Jupyter Notebook
- Size: 1.27 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![demo.gif](demo.gif)
A stupid bot that generate images like the one above between 2 mastodon users.
# Installation
You need to have virtualenv installed, on debian/ubuntu:
sudo apt-get install python-virtualenv
You also need dependencies to compile the python libs. On debian/ubuntu that looks like this:
sudo apt-get install python-dev python-setuptools libtiff5-dev libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev tcl8.6-dev tk8.6-dev python-tk
And ffmpeg to generate the mp4:
sudo apt-get install ffmpeg
Then:
git clone https://github.com/psycojoker/pokefight
cd pokefight
virtualenv ve
ve/bin/pip install -r requirements.txtThen you need to register the bot on the mastodon by doing (you need an account on a mastodon instance):
ve/bin/python register.py
Then, you can launch the bot with:
ve/bin/python bot.py
There is also a standalone script that more or less work to generate 2 images offline:
ve/bin/python fight.py [email protected] [email protected] "some power"