Skip to content

Fork of Ace Attorney Twitter bot that turns comment chains into ace attorney scenes adapted for Mastodon and with "hate" detection removed

License

Notifications You must be signed in to change notification settings

matrix07012/ace-attorney-mastodon-bot

 
 

Repository files navigation

Ace Attorney Mastodon Bot

Fork of Ace Attorney Twitter bot that turns threads into Ace Attorney scenes, adapted for Mastodon and with "hate" detection removed

Getting Started

Prerequisites

  • Python 3
  • Mastodon account (Pleroma should work, but it's not tested)
  • Ace Attorney data. Download it here and put them in ./assets/

Installing

Clone the repository with submodules

git clone --recursive https://github.com/matrix07012/ace-attorney-mastodon-bot.git

Install dependencies of this repo and the child repo

python -m pip install -r requirements.txt
python -m pip install -r objection_engine/requirements.txt

Copy settings-dummy.py as settings.py and set INSTANCE_URL, LOGIN and PASSWORD in it

Start the project python main.py

Note about Linux systems

In Linux it may be a bit harder to set the enviorenment properly. More specifically it may be hard to install required codecs. If having a codec problem (like "couldn't find codec for id 27") you may need to compile ffmpeg and opencv by yourself. You should be good using these guides (tested on Ubuntu with success and on Debian without success)

Contributing

Since this is a tiny project we don't have strict rules about contributions. Just open a Pull Request to fix any of the project issues or any improvement you have percieved on your own. Any contributions which improve or fix the project will be accepted as long as they don't deviate too much from the project objectives. If you have doubts about whether the PR would be accepted or not you can open an issue before coding to ask for my opinion

About

Fork of Ace Attorney Twitter bot that turns comment chains into ace attorney scenes adapted for Mastodon and with "hate" detection removed

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%