@wcj/github-rank 22.10.23 → 22.10.25

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.
Files changed (40) hide show
  1. package/README.md +2 -2
  2. package/dist/repos.json +27218 -27209
  3. package/dist/trending-daily.json +171 -171
  4. package/dist/trending-monthly.json +153 -153
  5. package/dist/trending-weekly.json +173 -173
  6. package/dist/users.china.json +2933 -3393
  7. package/dist/users.json +2681 -2579
  8. package/package.json +4 -6
  9. package/web/data/repos.json +27218 -27209
  10. package/web/data/trending-daily.json +171 -171
  11. package/web/data/trending-monthly.json +153 -153
  12. package/web/data/trending-weekly.json +173 -173
  13. package/web/data/users.china.json +2933 -3393
  14. package/web/data/users.json +2681 -2579
  15. package/web/index.html +1718 -1724
  16. package/web/repos.html +3363 -3369
  17. package/web/trending-monthly.html +138 -144
  18. package/web/trending-weekly.html +154 -152
  19. package/web/trending.html +146 -156
  20. package/web/users.china.html +2545 -2551
  21. package/dist/36kr.json +0 -6963
  22. package/dist/sifou-daily.json +0 -20
  23. package/dist/sifou-monthly.json +0 -272
  24. package/dist/sifou-weekly.json +0 -272
  25. package/dist/toutiao-30.json +0 -1
  26. package/dist/toutiao-7.json +0 -1
  27. package/dist/toutiao-90.json +0 -1
  28. package/web/data/36kr.json +0 -6963
  29. package/web/data/sifou-daily.json +0 -20
  30. package/web/data/sifou-monthly.json +0 -272
  31. package/web/data/sifou-weekly.json +0 -272
  32. package/web/data/toutiao-30.json +0 -1
  33. package/web/data/toutiao-7.json +0 -1
  34. package/web/data/toutiao-90.json +0 -1
  35. package/web/sifou-daily.html +0 -220
  36. package/web/sifou-monthly.html +0 -1004
  37. package/web/sifou-weekly.html +0 -1004
  38. package/web/toutiao-30.html +0 -171
  39. package/web/toutiao-7.html +0 -171
  40. package/web/toutiao-90.html +0 -171
