anuraghazra / anuraghazra/github-readme-stats

Show all time contributed to

Aperta
#2,282 13 commenti 33 reazioni 0 assegnatari Vedi su GitHub
:star: top feature :star: top issue enhancement stats-card upstream
Lingua principale
JavaScript
Stelle
79.8k
Fork
37.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is your feature request related to a problem? Please describe.

The current implementation only shows the repositories a user has contributed to in the last year.

### Describe the solution you'd like

It would be nice to show the contributions a user has contributed to for all years.

### Additional context

This issue follows up on #2269. As explained in https://github.com/anuraghazra/github-readme-stats/issues/2269#issuecomment-1321167681, the current implementation (i.e. only showing the last year) is due to a GraphQL limitation. I created a feature request in https://github.com/orgs/community/discussions/39589 that should allow us to show the total time contributed to stats for the Private Vercel instance and GitHub action. Please show your support there to get this feature implemented 🙏🏻:star_struck:.

### TODOs

- [x] Add a feature request to git https://github.com/community/community/discussions asking for an easy way to retrieve the total repositories a user has contributed to and update the documentation. For example, by adding date selectors (i.e. `from` and `to`) to the `repositoriesContributedTo` object.

**UPDATE:** I just created https://github.com/community/community/discussions/39589.
- [ ] Implement a function that loops through the years and sums the result of `repositoriesContributedTo.totalCount`. Release this feature under an env variable so people can enable it when they deploy their own Vercel instance (see https://github.com/anuraghazra/github-readme-stats/pull/2266 and https://github.com/anuraghazra/github-readme-stats/pull/2159 for an example).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.