@wcj/github-rank 24.4.17 → 24.4.19

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 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-17 05:59:36<!--GAMFC-END-->
30
+ Update date: <!--GAMFC-->2024-04-19 05:59:36<!--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
- ## Crawlers get data
91
+ ## Development
92
92
 
93
93
  ```bash
94
- # Get Github (China/Global) user rankings (Top 900)
95
- npm run get
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
- # Github user acquisition fails in the middle, and then the remaining user information is acquired
98
- npm run get:users:info
109
+ Generate HTML page
99
110
 
100
- # Get Github trend list, Github repository ranking (Top 500) data
101
- npm run get:o
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>