Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 16, 2023. It is now read-only.

CLI tool that queries the GitHub GraphQL API for users and ranks them according to number of contributions

License

NotificationsYou must be signed in to change notification settings

lauripiispanen/most-active-github-users-counter

Repository files navigation

Project homepage

Most Active GitHub Users Counter

This CLI tool queries the GitHub GraphQL API for users and ranks them according to number of contributions. Several preset locations are provided.

GitHub Token

In order to make requests against the GitHub API one needs an access token, which can be createdhere. The token needsread:org andread:user permissions.

Example usage (dev environment):

go run *.go \   --token paste-your-token-here \   --preset worldwide \   --amount 500 \   --consider 1000 \   --output csv \   --file ./output.csv

Contribution

Contributions are accepted. Please provide any input as pull request. As a hobby project, my time is limited, but PRs and issues are addressed regularly.

Please use the provided precommit hooks and rungo fmt,go vet andgo lint liberally.

FAQ

Why am I not on this list?

This could be due to a number of things.

  1. Firstly, GitHub API doesn't allow sorting by contributions, so instead it is first sorted by number of followers to get a larger list, which is then sorted by contributions. This means you need a minimum number of followers to be on this list. Each page shows the minimum number of followers needed.

  2. You live in a city which is not included in the query. Unfortunately the query is free-text and not strictly geographical. Rural areas may be excluded from the list, but you can often remedy this by adding the country name to your location in GitHub.

  3. You have mostly private commits. These are included too, but they are not listed on the main country page anymore. Instead you will find a subpage with a list that also has private contributions included. This arrangement is done to favor open source contributions over private contributions.

Why is my contribution count not the same as on my GitHub profile?

Depending on your settings, your GitHub profile displays either only your public contributions or both your public and private ones. commits.top by default shows only public contributions, but public+private count is accessible on a subpage on each region page. You can use theGitHub API GraphQL Explorer and run the following query to see what the API returns for your user:

query {   viewer {     login    contributionsCollection {      restrictedContributionsCount      contributionCalendar {        totalContributions      }    }  }}

About

CLI tool that queries the GitHub GraphQL API for users and ranks them according to number of contributions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp