This Go library provides functionalities to fetch statistics and insights about GitHub repositories. It leverages the GitHub GraphQL API to obtain a wide range of information about a repository, such as stars history, commit data, releases, and more.
Have you ever needed to analyze and gather statistics on GitHub repositories programmatically? This library is designed to help you with just that. It's written in Go and provides convenient functions to obtain various statistics about a GitHub repository.
This can be helpful when analysing a series of repos, it is currently used in:
- gh-repo-stats-server: Get full star history of a repo
- awesome-go-repo-stats: Stats about repos in awesome-go
- cncf-repos-stats: Stats about repo in CNCF
To get started with this library, follow these steps:
-
Install the library using
go get
:go get github.com/emanuelef/repostats
https://all.devstats.cncf.io/d/1/activity-repository-groups?orgId=1
CNCF Stats
https://raw.githubusercontent.com/cncf/devstats/master/projects.yaml
https://blog.palark.com/cncf-cloud-native-projects-usage-stats-2022/ https://gloutnikov.com/post/cncf-language-stats/ https://www.cncf.io/reports/cncf-annual-survey-2022/ https://devstats.cncf.io https://www.cncf.io/projects/
https://star-history.com/#brigadecore/brigade&Date
https://star-history.com/#telepresenceio/telepresence&Date https://star-history.com/#temporalio/temporal&Date
https://github.com/opentofu/opentofu/stargazers
Contributors/Mentionable users
https://stackoverflow.com/questions/46309272/github-graphql-query-for-project-contributors