Hi all,

Quiblr now has personalized post feeds for Lemmy!

I haven’t seen a “recommended feed” feature anywhere else in the fediverse but I thought I would take a crack at building it!

My goal was to make a privacy-focused recommendation engine that tailors your experience based on the content you interact with. None of the data leaves your device. You don’t even need to log in for it to work

  • You can turn it off or tune your feed in the settings
  • Each post now also includes a show me more/less button

I would LOVE feedback from folks if you get a chance to try it out!

This was really fun to build so let me know if there are any questions!

PS: Let me know if someone else has built this feature for the fediverse - then I will change the title to not claim “the first” lol

  • Kalcifer@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    86
    arrow-down
    6
    ·
    edit-2
    5 months ago

    Without it being open source and not providing reproducible builds, the privacy claims are borderline weightless.

    • GBU_28@lemm.ee
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      5 months ago

      Agree, but anyone competent could just sniff the traffic. (Or hopefully, lack thereof)

      • Kalcifer@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        For sure. What the aforementioned bits of information provide is the ability to be confident in the privacy of software if one were to treat it as a black box, ie an average consumer.

    • warmaster@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      3
      ·
      5 months ago

      This. For all we know, the app could be doing all kinds of nefarious things and we wouldn’t be able to tell.

      • Kalcifer@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Hm, I feel that it’s inaccurate to say “we wouldn’t be able to tell”. It’s not exactly a black box system — the app would have to run on an operating system, and if you are able to know what the operating system is doing, and what instructions are being executed by the CPU, then you can know exactly what the app is doing.

        What the aforementioned bits of information provide is the ability to treat software as a black box and be sure of its safety without having to fundamentally audit it.

    • Jumuta@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      4 months ago

      even if it’s open source, how would you verify that the instance is running that version of the software?

      • Kalcifer@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Fair point. I believe I was under the impression that this was an app rather than a served webpage. I suppose one can easily verify this by looking at how the “For You” algorithm works within the browser ­— all the code for functionality would be sent to the browser; though, it could potentially be obfuscated, which might be a pain.

  • historypresent@lemm.ee
    link
    fedilink
    English
    arrow-up
    56
    ·
    5 months ago

    Wow. This is pretty impressive since you usually only see these kinds of things from big tech companies and their stuff is definitely NOT privacy friendly.

    Can you provide more detail on how it works and how it is different than what big tech is doing?

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      51
      ·
      edit-2
      5 months ago

      Thanks a bunch! It took me a while to craft the solution to make sure it was both effective + private. I was originally inspired by Canopy. They built a news aggregator with private & personalized posts a few years back and the idea sat in my head.

      To answer your question(s), there are quite a few signals that big tech uses to recommend content. Not all of them are privacy invasive (or at least they don’t HAVE to be). My approach was to do thorough research on the different signals used by big tech to make their recommendation engines, and just build ones that 1.) were possible given fediverse API limitations and 2.) private. I had to craft some novel approaches to make it work but I’m pretty happy with the outcome!

      One of the biggest differences between the “big tech” approach and Quiblr’s is that most big tech does not keep data simply on your device. They store it in datacenters to build large social-webs to essentially cluster users (and push more relevant ads).

      But I was able utilize many of the other signals used by big tech (e.g. communities you engage with, metadata of content you read, dwell time, post/comment/vote activity) and I designed it to work offline with no servers.

      Edit: grammar

  • drspod@lemmy.ml
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    5 months ago

    This is great! Some feedback on UI:

    • The first thing I did was click ⇩ on a post and it prompted me to log-in. This is confusing because I thought I could train the recommender without having to log-in. It took me a minute to find the “Like/Dislike” buttons because they require an extra click to open the post menu. Maybe make the Like/Dislike a bit more prominent and accessible, and find a way to differentiate between the controls for training the recommender and the upvote/downvote actions on the post itself. Or even better, make them the same thing so there’s only one pair of controls and if you’re not logged-in then upvoting just boosts the recommendation but doesn’t actually send the upvote action to the post.
    • Please use actual links (<a href=""></a>) for post navigation so that I can tell my browser to open a link in a new tab. Usually I middle-click to do this (in Firefox) but since the post title and content only respond to javascript events, I can’t middle click to open in a new tab. Clicking the post opens it in the same window.
    • Add text content of posts, or at least a button to expand the text content. Right now text posts are just the post title and I have to click through to read the content.
    • Add alt-text (tooltips) to your buttons. I know what the standard share/bookmark icons look like but it helps to have tooltips to be sure.
    • Add a link to open the original post (on the origin server). Every fediverse UI has this. If you have it too, I couldn’t find it.
    • Allow me to see (and drag) the scrollbar of the main content frame.
    • Add a refresh button (maybe at the top of the feed) so that I can generate more recommended content without having to actually reload the page in the browser.
    • When clicking a community name, I get the community page but I can’t press the back button to go back to the feed.
    • If I “dislike” a post, I don’t expect to see it again after a refresh, or ever.

    Also, it’s a bit late to change it now, but the name is very 2009-internet-startup.

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      5 months ago

      Lots of great feedback. I’ll try to address each:

      • I tried to differentiate voting vs. “like/dislike” for the algorithm as to not confuse users who think they are logged in. I can put more thought into how to make this a bit more intuitive
      • Quiblr is built as a progress web app (PWA) so it uses native app components. The benefit is that it is faster and easier to manage multiple code bases. But the con is that it doesn’t have all the same benefits as HTML. I added an “open posts in new tab” feature in the settings
      • I like the idea of added more body text in the post itself. My fear was that it would make the feed look too crowded, but I can take second look at it
      • I love the tooltips idea
      • The 3 dot ellipses has a Post Detail section for each post. Maybe this could be a good place to add the link back to the original Instance url.
      • I like the scrollbar idea. I think this could make sense as an optional setting because I personally don’t prefer the scroll bar but I want to include it for users who do prefer it
      • I added a refresh button for users using the PWA version (since they don’t have a refresh button in the browser). Maybe something like “pull down to refresh” could work on
      • You should be able to press the “<” back button when viewing a community on mobile or just back in your browser. Both should take you back to your feed. Let me know if it isn’t working as intended
      • I’ll have to see the API allows for removing downvoted items from feeds. I can try to get creative if needed

      Edit: Added tooltips for post buttons + original url on the Post Detail page. I will continue to update this comment as I work through other additions in this list

    • misericordiae@literature.cafe
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 months ago

      I’ll second all of these, especially the lack of scrollbar and “expand text post in feed” button, and the hidden like/dislike buttons. The like/dislike vs upvote/downvote thing is tricky; I don’t have a good solution for it, but maybe different icons that don’t read as up/down would work.

      Also, from a quick poke at things:

      • There doesn’t seem to be a way to switch the “For You” feed away from card view. I think it’s fine if you want to make it a separate view setting from the main page, but I’d like to be able to change it to my view of choice.
      • I’d like to see the post/comment body text tweaked for better readability: higher contrast against the background, a touch more space between lines, and a lighter weight (regular or medium) would all make reading long posts more pleasant, imo.
      • In compact view, if I expand the attached image, there doesn’t seem to be a way to shrink it back down, as clicking again opens the post.
      • When viewing a post, there’s a community sidebar on the right with all the rules and such, but that info is missing from the actual community detail page.
      • The community sidebar on the post page scrolls separately from the rest of the post, which is weird to me on desktop. Giving it an “expand” button might be a good compromise, so you don’t have the weird case of short post/long sidebar unless the user explicitly asks for it.
      • Navigating front page > post page > community detail page, and then hitting back on the browser twice returns me to what the nav bar tells me is the front page, but only that one community’s posts are shown. Refreshing or clicking “front page” fixes this, but it’s a little confusing the first time.
      • Navigating front page > community detail page doesn’t trigger a… page load, I guess? My browser (firefox) doesn’t recognize the community detail page as a separate page, so I can’t hit back to go back to the main feed. Instead, I have to either refresh or click “front page”.

      Overall, though, this is super impressive!

  • Zak@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    5 months ago

    I would LOVE feedback from folks if you get a chance to try it out!

    I have feedback completely unrelated to the recommendation engine: please consider using CSS prefers-color-scheme instead of defaulting to light mode.

  • helenslunch@feddit.nl
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    1
    ·
    5 months ago

    I dunno if this is within your wheelhouse but what I’d really like to see is a manual weighting by community.

    So, for example, if you’re mildly interested in Linux, you can give those communities a 3/10 weight and that way you’d only see the most popular content rather than having it dominate your entire feed.

    And then a gaming community 10/10 weight so you’d see every single post.

    Maybe you can combine the 2 and just make the automatic “for you” weighting visible and manually adjustable.

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      22
      ·
      5 months ago

      Not open source (at least yet). Quiblr has been a side project for me and I’ve never managed an open source project before lol I’m talking with a buddy on how that could work though because he manages a few open source projects

      Also, I added an about page in Settings >> For You >> Learn More

  • SorteKanin@feddit.dk
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    2
    ·
    edit-2
    5 months ago

    It would be best not to direct users to sign up at lemmy.world by default. There’s nothing wrong with lemmy.world, it’s just that I feel it’d be better if users spread out more rather than only amassing in the larger instances.

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      5 months ago

      I used lemmy.world as the default for non-technical users or for folks who can’t decide. Users can still select different instances. Maybe it could make sense to default sign ups to a list of popular instances

  • Diabolo96@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    5 months ago

    Forget about personalisation. That UX work is just 👌👌💯✨

    But I’d definitely would like to know how it works.

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 months ago

      Your comment made me smile! I’ve worked hard to make Quiblr a platform for the fediverse to be clean, modern, and accessible. Basically - remove all the friction that generally comes with fediverse apps

  • XNX@slrpnk.net
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 months ago

    Is it opwn source? Would love to see it on mastodon and other apps

  • riot@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 months ago

    What a super cool idea, and I love the implementation! I do however keep accidentally downvoting, when I want to upvote, and vice versa, since all other sites that I’ve ever used, display the upvote first, and the downvote second. Any chance of a toggle for that in settings?

    A must-have feature for me is the ability to collapse comments on posts. Right now it seems like we can only collapse replies to comments, or put differently, we can only collapse child-comments. Any chance you could make it possible to collapse parent comments too?

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      Thank you so much! And I just made a note on the voting arrow order. I like the idea of making that an option in settings

      And I can look into collapsing parent comments too. As you pointed out, I made it so just child comments collapse. The idea to collapse the parent comment never occurred to me lol

      I’ll see if I can work both of these features into the next release.

      • riot@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        You’re an absolute champ! Wishing you all the best with this project going forward, and I look forward to using it more :)

    • Aurelius@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Just a quick follow up here - I added a simple toggle setting to Quiblr that lets you flip the arrow order.

      Apologies for the slow roll out, I had a big laundry list of updates in this latest release!

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    5 months ago

    Very cool!

    Tesseract just lets you put communities into groups and view those groups as feeds, but it doesn’t do any personalization. AFAIK, you’re the first :)