@wcj/github-rank 24.4.17 → 24.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -9
- package/dist/repos.json +21499 -21495
- package/dist/trending-daily.json +194 -194
- package/dist/trending-monthly.json +169 -169
- package/dist/trending-weekly.json +177 -177
- package/dist/users.china.json +1640 -1605
- package/dist/users.json +4291 -4291
- package/dist/users.org.json +423 -423
- package/package.json +1 -1
- package/web/CONTRIBUTORS.svg +7 -5
- package/web/data/repos.json +21499 -21495
- package/web/data/trending-daily.json +194 -194
- package/web/data/trending-monthly.json +169 -169
- package/web/data/trending-weekly.json +177 -177
- package/web/data/users.china.json +1640 -1605
- package/web/data/users.json +4291 -4291
- package/web/data/users.org.json +423 -423
- package/web/index.html +14133 -4582
- package/web/org.html +2010 -555
- package/web/repos.html +2773 -2769
- package/web/trending-monthly.html +152 -156
- package/web/trending-weekly.html +157 -161
- package/web/trending.html +167 -175
- package/web/users.china.html +8081 -2075
package/README.md
CHANGED
|
@@ -27,9 +27,9 @@ Released on [`npm`](https://www.npmjs.com/package/@wcj/github-rank) from `April
|
|
|
27
27
|
|
|
28
28
|
Now it can be updated automatically every day, using [GitHub Actions Workflows](https://github.com/actions/starter-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](https://www.npmjs.com/package/@wcj/github-rank) version, really fragrant! !
|
|
29
29
|
|
|
30
|
-
Update date: <!--GAMFC-->2024-04-
|
|
30
|
+
Update date: <!--GAMFC-->2024-04-18 05:58:49<!--GAMFC-END-->
|
|
31
31
|
|
|
32
|
-
## Usage
|
|
32
|
+
## Plug-in Usage
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
npm install @wcj/github-rank --save-dev
|
|
@@ -88,17 +88,28 @@ import users from '@wcj/github-rank';
|
|
|
88
88
|
]
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
##
|
|
91
|
+
## Development
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
$ git clone https://github.com/jaywcjlove/github-rank.git
|
|
95
|
+
$ cd github-rank
|
|
96
|
+
$ npm install # Install dependencies
|
|
97
|
+
$ npm run build # Compilation output script
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Crawlers get data
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
$ npm run get:trending # Get trending data
|
|
104
|
+
$ npm run get:repos # Get repos data
|
|
105
|
+
$ npm run get:users # Get users data
|
|
106
|
+
$ npm run get:users:china # Get users(china) data
|
|
107
|
+
```
|
|
96
108
|
|
|
97
|
-
|
|
98
|
-
npm run get:users:info
|
|
109
|
+
Generate HTML page
|
|
99
110
|
|
|
100
|
-
|
|
101
|
-
npm run
|
|
111
|
+
```bash
|
|
112
|
+
$ npm run start
|
|
102
113
|
```
|
|
103
114
|
|
|
104
115
|
## Contributors
|
|
@@ -108,6 +119,7 @@ As always, thanks to our amazing contributors!
|
|
|
108
119
|
<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT--><a href="https://github.com/jaywcjlove" title="小弟调调"><img src="https://avatars.githubusercontent.com/u/1680273?v=4" width="42;" alt="小弟调调"/></a>
|
|
109
120
|
<a href="https://github.com/renovate-bot" title="Mend Renovate"><img src="https://avatars.githubusercontent.com/u/25180681?v=4" width="42;" alt="Mend Renovate"/></a>
|
|
110
121
|
<a href="https://github.com/leon-kfd" title="Leon-kfd"><img src="https://avatars.githubusercontent.com/u/30256102?v=4" width="42;" alt="Leon-kfd"/></a>
|
|
122
|
+
<a href="https://github.com/372798735" title="mindsets"><img src="https://avatars.githubusercontent.com/u/52733319?v=4" width="42;" alt="mindsets"/></a>
|
|
111
123
|
<a href="https://github.com/antfu" title="Anthony Fu"><img src="https://avatars.githubusercontent.com/u/11247099?v=4" width="42;" alt="Anthony Fu"/></a>
|
|
112
124
|
<a href="https://github.com/FeeiCN" title="Feei"><img src="https://avatars.githubusercontent.com/u/1611552?v=4" width="42;" alt="Feei"/></a>
|
|
113
125
|
<a href="https://github.com/zhenyong" title="ZY"><img src="https://avatars.githubusercontent.com/u/4012276?v=4" width="42;" alt="ZY"/></a>
|