@@ -1,220 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
- <link rel="icon" type="image/x-icon" href="https://github.githubassets.com/favicon.ico">
8
- <title> Segmentfault 思否热门 </title>
9
- <meta name="description" content="Segmentfault 思否热门">
10
- <style>
11
- [data-color-mode*='dark'] {
12
- --color-fg-default: #c9d1d9;
13
- --color-fg-muted: #8b949e;
14
- --color-fg-subtle: #484f58;
15
- --color-accent-fg: #58a6ff;
16
- --color-accent-emphasis: #1f6feb;
17
- --color-link-hover: #58a6ff;
18
- --color-tab-fg: #494949;
19
- --color-border: #e2e2e2;
20
- --color-neutral-muted: rgba(110,118,129,0.4);
21
- }
22
- [data-color-mode*='light'] {
23
- --color-fg-default: #24292f;
24
- --color-fg-muted: #57606a;
25
- --color-fg-subtle: #6e7781;
26
- --color-accent-fg: #0969da;
27
- --color-accent-emphasis: #0969da;
28
- --color-link-hover: #58a6ff;
29
- --color-tab-fg: #e2e2e2;
30
- --color-border: #000;
31
- --color-neutral-muted: rgba(175,184,193,0.2);
32
- }
33
- </style>
34
- <style>
35
- * { box-sizing: border-box; }
36
- html, body, ul, li, h1 { margin: 0; padding: 0 }
37
- html, body { font-size: 16px; font-family: -apple-system,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei",sans-serif; }
38
- ul { list-style: none; }
39
-
40
- a { color: var(--color-accent-fg); text-decoration: none; transition: all .2s ease-in; }
41
- a:hover { color: var(--color-link-hover); text-decoration: underline; }
42
- a.github-corner:hover .octo-arm { animation: octocat-wave 560ms infinite linear; }
43
- a.github-corner svg { fill: #f1f1f1; color: #000; position: absolute; top: 0; border: 0; right: 0; z-index: 99; width: 70px; height: 70px; }
44
- a.github-corner { position: fixed; z-index: 9999; top: 0; right: 0; }
45
-
46
- .title { padding: 32px 20px 10px 20px; font-size: 32px; display: flex; }
47
- .title a svg { display: block; }
48
- .title a { color: var(--color-accent-fg); display: inline-block; margin-left: 10px; }
49
- .time, .footer { padding: 5px 20px 2px 20px; font-size: 12px; color: #adadad; }
50
- .tabs { padding: 0 20px 5px 20px;}
51
- .tabs a { background: var(--color-tab-fg); display: inline-block; border-radius: 2px; margin: 2px 0; padding: 2px 5px; font-size: 12px; line-height: 16px; color: var(--color-accent-fg); }
52
- .tabs a.active { background: #333; color: #efefef; }
53
- .tabs a:hover:not(.active) { background: #efefef; }
54
- .footer { padding: 0 20px 30px 20px; font-size: 12px; color: #adadad; }
55
- .footer .time { padding: 0; }
56
- .list { text-align: left; padding-bottom: 10px; margin: 0 15px; }
57
- .list img { width: 36px; height: 36px; border-radius: 3px; display: block; margin: 0 auto; background-color: #e2e2e2; border: 0; overflow: hidden; }
58
- .list li { padding: 10px; transition: all .3s; }
59
- .list li.rank-title { margin: 0; padding: 3px 0 0 7px; margin-bottom: 10px; border-radius: 5px; font-size: 12px; line-height: 16px; }
60
- .list li.rank-title > a { margin-right: 10px; }
61
- .list li.rank-title:hover { background: transparent; }
62
- .list li:last-child, .list li.rank-title { border-bottom: 0; }
63
- .list li:hover { background: var(--color-neutral-muted); }
64
- .list li > div { display: table-cell; vertical-align: top; font-size: 14px; }
65
- .list li div.rank span { font-weight: bold; }
66
- .list li div.details { padding: 2px 0 0 0; font-size: 12px; float: left; color: var(--color-fg-muted); }
67
- .list li div.details a { color: #b9b9b9; transition: all .3s; }
68
- .list li div.details a:hover { color: #1600ff; }
69
- .list li div.details a:hover svg { fill: #1600ff; }
70
- .list li div.details * { vertical-align: middle; }
71
- .list li div.details .localtion { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 150px; display: inline-block; height: 14px; }
72
- .list li div.details svg { width: 12px; height: 12px; margin-top: 0; margin-right: 2px; fill: #b9b9b9; display: inline-block; }
73
- .list li > div.info { width: 100%; }
74
- .list li > div.info i { color: #717171; }
75
- .list li > div.info a:hover i { color: #333; }
76
- .list li div.sub-title { color: var(--color-theme-text); margin: 4px 0 0 0; }
77
- .list li div.avatar { padding-right: 10px; }
78
- @keyframes octocat-wave {
79
- 0%,100%{-webkit-transform:rotate(0); transform:rotate(0);}
80
- 20%,60%{-webkit-transform:rotate(-25deg); transform:rotate(-25deg);}
81
- 40%,80%{-webkit-transform:rotate(10deg); transform:rotate(10deg);}
82
- }
83
- @media screen and (max-width: 479px) {
84
- .title { padding-top: 16px; font-size: 21px; }
85
- }
86
- </style>
87
-
88
-
89
- <style>
90
- .list .select .active { color: var(--color-theme-text); font-weight: bold; border-bottom: 1px dotted var(--color-border);}
91
- </style>
92
-
93
-
94
-
95
-
96
- <script src="https://unpkg.com/@wcj/dark-mode"></script>
97
- </head>
98
- <body>
99
- <a href="https://github.com/jaywcjlove/github-rank" target="_blank" class="github-corner">
100
- <svg viewBox="0 0 250 250">
101
- <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
102
- <path class="octo-arm" fill="currentColor" style="transform-origin: 130px 106px;" d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"></path>
103
- <path fill="currentColor" class="octo-body" d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"></path>
104
- </svg>
105
- </a>
106
- <h1 class="title">
107
- <dark-mode permanent></dark-mode>
108
- Segmentfault 思否热门
109
-
110
-
111
-
112
-
113
- <a target="_blank" href="https://segmentfault.com/hottest">
114
- <svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 16 16" version="1.1" aria-hidden="true"><path fill-rule="evenodd" fill="currentColor" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg>
115
- </a>
116
-
117
-
118
- </h1>
119
- <div class="time">Last cache created on 2022/10/23 by
120
-
121
-
122
-
123
-
124
- <a href="https://segmentfault.com/hottest">SegmentFault</a>
125
-
126
- .
127
- </div>
128
- <div class="tabs">
129
- <a class="" href="index.html">Users</a>
130
- <a class="" href="repos.html">Repos</a>
131
- <a class="" href="trending.html">Trending</a>
132
- <a class="active" href="sifou-daily.html">Sifou</a>
133
- <a class="" href="toutiao-7.html">开发头条</a>
134
- </div>
135
- <ul class="list">
136
- <li class="rank-title">
137
- <span class="select">
138
- <a class="active" href="sifou-daily.html">日热门</a>
139
- <a class="" href="sifou-weekly.html">周热门</a>
140
- <a class="" href="sifou-monthly.html">月热门</a>
141
- </span>
142
- </li>
143
-
144
- <li>
145
- <div class="info">
146
- <div class="rank">
147
- <span title="Ranking 1">1</span>
148
- <a href="https://segmentfault.com/a/1190000042669875" target="_blank" title="JAVA内存区域划分">JAVA内存区域划分</a>
149
- </div>
150
- <div class="sub-title followers">
151
-
152
- <span title="Stargazers Count">
153
- <svg width="12" height="12" viewBox="0 0 16 16">
154
- <g fill="none" fill-rule="evenodd">
155
- <path d="M0 0h16v16H0z"/>
156
- <path fill="#9E9E9E" d="M4.234 6.693v7.243H2.881c-.486 0-.881-.492-.881-1.095V7.875c0-.63.412-1.182.88-1.182h1.354zm3.688-3.7C8.01 2.404 8.49 1.99 9.018 2c.754.015 1.204.663 1.36.983.284.585.292 1.549.097 2.167-.177.56-.586 1.296-.586 1.296h3.066c.324 0 .625.164.826.449.204.29.27.668.178 1.011l-1.387 5.183c-.126.499-.544.847-1.016.847H5.53V6.693c1.385-.309 2.236-2.632 2.392-3.7z"/>
157
- </g>
158
- </svg>
159
- <span>1</span>
160
- </span>
161
- &nbsp;
162
- <a target="_blank" href="https://segmentfault.com/u/fu_623f04ad34d53" title="Programming Language">
163
- <span>福</span>
164
- </a>
165
- </div>
166
- <div class="details">
167
- 根据《JAVA虚拟机规范》的规定,JAVA虚拟机在执行JAVA程序的过程中会把内存划分为不同的数据区域。不同类型的数据会存储在不同的区域,理解JAVA内存区域的工作细节对裂解JAVA多线程、线程安全性有着重要意义。
168
- </div>
169
- </div>
170
- </li>
171
-
172
- <li>
173
- <div class="info">
174
- <div class="rank">
175
- <span title="Ranking 2">2</span>
176
- <a href="https://segmentfault.com/a/1190000042669850" target="_blank" title="前端排序简介">前端排序简介</a>
177
- </div>
178
- <div class="sub-title followers">
179
-
180
- <span title="Stargazers Count">
181
- <svg width="12" height="12" viewBox="0 0 16 16">
182
- <g fill="none" fill-rule="evenodd">
183
- <path d="M0 0h16v16H0z"/>
184
- <path fill="#9E9E9E" d="M4.234 6.693v7.243H2.881c-.486 0-.881-.492-.881-1.095V7.875c0-.63.412-1.182.88-1.182h1.354zm3.688-3.7C8.01 2.404 8.49 1.99 9.018 2c.754.015 1.204.663 1.36.983.284.585.292 1.549.097 2.167-.177.56-.586 1.296-.586 1.296h3.066c.324 0 .625.164.826.449.204.29.27.668.178 1.011l-1.387 5.183c-.126.499-.544.847-1.016.847H5.53V6.693c1.385-.309 2.236-2.632 2.392-3.7z"/>
185
- </g>
186
- </svg>
187
- <span>1</span>
188
- </span>
189
- &nbsp;
190
- <a target="_blank" href="https://segmentfault.com/u/thjjames" title="Programming Language">
191
- <span>小皇帝James</span>
192
- </a>
193
- </div>
194
- <div class="details">
195
- 当时觉得自己写的还挺优雅的,后来在某次机缘巧合下看到篇文章,大致意思是通过这种 Math.random 写法的乱序方式是不稳定的,于是我自己尝试统计了下:
196
- </div>
197
- </div>
198
- </li>
199
-
200
- </ul>
201
- <div class="footer">
202
- <div>
203
- <a href="https://github.com/jaywcjlove/github-rank/network" target="_blank">
204
- <img src="https://img.shields.io/github/forks/jaywcjlove/github-rank.svg">
205
- </a>
206
- <a href="https://github.com/jaywcjlove/github-rank/stargazers" target="_blank">
207
- <img src="https://img.shields.io/github/stars/jaywcjlove/github-rank.svg">
208
- </a>
209
- <a href="https://www.npmjs.com/package/@wcj/github-rank" target="_blank">
210
- <img src="https://img.shields.io/npm/v/@wcj/github-rank.svg">
211
- </a>
212
- <a href="https://unpkg.com/@wcj/github-rank/web/index.html" target="_blank">
213
- <img src="https://img.shields.io/npm/v/@wcj/github-rank.svg?label=unpkg">
214
- </a>
215
- </div>
216
- <div class="time">Last cache created on 2022/10/23 by Github API v3.</div>
217
- Create by <a href="https://github.com/jaywcjlove" target="_blank">小弟调调™</a>.
218
- </div>
219
- </body>
220
- </html>