badges / badges/shields

Badge Request: Total commits of GitHub user

Open
#11,130 1 comment 0 reactions 0 assignees View on GitHub
service-badge
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

### 📋 Description

New badge for GitHub:
- It should display the amount of total commits of the 200 most starred repos of the given user / org.
- Required parameter: a GitHub user or org
- Optional parameter: affiliations (OWNER,COLLABORATOR,ORGANIZATION_MEMBER)
- Similar to the [GitHub User's stars](https://shields.io/badges/git-hub-users-stars) badge

### 🔗 Data

Maybe [REST API endpoints for commits](https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-commits) can be used to count the commits of a repo.

### 🎤 Motivation

It could be used in profile README files to display stats of a user.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the existing GitHub User's stars badge with the REST API's list-commits endpoint. Trace how the badge accepts a GitHub user or organization and optional affiliations, then define completion as displaying the total commits across that user's 200 most-starred repositories.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.