Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emanuelef/github-repo-activity-stats

Go module to download GitHub repo stats
https://github.com/emanuelef/github-repo-activity-stats

github go statistics

Last synced: about 1 month ago
JSON representation

Go module to download GitHub repo stats

Awesome Lists containing this project

README

        

# 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](#introduction)
- [Getting Started](#getting-started)
- [Features](#features)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## 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:
- [gh-repo-stats-server](https://github.com/emanuelef/gh-repo-stats-server): Get full star history of a repo
- [awesome-go-repo-stats](https://github.com/emanuelef/awesome-go-repo-stats): Stats about repos in [awesome-go](https://github.com/avelino/awesome-go)
- [cncf-repos-stats](https://github.com/emanuelef/cncf-repos-stats): Stats about repo in CNCF

## Getting Started

To get started with this library, follow these steps:

1. Install the library using `go get`:

```bash
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