vaartis in A FUNNY LITTLE CYCLE on Nostr: Good news: I have in fact made a perceptual hash library bindings for elixir years ...
Good news: I have in fact made a perceptual hash library bindings for elixir years ago and they can very easily detect the hash of a spam image and block it.
Not so good news:
1. The library is GPLv3 and pleroma is AGPL, I do not know how compatible this is.
2. The library requires a file on disk, which means you need to have mediaproxy enabled at the very least. And there needs to be a way for it to know where the mediaproxy files are. I haven't figured out a way to do this well. Not sure if it's worth it.
Not so good news:
1. The library is GPLv3 and pleroma is AGPL, I do not know how compatible this is.
2. The library requires a file on disk, which means you need to have mediaproxy enabled at the very least. And there needs to be a way for it to know where the mediaproxy files are. I haven't figured out a way to do this well. Not sure if it's worth it.