this post was submitted on 13 Jun 2023
41 points (95.6% liked)

sh.itjust.works Main Community

7718 readers
3 users here now

Home of the sh.itjust.works instance.

Matrix

founded 1 year ago
MODERATORS
 

I wouldn't like to actually block a community all together here, but yeah, I would like to see less posts of that community. Is there a way to do this, either in Jerboa or the web UI?

you are viewing a single comment's thread
view the rest of the comments
[–] planish@sh.itjust.works 4 points 1 year ago (1 children)

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.

[–] PCChipsM922U@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] planish@sh.itjust.works 4 points 1 year ago (1 children)

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.

[–] PCChipsM922U@sh.itjust.works 4 points 1 year ago

Hm, like a hook... should work.

Will look into this a bit more. Thanks for the tips 👍.