awesome-selfhosted.net - a list of Free Software network services and web applications which can be hosted on your own server(s)
m4z @ m4z @lemmy.world Posts 0Comments 3Joined 2 yr. ago
m4z @ m4z @lemmy.world
Posts
0
Comments
3
Joined
2 yr. ago
Couldnt agree more! This is why I decided not to use discussions or issue count since those are GitHub specific. Commit count could be gathered from any platform that uses git.
Im using the GitHub GraphQL API to query all necessary information for 100 repos at a time, including commit count per month. The rate limit for GraphQL is allowing up to 5000 points per hour and on of these queries only costs 1 point. Herre is my code to generate the query: https://github.com/mkitzmann/awwesome/blob/main/src/lib/query.ts
The Informationen is currently just „{month: count,…}“, so should be fairly simple to store in yml. I will create an issue for it.