You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix07012 767ec6c194 Handle empty posts 5 months ago
objection_engine@fe9a5da055 Adapted code to use the 2.0 objection engine 5 months ago
video-splitter@eaed7c90d2 Adapted code to use the 2.0 objection engine 5 months ago
.gitattributes Initial commit 9 months ago
.gitignore Revert "Only checks last 30 notifications and saves which are done" 5 months ago
.gitmodules Adapted code to use the 2.0 objection engine 5 months ago
LICENSE Changed to MIT License 8 months ago
README.md Removes mentions from the text 5 months ago
comment_list_brige.py Handle empty posts 5 months ago
main.py Forgot str 5 months ago
requirements.txt Removes mentions from the text 5 months ago
settings-dummy.py Continuing 5 months ago

README.md

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