[中文] Preview: Github | Gitee | UNPKG | Githack | Statically
Github global/Chinese user rankings, global repositories Star rankings, page data generated through Github API v3, ranking preview.
daily
weekly
monthly
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: 2023-10-13 17:57:37
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": "wowohoo@qq.com",
"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"
}
]
# 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
As always, thanks to our amazing contributors!
Made with contributors, automatically generated.
Licensed under the MIT License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。