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?

  • @planish
    link
    English
    41 year ago

    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.

    • @PCChipsM922UOP
      link
      English
      3
      edit-2
      1 year ago

      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
        link
        English
        41 year ago

        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.

        • @PCChipsM922UOP
          link
          English
          41 year ago

          Hm, like a hook… should work.

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