Github-readme-stats: [New Card] Repository Stats Card

Created on 28 Jul 2020  路  7Comments  路  Source: anuraghazra/github-readme-stats

Is your feature request related to a problem? Please describe.
I'm planning to add a new card which would show stats of specific repository instead of users, that's why i wanted to plan out which stats are going to be included in the repo.
This feature was initially requested by @eddiejaoude on his YT live stream.

Describe the solution you'd like
We would have a different route /api/repo which would render a list of interesting stats same as stat card. i don't wanna add any stats which is already directly or indirectly accessible on the github's UI nor anything which includes any private information.

Additional context
I have some ideas which stats to show in the card

  • A logo of primary language
  • Last commit activity
  • Repo/package size
  • NPM downloads
  • NPM dependents
  • A beautiful line graph of activity history
  • Average response time to the issues? (i have no idea how to do it tho)
  • Most contributors by a country
  • Line of Code (it's easier in single repo)
feature stale

All 7 comments

Sounds good 馃憤 . What about including releases? (total and how long since the last release)

Will use this in every repository of mine

Good idea. I am a bit concerned with the NPM downloadas and dependents. If we support NPM, it should also support other registries like docker hub, pypi, etc.

It is probably easier to get started with _GitHub only_ related stats.

Good idea. I am a bit concerned with the NPM downloadas and dependents. If we support NPM, it should also support other registries like docker hub, pypi, etc.

It is probably easier to get started with _GitHub only_ related stats.

Or probably just Github Registry packages.

@anuraghazra Pin this.

@anuraghazra Are you working on this? I would like to contribute...

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IvanHornung picture IvanHornung  路  3Comments

nathanchu picture nathanchu  路  5Comments

kajweb picture kajweb  路  4Comments

deep5050 picture deep5050  路  3Comments

nathanchu picture nathanchu  路  5Comments