Skip to content

[Feature Request] Add organization stats #1

Open

Description

@franky47

Most of my open-source work is moved to dedicated organizations (47ng, FortySevenEffects, Chiffre), for scoping and to avoid cluttering my personal repos.

I'd be happy to contribute a feature to include aggregated organization stats.

API ideas:

![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&orgs=acme,evilcorp,fsociety)

Activity

  1. anuraghazra commented on Jul 9, 2020

    @anuraghazra
    Owner

    @franky47 great idea! okay i will look into it. and try to add org support. meanwhile you can also contribute if you want.

  2. metaskills commented on Jul 11, 2020

    @metaskills
  3. anuraghazra commented on Jul 11, 2020

    @anuraghazra
  4. anuraghazra commented on Jul 11, 2020

    @anuraghazra
  5. metaskills commented on Jul 11, 2020

    @metaskills
  6. anuraghazra commented on Jul 11, 2020

    @anuraghazra
  7. FairyEver commented on Jul 22, 2020

    @FairyEver

    I really hope to have this function, which can count my stars in the organization!

  8. deancn commented on Jul 24, 2020

    @deancn
  9. terror commented on Jul 24, 2020

    @terror
    Contributor

    Hi @deancn, it is because we currently only support stars from repositories you are the owner of. Since many people want this as an enhancement I'm sure we'll be able to implement this soon.

  10. deancn commented on Jul 24, 2020

    @deancn

    @terror got it, thanks.

  11. mainrs commented on Jul 24, 2020

    @mainrs

    Assuming you might be a member of some huge organization (npm, babel, rust). It might make sense to add a filter on top of it to prevent certain organizations from being included. Better than that would be an allowlist that only includes organizations that you explicitly declare:
    https://github-readme-stats.vercel.app/api/?username=SirWindfield?orgs=zors-engine,Spotifyd

  12. daolou commented on Jul 29, 2020

    @daolou

    How long this feature could be used?

  13. 165 remaining items

  14. Fabbzi commented on Jun 20, 2025

    @Fabbzi

    @guillaumearnx In that case, you need to create your own instance since a Personal Access Token needs to be present in the instance. I am happy to help if you run into problems. The following steps should get it working for you:

    1. Fork the https://github.com/anuraghazra/github-readme-stats repository.
    2. Follow the Vercel instance documentation to set up your own Vercel instance.
    3. Clone your fork to your PC git clone <FORK_SSH_URL>.
    4. Create a new branch git checkout -b org-stats.
    5. Add @developStorm remote to your remotes git remote add develop git@github.com:developStorm/github-readme-stats.git.
    6. Fetch the remote git fetch develop
    7. Merge @developStorm changes into your branch git merge develop/master.
    8. Push these changes to your remote git push.
    9. On Vercel you will see that an instance has been deployed for the org-stats branch.
    10. You can use the link that is shown for that deployment to create your cards.

    @rickstaa
    I used these instructions and there were merge conflicts so i just used developStorms files but I just get Invalid upstream response (401) and a broken stats card

  15. added a commit that references this issue on Jun 20, 2025
  16. shimaenaga1123 commented on Jul 3, 2025

    @shimaenaga1123

    May I ask if there is any working method to see organization stats?

  17. alexiam10 commented on Sep 23, 2025

    @alexiam10
  18. UlyssesZh commented on Nov 3, 2025

    @UlyssesZh
    Contributor

    The rate limiting problem can be solved after #4268.

  19. qwerty541 commented on Nov 4, 2025

    @qwerty541
    Collaborator

    May I ask if there is any working method to see organization stats?

    Hello @shimaenaga1123

    At the moment the only available way to include the organization data into your stats card is deploying the following branch #2459 on your own instance https://github.com/anuraghazra/github-readme-stats?tab=readme-ov-file#deploy-on-your-own

  20. dariocurr commented on Dec 5, 2025

    @dariocurr

    Is there any solution working to allow that?

    I tried to merge #2459 but is not working

  21. qwerty541 commented on Dec 7, 2025

    @qwerty541
    Collaborator

    Is there any solution working to allow that?

    I tried to merge #2459 but is not working

    @dariocurr Hello

    To make this work you can deploy the following branch on your own instance #2459 and then add appropriate query string parameters to your card as show at this example #2459 (comment)

  22. dariocurr commented on Dec 8, 2025

    @dariocurr

    Is there any solution working to allow that?
    I tried to merge #2459 but is not working

    @dariocurr Hello

    To make this work you can deploy the following branch on your own instance #2459 and then add appropriate query string parameters to your card as show at this example #2459 (comment)

    unfortunately it's not working, as you can see here @dariocurr (rust & python percentages should have increased a lot)

  23. aligheshlaghi97 commented on Jan 3, 2026

    @aligheshlaghi97

    Hey, huge thanks to this repo for the inspiration! Since aggregating Org (if you're owner) stars wasn't working for me, I built a simple self-hosted workaround for anyone who needs it (requires vercel deployment with your PAT):
    github-stats-aggregator

    • Total Stars & contribution: Sums personal + organization accounts.
    • Star cache: Won't show 0 if the GraphQL don't work.
  24. sskorol commented on Jan 8, 2026

    @sskorol

    Claude was able to figure that out and assist with customization in 30 min. Feel free to build and customize on your own: https://github.com/sskorol/github-readme-stats/tree/feature/org-languages
    Also pushed a docker image here: https://hub.docker.com/r/sskorol/github-readme-stats
    You can build it on your own from here: https://github.com/sskorol/gh-stats
    Now I can finally see the actual language stats, including private org repos.
    Note that you need a classic PAT to make it work.

  25. Laurie-Lin commented on Jan 10, 2026

    @Laurie-Lin

    I'm not sure if this issue that was raised in 2020 is really that hard to implement. Why, after so much discussion, is there still no solution? Everyone has started to fork their own repositories to implement it and submit pr. Is it really that difficult? These are all the functions everyone needs. I spent a lot of time browsing the entire current issue. It's obvious that the problem has been solved. Just merge the PR. Everyone using the main repository can also have this function. There's no need to search for your own implemented version from various comments anymore. Thank you

  26. dariocurr commented on Jan 11, 2026

    @dariocurr

    I ended up developing my solution: https://github.com/dariocurr/github-readme-stats/.
    It counts contributions differently and tracks every contribution to every project.

    Here the changes: master...dariocurr:github-readme-stats:master

  27. Laurie-Lin commented on Jan 12, 2026

    @Laurie-Lin

    I ended up developing my solution: https://github.com/dariocurr/github-readme-stats/. It counts contributions differently and tracks every contribution to every project.

    Here the changes: master...dariocurr:github-readme-stats:master

    Thank you. I'm about to try your version. What parameters should I use to include information such as the organization's star, and what are its rules? For example, if I participate in other people's projects, will those projects be counted as my star? I hope those won't be counted, or is there a parameter switch

  28. rickstaa commented on Jan 12, 2026

    @rickstaa
    Collaborator

    For future reference this feature is already available on https://github.com/stats-organization/github-stats-extended/blob/master/docs/fork.md#aggregate-stats-across-organizations created by @martin-mfg. We are currently working on to get the project mantained again. We did contact @anuraghazra and will try to backport this eventually to this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⭐ top featureTop feature request.⭐ top issueTop issue.enhancementNew feature or request.stats-cardFeature, Enhancement, Fixes related to stats the stats card.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions