source code is availabe here. I’d appreciate feedbacks!

  • CAPSLOCKFTW
    link
    fedilink
    arrow-up
    51
    ·
    1 year ago

    No offense, but I don’t like this. Not having Karma is one of the main advantages lemmy has. Karma sucks.

    • YoruOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      4
      ·
      1 year ago

      well, it doesn’t have to be called “Karma”, it’s called “Score” in Lemmy’s API. I’m probably going to rename it.

  • magnetosphere @beehaw.org
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    While I appreciate your effort and your generosity, unless I’m involved in a conversation about Buddhism, I would be perfectly happy to never hear the word “karma” again.

    • YoruOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      well, I was going to change its name to score or something anyways bcuz karma belongs to reddit (at least I think so)

  • Hal-5700X@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I don’t see the point of downvoting this. You have to install the extension to see your karma score. So I don’t see what’s the big deal is. Clam down, people.

    EDIT My biggest problem is this add-on needs access your data for all websites. Why not Lemmy sites only?

    • YoruOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      because there are too many lemmeny instances, cannot possibly add them all

  • humanplayer2
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    How do you tally it? I’ve seen lots of discussions about guesses about how the reddit system works.

    • YoruOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I run an API request on loop until there are no posts/comments left. Then I somply add up their score. Sorry for the late response btw

      • humanplayer2
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Ko problem. Ok, so just the sum of all up- and downvotes. No dicounting for viral posts, etc.

        • YoruOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I didn’t really understand but it’s basically (all upvoted) - (all downvotes)

          • humanplayer2
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Ok. Reddit has some really elaborate system where the first upvotes gives 1 karma, then after upvote 500 or something, each only gives 0.5 karma or something, etc.

    • YoruOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Thanks! Lmk if you have any suggestions :D