Giter Site home page Giter Site logo

Comments (20)

anuraghazra avatar anuraghazra commented on May 21, 2024 1

Okay i think it's also fetching the forked repo's stars, will fix it.

EDIT: well that's weird if it was fetching fork repo's stars then i would probably have 500k stars because i have lot of popular repos forked

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

Ahh i see got it. i think it's also fetching the repos you contributed to and counting those stars too.

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

Well yes, after testing it out with the new query, you have total of 1 star @kingthorin

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

Its a new feature, just deployed few mins ago.

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

Yup don't worry I'll fix it but firstly I need to fix 2 things.

#51 (high priority)
#49 (medium priority)

Then this one otherwise it'll make the rating system more biased

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

@elliottzheng Forked and organization stars are not counted as personal star counts. it'll only show stars from repos which you directly own.

related to #1

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024 1

I am still facing the issue. Although I have 8 starred repo, it shows 2

#39 (comment)

As i said in this comment that what github-readme-stats shows is "how many stars you've gained in your repos" and what github shows is "how many repos you've starred" they are not the same.

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024

Those are two different values.

In the first image those are the repos that i starred, and on the second image it count how many stars i gained.

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

Do you mean across a dev's repos? Or is there a way to actually give a github user stars? (That might be a newb question, but I honestly don't see user/account stars functionality anywhere, but could be overlooking it.)

Either way something still seems off. For example for myself it shows 1.4k stars, however, I have like one actual repo with one star and one fork with one star (dunno who would star a fork).

Edit: If I look at https://api.github.com/users/kingthorin/repos I definitely only see 2 stars, not 1.4k:
image

Edit2: Also if you access your repos and filter for stargazers_count there's not 1k:

    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 8,
    "stargazers_count": 35,
    "stargazers_count": 0,
    "stargazers_count": 1,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 6,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 68,
    "stargazers_count": 0,
    "stargazers_count": 2,
    "stargazers_count": 0,
    "stargazers_count": 32,
    "stargazers_count": 0,
    "stargazers_count": 0,
    "stargazers_count": 1,

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

I'll keep poking around and see if I can figure out what's going on.

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024

The updated gql query should be like this to filter only the OWNER repos and also filtering forked repos

repositories(first: 100, ownerAffiliations: OWNER, isFork: false, orderBy: {direction: DESC, field: STARGAZERS}) {
      totalCount
      nodes {
        nameWithOwner
        url
        stargazers {
          totalCount
        }
      }
    }

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

That seems logical.

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

Thanks that makes sense. Sad stat but that's not on you 😉

from github-readme-stats.

anuraghazra avatar anuraghazra commented on May 21, 2024

although you still got S+ rank 😄

I think the ranking algorithm needs to be improved.

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

Well I'm a heavy contributor and just started the single star public repo in the last few months. So it probably makes sense.... I'm also not really a stats junky, I just came across this with the news of profile READMEs 👍 Where do you see the S+ rank you mentioned?

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

So I don't mean to be a pest or anything but do you plan to deploy the fix for this soon'ish? 😀

from github-readme-stats.

kingthorin avatar kingthorin commented on May 21, 2024

Thanks for tackling this!

Edit: Confirming fix deployed 😀
image

from github-readme-stats.

elliottzheng avatar elliottzheng commented on May 21, 2024

I think that's not right, I am the creator and the main contributor to an organization with more than 8k stars, but I have just 51 stars, it makes me feel terrible. Besides, the API didn't count the archived repo, e.g. elliottzheng/copytranslator
ReadMe Card

Elliott Zheng's GitHub stats

ReadMe Card

from github-readme-stats.

sayantani11 avatar sayantani11 commented on May 21, 2024

I am still facing the issue. Although I have 8 starred repo, it shows 2

from github-readme-stats.

yashu1wwww avatar yashu1wwww commented on May 21, 2024

Github Tools:
https://yashawanthtechprojects.on.drv.tw/GitHub/uploaddatefinder.html

from github-readme-stats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.