Skip to content

emanuelef/github-repo-activity-stats

Repository files navigation

Go GitHub Repository Stats Library

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.

Table of Contents

Introduction

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:

Getting Started

To get started with this library, follow these steps:

  1. Install the library using go get:

    go get github.com/emanuelef/repostats
    
    

github-repo-activity-stats

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

GH
https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/rate-limits-for-github-apps#user-access-tokens-on-githubcom

https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limits-for-requests-from-github-actions

https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limiting

https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#secondary-rate-limits

https://github.com/opentofu/opentofu/stargazers

https://github.com/trending

Contributors/Mentionable users
https://stackoverflow.com/questions/46309272/github-graphql-query-for-project-contributors