Skip to content

Organization card

An organization’s own description, and what its public repositories add up to: how many there are, the stars, forks and watchers they hold between them, and how much is open across them. Releases, commits, public members, the most common language and the founding year are there for the asking.

The organization card

?org=vitest-dev&show=releases,commits,top_language
OptionWhat it is
orgThe organization’s login — the name in github.com/<org>
OptionValuesWhat it does
showreleases commits members top_language createdDraw these stats as well
hiderepos stars forks watchers open_issues open_prsLeave these stats out
show_iconstrue falseShow an icon beside each stat (on by default)
hide_descriptiontrue falseLeave the organization’s description out
custom_titleany textReplace the card’s title
hide_titletrue falseDrop the title, its icon and its band
card_widtha numberCard width in pixels
line_heighta numberSpace between the stat rows
text_boldtrue falseBold the values (on by default)
number_formatshort long18.7k or 18724

Plus the common options every card takes, and locale.

Every total but the repository count is summed over the organization’s public, non-fork repositories, and the repository count is those same repositories — a private repository is invisible to the card whether or not the token can see it.

Only the first 500 of them are read, most-starred first. An organization with more gets its summed totals written as 18.7k+: a lower bound, since the repositories past the 500th are the least-starred ones. The repository count is GitHub’s own, so it is never short.

Three of them are worth spelling out:

  • Commits counts the default branch of each repository — every author, merges included, and whatever history a repository was imported with. It is a measure of how much code has moved through the organization, not of who wrote it.
  • Open issues and open PRs are what is open right now, so they move on their own.
  • Members counts the people whose membership the organization shows publicly. Membership is private by default, so it is usually fewer people than the organization has — and 0 for an organization whose members are all private. It is also the one stat a token can be refused: reading it needs the organization Members permission, which a GitHub App installation token does not carry by default. Where the token lacks it the row is left out and the rest of the card still renders, so show=members on such a token draws nothing rather than failing.