this post was submitted on 23 Jun 2023
1815 points (96.7% liked)
Lemmy
12524 readers
104 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Maybe I'll work on this. I'm trying to get more involved in lemmy-adjacent dev work, so this might be a fun project.
Well, I dug around and built a pretty simple webassembly GUI for lemmy just now-
It would appear, the API is actually missing easy ways to just... query users, and actions. However, skipping past the lemmy api and going directly to the database, is easy enough.
And, from there, its pretty easy to run each user's post history through say, a piece of ML, which detects the potential for spam, and reports on the highest risk users.
I wonder how hard that would be to throw into a separate service? We could probably set up a replica of the main db to run the ML algo against and ship it as an optional add-on service.
Admins could then set it to update the model on some schedule and to flag likely spammers/scammers.
Sounds feasible.
Querying users, is actually extremely easy.
Query users, posts, and then performing sentiment analysis, is also extremely easy.
(From the database- that is)
The API is a bit limited.
I am messing around with the database right now.... and.. well, it maintains a LOT of data.