this post was submitted on 13 Jun 2023
23 points (96.0% liked)
sh.itjust.works Main Community
7705 readers
3 users here now
Home of the sh.itjust.works instance.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You might have to do this client side. Hide some data in local storage about what communities to downweight. Then look at the page, find all the posts, pull out the community name and check if it ought to be downweighted. Then do something like hash the title, turn that into a float on 0 to 1, compare with the fraction of posts from the community that you want to see, and if it fails hide the post in CSS.
That's a lot of custom work that has to be redone if the UI changes. It's better if it's implemented in backend, in Lemmy source.
If you have control of your instance's backend, that's definitely the better approach.
Over on AT Protocol they have a system of pluggable algorithms. You can publish info on an "algorithm" to your account's profile, and people can add your algorithm as a feed on their homepage, and then when they request their homepage their home server contacts your server and tells it a bit about them, and you send back a feed of posts.
So people can customize the post selection and share those customizations without the instance/home server admin needing to be in on it.
Hm, like a hook... should work.
Will look into this a bit more. Thanks for the tips 👍.