Github Rank Save

🕷️Github China/Global User Ranking, Global Warehouse Star Ranking (Github Action is automatically updated daily).

Project README

[中文] Preview: Github | Gitee | UNPKG | Githack | Statically

Github Ranking

Buy me a coffee

Github global/Chinese user rankings, global repositories Star rankings, page data generated through Github API v3, ranking preview.

Released on npm from April 20, 2019, the version number is defined by year, month, and day, such as: v19.4.20.

Now it can be updated automatically every day, using GitHub Actions Workflows to trigger the GitHub workflow every day at 00:00 (8:00 am Beijing time) through the timer, automatically crawl the data, submit the generated web page to the gh-pages branch, and Automatically publish npm version, really fragrant! !

Update date: 2024-04-13 17:57:53

Usage

npm install @wcj/github-rank --save-dev

Users can obtain ranking data by importing data, or directly access the user leaderboard through UNPKG.

import users from '@wcj/github-rank';
import repos from '@wcj/github-rank/dist/repos.json';
import trendingDaily from '@wcj/github-rank/dist/trending-daily.json';
import trendingWeekly from '@wcj/github-rank/dist/trending-weekly.json';
import trendingMonthly from '@wcj/github-rank/dist/trending-monthly.json';
import users from '@wcj/github-rank';

// By default users outputs the following data:
[
  {
    "login": "jaywcjlove",
    "id": 1680273,
    "node_id": "MDQ6VXNlcjE2ODAyNzM=",
    "avatar_url": "https://avatars1.githubusercontent.com/u/1680273?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/jaywcjlove",
    "html_url": "https://github.com/jaywcjlove",
    "followers_url": "https://api.github.com/users/jaywcjlove/followers",
    "following_url": "https://api.github.com/users/jaywcjlove/following{/other_user}",
    "gists_url": "https://api.github.com/users/jaywcjlove/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/jaywcjlove/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/jaywcjlove/subscriptions",
    "organizations_url": "https://api.github.com/users/jaywcjlove/orgs",
    "repos_url": "https://api.github.com/users/jaywcjlove/repos",
    "events_url": "https://api.github.com/users/jaywcjlove/events{/privacy}",
    "received_events_url": "https://api.github.com/users/jaywcjlove/received_events",
    "type": "User",
    "site_admin": false,
    "score": 1,
    "rank": 117,
    "name": "小弟调调™",
    "company": "ʕ•̫͡•ʔ-̫͡-ʕ•͓͡•ʔ-̫͡-ʔ",
    "blog": "http://wangchujiang.com",
    "location": "Shanghai, China",
    "email": "[email protected]",
    "hireable": true,
    "bio": "(͡·̮̃·̃) 撸码的乐趣 💯 ,“人没了,™代码还在”",
    "public_repos": 78,
    "public_gists": 1,
    "followers": 2519,
    "following": 91,
    "created_at": "2012-04-26T00:30:25Z",
    "updated_at": "2019-04-12T14:27:54Z"
  }
]

Crawlers get data

# Get Github (China/Global) user rankings (Top 900)
npm run get

# Github user acquisition fails in the middle, and then the remaining user information is acquired
npm run get:users:info

# Get Github trend list, Github repository ranking (Top 500) data
npm run get:o

Contributors

As always, thanks to our amazing contributors!

小弟调调

Mend Renovate Leon-kfd Anthony Fu Feei ZY

Made with contributors, automatically generated.

License

Licensed under the MIT License.

Open Source Agenda is not affiliated with "Github Rank" Project. README Source: jaywcjlove/github-rank
Stars
1,920
Open Issues
12
Last Commit
2 weeks ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating