this post was submitted on 20 Aug 2023
6 points (54.2% liked)

Firefox

17301 readers
50 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 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.