Masto mods and admins, please open - new anti-spam tool
Say hello to Ivory, a new anti-spam tool for Mastodon. I've been working on this under wraps for the masto.tech mod team this weekend. This can auto-handle reports for you. Please let me know if you're having troubles setting it up or running it. It's using Selenium (I know, I know) so things will probably break. Still, it's a workable stopgap measure while we await the Moderation API.
@socialskeleton Again, if you need help setting up (not tech savvy or whatever) let me know, I can maybe help you out.
@bclindner It should be able to run with a Xvfb or Xephyr instance and a simple WM like TWM, if you wanted to wrap it in an API on a VPS.
@SuperFloppies Ideally I want to cut Selenium out entirely. It sucks for this. I could probably do this with just an HTML parser and it'd be cleaner to run, if more involved to write and maintain.
@bclindner Probably needs JS too.
I wish I could offer an assist to make a lightweight port but I am really down and sick. I haven’t touched a computer in a couple of days. ☹️
@SuperFloppies I think the moderation part doesn't use React, it's more of a static site, so I think request replaying will work here!
@norm I suppose I should write Windows and Mac install instructions too, huh?
@bclindner I got it to work headlessly in Docker with the `selenium/standalone-firefox` image. So if you're cool taking on a Docker dependency it should work equally fine in Windows/Mac/Linux (and headlessly at that). It may have required a few tweaks to get going (or it was just me not being a Python guy).
I'll see if I can bundle it up into a PR at some point.
@norm Great stuff! Heads up if you're doing a PR, though, I've got a major code restructure coming up that just kinda flattens things until I get my Python code structure shit together. I'm still trying to spin up instances to test that branch.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!