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

  • CAPSLOCKFTW@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

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

  • magnetosphere @beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months 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.

    • Yoru@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      11 months 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.

  • humanplayer2@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

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

    • Yoru@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months 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

        • Yoru@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

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

          • humanplayer2@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            10 months 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.