anuraghazra / anuraghazra/github-readme-stats

Show all time contributed to

Abierto
#2,282 13 comentarios 33 reacciones 0 asignados Ver en GitHub
:star: top feature :star: top issue enhancement stats-card upstream
Lenguaje dominante
JavaScript
Estrellas
79.8k
Forks
37.7k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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).

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.