q78kgblog 1.0.0

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 (231) hide show
  1. package/.github/workflows/HexoSeoAutoPush.yml +36 -0
  2. package/404.html +933 -0
  3. package/BingSiteAuth.xml +4 -0
  4. package/CNAME +1 -0
  5. package/about/index.html +1096 -0
  6. package/archives/2022/06/index.html +942 -0
  7. package/archives/2022/index.html +942 -0
  8. package/archives/2023/02/index.html +942 -0
  9. package/archives/2023/04/index.html +942 -0
  10. package/archives/2023/05/index.html +942 -0
  11. package/archives/2023/08/index.html +942 -0
  12. package/archives/2023/09/index.html +942 -0
  13. package/archives/2023/index.html +942 -0
  14. package/archives/2024/01/index.html +942 -0
  15. package/archives/2024/02/index.html +942 -0
  16. package/archives/2024/index.html +942 -0
  17. package/archives/index.html +942 -0
  18. package/assets/css/APlayer.min.css +3 -0
  19. package/assets/douban-loading.gif +0 -0
  20. package/assets/js/APlayer.min.js +2 -0
  21. package/assets/js/Meting.min.js +1 -0
  22. package/atom.xml +311 -0
  23. package/baidusitemap.xml +43 -0
  24. package/bangumis/index.html +1247 -0
  25. package/bigpie/index.html +714 -0
  26. package/bing.json +1 -0
  27. package/categories/Hello-World/index.html +954 -0
  28. package/categories/Hexo/index.html +954 -0
  29. package/categories/index.html +710 -0
  30. package/categories//345/271/264/347/273/210/346/200/273/347/273/223/index.html +954 -0
  31. package/categories//346/201/260/351/245/255/index.html +954 -0
  32. package/categories//347/264/240/346/235/220/index.html +954 -0
  33. package/categories//351/227/262/350/201/212/346/235/202/350/260/210/index.html +954 -0
  34. package/content.json +1 -0
  35. package/css/404page.css +65 -0
  36. package/css/ariasakablog.css +5632 -0
  37. package/css/commentBarrage.css +111 -0
  38. package/css/danmaku.css +89 -0
  39. package/css/essay.css +306 -0
  40. package/css/iconfont.css +55 -0
  41. package/css/iconfont.ttf +0 -0
  42. package/css/iconfont.woff +0 -0
  43. package/css/iconfont.woff2 +0 -0
  44. package/css/index.css +7006 -0
  45. package/css/people.css +18 -0
  46. package/css/stylessimple.css +40 -0
  47. package/css/swiper.min.css +701 -0
  48. package/css/swiperstyle.css +567 -0
  49. package/css/var.css +0 -0
  50. package/essay/index.html +701 -0
  51. package/favicon.ico +0 -0
  52. package/fcircle/index.html +733 -0
  53. package/fontawesome/index.html +716 -0
  54. package/google.txt +10 -0
  55. package/googlebe706248808ee393.html +1 -0
  56. package/img/144.png +0 -0
  57. package/img/16.png +0 -0
  58. package/img/1666416625095-iPhone X.png +0 -0
  59. package/img/1666416702650-Macbook Pro 2016 (1).png +0 -0
  60. package/img/1666416764216-Nexus 9.png +0 -0
  61. package/img/180.png +0 -0
  62. package/img/192.png +0 -0
  63. package/img/20200904222157.png +0 -0
  64. package/img/20200924153652.png +0 -0
  65. package/img/256.png +0 -0
  66. package/img/36.png +0 -0
  67. package/img/48.png +0 -0
  68. package/img/512.png +0 -0
  69. package/img/72.png +0 -0
  70. package/img/72645310.jpg +0 -0
  71. package/img/8DSTSS20990281646044689944.PNG +0 -0
  72. package/img/96.png +0 -0
  73. package/img/O35HOG22090681654187900371.jpg +0 -0
  74. package/img/a.webp +0 -0
  75. package/img/ad.png +0 -0
  76. package/img/apple-touch-icon.png +0 -0
  77. package/img/avatar.jpg +0 -0
  78. package/img/buYgVO22990681624844309044.jpg +0 -0
  79. package/img/comment.png +0 -0
  80. package/img/favicon.ico +0 -0
  81. package/img/favicon.jpg +0 -0
  82. package/img/friend_404.gif +0 -0
  83. package/img/mqaizf23990681654186719414.jpeg +0 -0
  84. package/img/nyancat.gif +0 -0
  85. package/img/siteshot.png +0 -0
  86. package/img/uTools_1666416859497-iMac.png +0 -0
  87. package/img-col/index.html +802 -0
  88. package/index.html +1056 -0
  89. package/js/aplayersave.js +268 -0
  90. package/js/baiduhistory.js +76 -0
  91. package/js/bbtalk.js +11354 -0
  92. package/js/bbtalklunbo.js +78 -0
  93. package/js/browser.js +35 -0
  94. package/js/calendar.js +380 -0
  95. package/js/cate.js +22 -0
  96. package/js/commentBarrage.js +240 -0
  97. package/js/commentsCount.js +43 -0
  98. package/js/copy.js +23 -0
  99. package/js/countup.js +209 -0
  100. package/js/cursor.js +82 -0
  101. package/js/danmaku.js +106 -0
  102. package/js/day.js +199 -0
  103. package/js/dianzan.js +249 -0
  104. package/js/dis.js +255 -0
  105. package/js/dist/baiduhistory.dev.js +102 -0
  106. package/js/dist/bbtalk.dev.js +12876 -0
  107. package/js/dist/bbtalklunbo.dev.js +45 -0
  108. package/js/dist/calendar.dev.js +395 -0
  109. package/js/dist/fixbugpjax.dev.js +8 -0
  110. package/js/dist/gongnong.dev.js +565 -0
  111. package/js/dist/heimu.dev.js +19 -0
  112. package/js/dist/links.dev.js +13 -0
  113. package/js/dist/main.dev.js +845 -0
  114. package/js/dist/resizeTop.dev.js +50 -0
  115. package/js/dist/seo.dev.js +33 -0
  116. package/js/dist/twikoo.all.min.dev.js +1 -0
  117. package/js/fixbugpjax.js +7 -0
  118. package/js/fixed_card_widget.js +46 -0
  119. package/js/fps.js +58 -0
  120. package/js/gitalker.js +11 -0
  121. package/js/gsap.min.js +11 -0
  122. package/js/heimu.js +16 -0
  123. package/js/hide.show.js +17 -0
  124. package/js/jike.js +121 -0
  125. package/js/jikewater.js +60 -0
  126. package/js/languages.js +511 -0
  127. package/js/latest.js +49 -0
  128. package/js/local-search.js +476 -0
  129. package/js/lunar.js +1071 -0
  130. package/js/lyxTalk.js +12 -0
  131. package/js/main.js +783 -0
  132. package/js/nav.js +30 -0
  133. package/js/noie.js +3 -0
  134. package/js/owo.js +52 -0
  135. package/js/people.js +175 -0
  136. package/js/pikaday.js +109 -0
  137. package/js/random.js +1 -0
  138. package/js/randomFriend.js +95 -0
  139. package/js/resizeTop.js +43 -0
  140. package/js/rightmenu.js +335 -0
  141. package/js/sakura.js +164 -0
  142. package/js/search/algolia.js +155 -0
  143. package/js/search/local-search.js +188 -0
  144. package/js/settings.js +353 -0
  145. package/js/sitetime.js +25 -0
  146. package/js/smooth-scrolling.js +546 -0
  147. package/js/sw-toolbox.js +16 -0
  148. package/js/swiperinit.js +23 -0
  149. package/js/tw_cn.js +100 -0
  150. package/js/twikoo.all.min.js +2 -0
  151. package/js/utils.js +278 -0
  152. package/js/welcome.js +107 -0
  153. package/js/welcomeconsole.js +23 -0
  154. package/links/index.html +842 -0
  155. package/live2d-widget/LICENSE +674 -0
  156. package/live2d-widget/README.md +188 -0
  157. package/live2d-widget/assets/screenshot-1.png +0 -0
  158. package/live2d-widget/assets/screenshot-2.png +0 -0
  159. package/live2d-widget/assets/screenshot-3.png +0 -0
  160. package/live2d-widget/autoload.js +63 -0
  161. package/live2d-widget/demo/demo.html +34 -0
  162. package/live2d-widget/demo/login.html +271 -0
  163. package/live2d-widget/live2d.min.js +1 -0
  164. package/live2d-widget/package.json +31 -0
  165. package/live2d-widget/rollup.config.js +38 -0
  166. package/live2d-widget/src/index.js +178 -0
  167. package/live2d-widget/src/message.js +22 -0
  168. package/live2d-widget/src/model.js +75 -0
  169. package/live2d-widget/src/tools.js +78 -0
  170. package/live2d-widget/src/utils.js +5 -0
  171. package/live2d-widget/src/waifu-tips.js +3 -0
  172. package/live2d-widget/waifu-tips.js +5 -0
  173. package/live2d-widget/waifu-tips.json +255 -0
  174. package/live2d-widget/waifu.css +310 -0
  175. package/manifest.json +1 -0
  176. package/noie.html +69 -0
  177. package/othersite/index.html +779 -0
  178. package/owo.json +1 -0
  179. package/package.json +1 -0
  180. package/people.html +24 -0
  181. package/posts/164ef646/index.html +1027 -0
  182. package/posts/228c2ef8/index.html +1014 -0
  183. package/posts/4a17b156/index.html +1010 -0
  184. package/posts/6f3c565b/index.html +1013 -0
  185. package/posts/7da7c3f6/index.html +1070 -0
  186. package/posts/a9a6c1fb/index.html +1041 -0
  187. package/posts/c262e439/index.html +1002 -0
  188. package/posts/c81531cf/index.html +1080 -0
  189. package/posts/da2093a1/index.html +1022 -0
  190. package/posts/e54f7476/index.html +1052 -0
  191. package/projects.html +424 -0
  192. package/random.html +32 -0
  193. package/robots.txt +17 -0
  194. package/search.xml +309 -0
  195. package/sitemap.txt +62 -0
  196. package/sitemap.xml +488 -0
  197. package/sw.js +190 -0
  198. package/swReg.js +29 -0
  199. package/tags/AI/index.html +955 -0
  200. package/tags/Butterfly/index.html +955 -0
  201. package/tags/Cloudflare/index.html +955 -0
  202. package/tags/DiffSinger/index.html +955 -0
  203. package/tags/Hexo/index.html +955 -0
  204. package/tags/Next/index.html +955 -0
  205. package/tags/RAID/index.html +955 -0
  206. package/tags/VPS/index.html +955 -0
  207. package/tags/Vercel/index.html +955 -0
  208. package/tags/Workers/index.html +955 -0
  209. package/tags/hello-world/index.html +955 -0
  210. package/tags/index.html +710 -0
  211. package/tags//344/270/273/351/242/230/index.html +955 -0
  212. package/tags//344/272/221/346/234/215/345/212/241/345/231/250/index.html +955 -0
  213. package/tags//344/276/277/345/256/234/index.html +955 -0
  214. package/tags//345/206/231/344/275/234/index.html +955 -0
  215. package/tags//345/245/263/346/200/247/346/204/217/350/257/206/index.html +955 -0
  216. package/tags//345/255/246/344/271/240/index.html +955 -0
  217. package/tags//345/256/266/351/207/214/344/272/221/index.html +955 -0
  218. package/tags//345/271/264/347/273/210/346/200/273/347/273/223/index.html +955 -0
  219. package/tags//346/200/247/344/273/267/346/257/224/index.html +955 -0
  220. package/tags//346/212/230/350/205/276/index.html +955 -0
  221. package/tags//346/217/220/344/276/233/345/225/206/index.html +955 -0
  222. package/tags//346/227/245/345/270/270/index.html +955 -0
  223. package/tags//346/234/215/345/212/241/345/231/250/index.html +955 -0
  224. package/tags//346/265/252/346/275/256/index.html +955 -0
  225. package/tags//347/256/200/347/210/261/index.html +955 -0
  226. package/tags//350/207/252/345/212/250/346/240/207/346/263/250/index.html +955 -0
  227. package/tags//350/256/272/346/226/207/index.html +955 -0
  228. package/tags//350/260/267/346/255/214/347/277/273/350/257/221/index.html +955 -0
  229. package/tags//350/264/237/350/275/275/345/235/207/350/241/241/index.html +955 -0
  230. package/tags//351/207/221/345/217/245/index.html +955 -0
  231. package/tags//351/255/224/346/224/271/index.html +955 -0
package/sitemap.xml ADDED
@@ -0,0 +1,488 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
+
4
+ <url>
5
+ <loc>https://anjiurine.top/package.json</loc>
6
+
7
+ <lastmod>2024-03-21</lastmod>
8
+
9
+ <changefreq>monthly</changefreq>
10
+ <priority>0.6</priority>
11
+ </url>
12
+
13
+ <url>
14
+ <loc>https://anjiurine.top/links/index.html</loc>
15
+
16
+ <lastmod>2024-03-20</lastmod>
17
+
18
+ <changefreq>monthly</changefreq>
19
+ <priority>0.6</priority>
20
+ </url>
21
+
22
+ <url>
23
+ <loc>https://anjiurine.top/fcircle/index.html</loc>
24
+
25
+ <lastmod>2024-03-20</lastmod>
26
+
27
+ <changefreq>monthly</changefreq>
28
+ <priority>0.6</priority>
29
+ </url>
30
+
31
+ <url>
32
+ <loc>https://anjiurine.top/posts/228c2ef8/</loc>
33
+
34
+ <lastmod>2024-03-20</lastmod>
35
+
36
+ <changefreq>monthly</changefreq>
37
+ <priority>0.6</priority>
38
+ </url>
39
+
40
+ <url>
41
+ <loc>https://anjiurine.top/posts/da2093a1/</loc>
42
+
43
+ <lastmod>2024-03-20</lastmod>
44
+
45
+ <changefreq>monthly</changefreq>
46
+ <priority>0.6</priority>
47
+ </url>
48
+
49
+ <url>
50
+ <loc>https://anjiurine.top/posts/164ef646/</loc>
51
+
52
+ <lastmod>2024-03-20</lastmod>
53
+
54
+ <changefreq>monthly</changefreq>
55
+ <priority>0.6</priority>
56
+ </url>
57
+
58
+ <url>
59
+ <loc>https://anjiurine.top/posts/4a17b156/</loc>
60
+
61
+ <lastmod>2024-03-20</lastmod>
62
+
63
+ <changefreq>monthly</changefreq>
64
+ <priority>0.6</priority>
65
+ </url>
66
+
67
+ <url>
68
+ <loc>https://anjiurine.top/img-col/index.html</loc>
69
+
70
+ <lastmod>2024-03-20</lastmod>
71
+
72
+ <changefreq>monthly</changefreq>
73
+ <priority>0.6</priority>
74
+ </url>
75
+
76
+ <url>
77
+ <loc>https://anjiurine.top/posts/6f3c565b/</loc>
78
+
79
+ <lastmod>2024-03-20</lastmod>
80
+
81
+ <changefreq>monthly</changefreq>
82
+ <priority>0.6</priority>
83
+ </url>
84
+
85
+ <url>
86
+ <loc>https://anjiurine.top/posts/c81531cf/</loc>
87
+
88
+ <lastmod>2024-03-20</lastmod>
89
+
90
+ <changefreq>monthly</changefreq>
91
+ <priority>0.6</priority>
92
+ </url>
93
+
94
+ <url>
95
+ <loc>https://anjiurine.top/posts/e54f7476/</loc>
96
+
97
+ <lastmod>2024-03-20</lastmod>
98
+
99
+ <changefreq>monthly</changefreq>
100
+ <priority>0.6</priority>
101
+ </url>
102
+
103
+ <url>
104
+ <loc>https://anjiurine.top/posts/a9a6c1fb/</loc>
105
+
106
+ <lastmod>2024-03-20</lastmod>
107
+
108
+ <changefreq>monthly</changefreq>
109
+ <priority>0.6</priority>
110
+ </url>
111
+
112
+ <url>
113
+ <loc>https://anjiurine.top/tags/index.html</loc>
114
+
115
+ <lastmod>2024-03-15</lastmod>
116
+
117
+ <changefreq>monthly</changefreq>
118
+ <priority>0.6</priority>
119
+ </url>
120
+
121
+ <url>
122
+ <loc>https://anjiurine.top/othersite/index.html</loc>
123
+
124
+ <lastmod>2024-03-15</lastmod>
125
+
126
+ <changefreq>monthly</changefreq>
127
+ <priority>0.6</priority>
128
+ </url>
129
+
130
+ <url>
131
+ <loc>https://anjiurine.top/manifest.json</loc>
132
+
133
+ <lastmod>2024-03-15</lastmod>
134
+
135
+ <changefreq>monthly</changefreq>
136
+ <priority>0.6</priority>
137
+ </url>
138
+
139
+ <url>
140
+ <loc>https://anjiurine.top/fontawesome/index.html</loc>
141
+
142
+ <lastmod>2024-03-15</lastmod>
143
+
144
+ <changefreq>monthly</changefreq>
145
+ <priority>0.6</priority>
146
+ </url>
147
+
148
+ <url>
149
+ <loc>https://anjiurine.top/essay/index.html</loc>
150
+
151
+ <lastmod>2024-03-15</lastmod>
152
+
153
+ <changefreq>monthly</changefreq>
154
+ <priority>0.6</priority>
155
+ </url>
156
+
157
+ <url>
158
+ <loc>https://anjiurine.top/bigpie/index.html</loc>
159
+
160
+ <lastmod>2024-03-15</lastmod>
161
+
162
+ <changefreq>monthly</changefreq>
163
+ <priority>0.6</priority>
164
+ </url>
165
+
166
+ <url>
167
+ <loc>https://anjiurine.top/categories/index.html</loc>
168
+
169
+ <lastmod>2024-03-15</lastmod>
170
+
171
+ <changefreq>monthly</changefreq>
172
+ <priority>0.6</priority>
173
+ </url>
174
+
175
+ <url>
176
+ <loc>https://anjiurine.top/bangumis/index.html</loc>
177
+
178
+ <lastmod>2024-03-15</lastmod>
179
+
180
+ <changefreq>monthly</changefreq>
181
+ <priority>0.6</priority>
182
+ </url>
183
+
184
+ <url>
185
+ <loc>https://anjiurine.top/posts/7da7c3f6/</loc>
186
+
187
+ <lastmod>2024-03-15</lastmod>
188
+
189
+ <changefreq>monthly</changefreq>
190
+ <priority>0.6</priority>
191
+ </url>
192
+
193
+ <url>
194
+ <loc>https://anjiurine.top/about/index.html</loc>
195
+
196
+ <lastmod>2024-03-15</lastmod>
197
+
198
+ <changefreq>monthly</changefreq>
199
+ <priority>0.6</priority>
200
+ </url>
201
+
202
+ <url>
203
+ <loc>https://anjiurine.top/posts/c262e439/</loc>
204
+
205
+ <lastmod>2024-03-15</lastmod>
206
+
207
+ <changefreq>monthly</changefreq>
208
+ <priority>0.6</priority>
209
+ </url>
210
+
211
+
212
+ <url>
213
+ <loc>https://anjiurine.top/</loc>
214
+ <lastmod>2024-03-21</lastmod>
215
+ <changefreq>daily</changefreq>
216
+ <priority>1.0</priority>
217
+ </url>
218
+
219
+
220
+ <url>
221
+ <loc>https://anjiurine.top/tags/%E6%97%A5%E5%B8%B8/</loc>
222
+ <lastmod>2024-03-21</lastmod>
223
+ <changefreq>weekly</changefreq>
224
+ <priority>0.2</priority>
225
+ </url>
226
+
227
+ <url>
228
+ <loc>https://anjiurine.top/tags/%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/</loc>
229
+ <lastmod>2024-03-21</lastmod>
230
+ <changefreq>weekly</changefreq>
231
+ <priority>0.2</priority>
232
+ </url>
233
+
234
+ <url>
235
+ <loc>https://anjiurine.top/tags/%E9%AD%94%E6%94%B9/</loc>
236
+ <lastmod>2024-03-21</lastmod>
237
+ <changefreq>weekly</changefreq>
238
+ <priority>0.2</priority>
239
+ </url>
240
+
241
+ <url>
242
+ <loc>https://anjiurine.top/tags/Hexo/</loc>
243
+ <lastmod>2024-03-21</lastmod>
244
+ <changefreq>weekly</changefreq>
245
+ <priority>0.2</priority>
246
+ </url>
247
+
248
+ <url>
249
+ <loc>https://anjiurine.top/tags/%E4%B8%BB%E9%A2%98/</loc>
250
+ <lastmod>2024-03-21</lastmod>
251
+ <changefreq>weekly</changefreq>
252
+ <priority>0.2</priority>
253
+ </url>
254
+
255
+ <url>
256
+ <loc>https://anjiurine.top/tags/Next/</loc>
257
+ <lastmod>2024-03-21</lastmod>
258
+ <changefreq>weekly</changefreq>
259
+ <priority>0.2</priority>
260
+ </url>
261
+
262
+ <url>
263
+ <loc>https://anjiurine.top/tags/Butterfly/</loc>
264
+ <lastmod>2024-03-21</lastmod>
265
+ <changefreq>weekly</changefreq>
266
+ <priority>0.2</priority>
267
+ </url>
268
+
269
+ <url>
270
+ <loc>https://anjiurine.top/tags/%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8/</loc>
271
+ <lastmod>2024-03-21</lastmod>
272
+ <changefreq>weekly</changefreq>
273
+ <priority>0.2</priority>
274
+ </url>
275
+
276
+ <url>
277
+ <loc>https://anjiurine.top/tags/VPS/</loc>
278
+ <lastmod>2024-03-21</lastmod>
279
+ <changefreq>weekly</changefreq>
280
+ <priority>0.2</priority>
281
+ </url>
282
+
283
+ <url>
284
+ <loc>https://anjiurine.top/tags/%E6%8F%90%E4%BE%9B%E5%95%86/</loc>
285
+ <lastmod>2024-03-21</lastmod>
286
+ <changefreq>weekly</changefreq>
287
+ <priority>0.2</priority>
288
+ </url>
289
+
290
+ <url>
291
+ <loc>https://anjiurine.top/tags/%E4%BE%BF%E5%AE%9C/</loc>
292
+ <lastmod>2024-03-21</lastmod>
293
+ <changefreq>weekly</changefreq>
294
+ <priority>0.2</priority>
295
+ </url>
296
+
297
+ <url>
298
+ <loc>https://anjiurine.top/tags/%E6%80%A7%E4%BB%B7%E6%AF%94/</loc>
299
+ <lastmod>2024-03-21</lastmod>
300
+ <changefreq>weekly</changefreq>
301
+ <priority>0.2</priority>
302
+ </url>
303
+
304
+ <url>
305
+ <loc>https://anjiurine.top/tags/hello-world/</loc>
306
+ <lastmod>2024-03-21</lastmod>
307
+ <changefreq>weekly</changefreq>
308
+ <priority>0.2</priority>
309
+ </url>
310
+
311
+ <url>
312
+ <loc>https://anjiurine.top/tags/%E6%B5%AA%E6%BD%AE/</loc>
313
+ <lastmod>2024-03-21</lastmod>
314
+ <changefreq>weekly</changefreq>
315
+ <priority>0.2</priority>
316
+ </url>
317
+
318
+ <url>
319
+ <loc>https://anjiurine.top/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/</loc>
320
+ <lastmod>2024-03-21</lastmod>
321
+ <changefreq>weekly</changefreq>
322
+ <priority>0.2</priority>
323
+ </url>
324
+
325
+ <url>
326
+ <loc>https://anjiurine.top/tags/%E6%8A%98%E8%85%BE/</loc>
327
+ <lastmod>2024-03-21</lastmod>
328
+ <changefreq>weekly</changefreq>
329
+ <priority>0.2</priority>
330
+ </url>
331
+
332
+ <url>
333
+ <loc>https://anjiurine.top/tags/%E5%AE%B6%E9%87%8C%E4%BA%91/</loc>
334
+ <lastmod>2024-03-21</lastmod>
335
+ <changefreq>weekly</changefreq>
336
+ <priority>0.2</priority>
337
+ </url>
338
+
339
+ <url>
340
+ <loc>https://anjiurine.top/tags/RAID/</loc>
341
+ <lastmod>2024-03-21</lastmod>
342
+ <changefreq>weekly</changefreq>
343
+ <priority>0.2</priority>
344
+ </url>
345
+
346
+ <url>
347
+ <loc>https://anjiurine.top/tags/%E7%AE%80%E7%88%B1/</loc>
348
+ <lastmod>2024-03-21</lastmod>
349
+ <changefreq>weekly</changefreq>
350
+ <priority>0.2</priority>
351
+ </url>
352
+
353
+ <url>
354
+ <loc>https://anjiurine.top/tags/%E5%A5%B3%E6%80%A7%E6%84%8F%E8%AF%86/</loc>
355
+ <lastmod>2024-03-21</lastmod>
356
+ <changefreq>weekly</changefreq>
357
+ <priority>0.2</priority>
358
+ </url>
359
+
360
+ <url>
361
+ <loc>https://anjiurine.top/tags/%E8%AE%BA%E6%96%87/</loc>
362
+ <lastmod>2024-03-21</lastmod>
363
+ <changefreq>weekly</changefreq>
364
+ <priority>0.2</priority>
365
+ </url>
366
+
367
+ <url>
368
+ <loc>https://anjiurine.top/tags/%E8%B0%B7%E6%AD%8C%E7%BF%BB%E8%AF%91/</loc>
369
+ <lastmod>2024-03-21</lastmod>
370
+ <changefreq>weekly</changefreq>
371
+ <priority>0.2</priority>
372
+ </url>
373
+
374
+ <url>
375
+ <loc>https://anjiurine.top/tags/%E9%87%91%E5%8F%A5/</loc>
376
+ <lastmod>2024-03-21</lastmod>
377
+ <changefreq>weekly</changefreq>
378
+ <priority>0.2</priority>
379
+ </url>
380
+
381
+ <url>
382
+ <loc>https://anjiurine.top/tags/%E5%86%99%E4%BD%9C/</loc>
383
+ <lastmod>2024-03-21</lastmod>
384
+ <changefreq>weekly</changefreq>
385
+ <priority>0.2</priority>
386
+ </url>
387
+
388
+ <url>
389
+ <loc>https://anjiurine.top/tags/%E5%AD%A6%E4%B9%A0/</loc>
390
+ <lastmod>2024-03-21</lastmod>
391
+ <changefreq>weekly</changefreq>
392
+ <priority>0.2</priority>
393
+ </url>
394
+
395
+ <url>
396
+ <loc>https://anjiurine.top/tags/Cloudflare/</loc>
397
+ <lastmod>2024-03-21</lastmod>
398
+ <changefreq>weekly</changefreq>
399
+ <priority>0.2</priority>
400
+ </url>
401
+
402
+ <url>
403
+ <loc>https://anjiurine.top/tags/Vercel/</loc>
404
+ <lastmod>2024-03-21</lastmod>
405
+ <changefreq>weekly</changefreq>
406
+ <priority>0.2</priority>
407
+ </url>
408
+
409
+ <url>
410
+ <loc>https://anjiurine.top/tags/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</loc>
411
+ <lastmod>2024-03-21</lastmod>
412
+ <changefreq>weekly</changefreq>
413
+ <priority>0.2</priority>
414
+ </url>
415
+
416
+ <url>
417
+ <loc>https://anjiurine.top/tags/Workers/</loc>
418
+ <lastmod>2024-03-21</lastmod>
419
+ <changefreq>weekly</changefreq>
420
+ <priority>0.2</priority>
421
+ </url>
422
+
423
+ <url>
424
+ <loc>https://anjiurine.top/tags/DiffSinger/</loc>
425
+ <lastmod>2024-03-21</lastmod>
426
+ <changefreq>weekly</changefreq>
427
+ <priority>0.2</priority>
428
+ </url>
429
+
430
+ <url>
431
+ <loc>https://anjiurine.top/tags/%E8%87%AA%E5%8A%A8%E6%A0%87%E6%B3%A8/</loc>
432
+ <lastmod>2024-03-21</lastmod>
433
+ <changefreq>weekly</changefreq>
434
+ <priority>0.2</priority>
435
+ </url>
436
+
437
+ <url>
438
+ <loc>https://anjiurine.top/tags/AI/</loc>
439
+ <lastmod>2024-03-21</lastmod>
440
+ <changefreq>weekly</changefreq>
441
+ <priority>0.2</priority>
442
+ </url>
443
+
444
+
445
+
446
+ <url>
447
+ <loc>https://anjiurine.top/categories/%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/</loc>
448
+ <lastmod>2024-03-21</lastmod>
449
+ <changefreq>weekly</changefreq>
450
+ <priority>0.2</priority>
451
+ </url>
452
+
453
+ <url>
454
+ <loc>https://anjiurine.top/categories/Hexo/</loc>
455
+ <lastmod>2024-03-21</lastmod>
456
+ <changefreq>weekly</changefreq>
457
+ <priority>0.2</priority>
458
+ </url>
459
+
460
+ <url>
461
+ <loc>https://anjiurine.top/categories/%E6%81%B0%E9%A5%AD/</loc>
462
+ <lastmod>2024-03-21</lastmod>
463
+ <changefreq>weekly</changefreq>
464
+ <priority>0.2</priority>
465
+ </url>
466
+
467
+ <url>
468
+ <loc>https://anjiurine.top/categories/Hello-World/</loc>
469
+ <lastmod>2024-03-21</lastmod>
470
+ <changefreq>weekly</changefreq>
471
+ <priority>0.2</priority>
472
+ </url>
473
+
474
+ <url>
475
+ <loc>https://anjiurine.top/categories/%E9%97%B2%E8%81%8A%E6%9D%82%E8%B0%88/</loc>
476
+ <lastmod>2024-03-21</lastmod>
477
+ <changefreq>weekly</changefreq>
478
+ <priority>0.2</priority>
479
+ </url>
480
+
481
+ <url>
482
+ <loc>https://anjiurine.top/categories/%E7%B4%A0%E6%9D%90/</loc>
483
+ <lastmod>2024-03-21</lastmod>
484
+ <changefreq>weekly</changefreq>
485
+ <priority>0.2</priority>
486
+ </url>
487
+
488
+ </urlset>
package/sw.js ADDED
@@ -0,0 +1,190 @@
1
+ const CACHE_NAME = 'ICDNCache';
2
+ let cachelist = [];
3
+ self.addEventListener('install', async function (installEvent) {
4
+ self.skipWaiting();
5
+ installEvent.waitUntil(
6
+ caches.open(CACHE_NAME)
7
+ .then(function (cache) {
8
+ console.log('Opened cache');
9
+ return cache.addAll(cachelist);
10
+ })
11
+ );
12
+ });
13
+ self.addEventListener('fetch', async event => {
14
+ try {
15
+ event.respondWith(handle(event.request))
16
+ } catch (msg) {
17
+ event.respondWith(handleerr(event.request, msg))
18
+ }
19
+ });
20
+ const handleerr = async (req, msg) => {
21
+ return new Response(`<h1>CDN分流器遇到了致命错误</h1>
22
+ <b>${msg}</b>`, { headers: { "content-type": "text/html; charset=utf-8" } })
23
+ }
24
+ const lfetch = async (urls, url) => {
25
+ let controller = new AbortController();
26
+ const PauseProgress = async (res) => {
27
+ return new Response(await (res).arrayBuffer(), { status: res.status, headers: res.headers });
28
+ };
29
+ if (!Promise.any) {
30
+ Promise.any = function (promises) {
31
+ return new Promise((resolve, reject) => {
32
+ promises = Array.isArray(promises) ? promises : []
33
+ let len = promises.length
34
+ let errs = []
35
+ if (len === 0) return reject(new AggregateError('All promises were rejected'))
36
+ promises.forEach((promise) => {
37
+ promise.then(value => {
38
+ resolve(value)
39
+ }, err => {
40
+ len--
41
+ errs.push(err)
42
+ if (len === 0) {
43
+ reject(new AggregateError(errs))
44
+ }
45
+ })
46
+ })
47
+ })
48
+ }
49
+ }
50
+ return Promise.any(urls.map(urls => {
51
+ return new Promise((resolve, reject) => {
52
+ fetch(urls, {
53
+ signal: controller.signal
54
+ })
55
+ .then(PauseProgress)
56
+ .then(res => {
57
+ if (res.status == 200) {
58
+ controller.abort();
59
+ resolve(res)
60
+ } else {
61
+ reject(res)
62
+ }
63
+ })
64
+ })
65
+ }))
66
+ }
67
+ self.addEventListener('fetch', async event => {
68
+ try{
69
+ event.respondWith(handle(event.request))
70
+ }catch(err){
71
+ if(fullpath(urlPath).indexOf(".html")!=-1){
72
+ event.respondWith(fetch("/404.html"))
73
+ }
74
+ }
75
+ });
76
+ const fullpath = (path) => {
77
+ path = path.split('?')[0].split('#')[0]
78
+ if (path.match(/\/$/)) {
79
+ path += 'index'
80
+ }
81
+ if (!path.match(/\.[a-zA-Z]+$/)) {
82
+ path += '.html'
83
+ }
84
+ return path
85
+ }
86
+ const generate_blog_urls = (packagename, blogversion, path) => {
87
+ const npmmirror = [
88
+ // `https://unpkg.zhimg.com/${packagename}@${blogversion}`,
89
+ // `https://npm.elemecdn.com/${packagename}@${blogversion}`,
90
+ // `https://cdn1.tianli0.top/npm/${packagename}@${blogversion}`,
91
+ // `https://cdn.afdelivr.top/npm/${packagename}@${blogversion}`,
92
+ //`https://ariasakablog.s3.ladydaily.com`,
93
+ `https://registry.npmmirror.com/${packagename}/${blogversion}/files`
94
+ ]
95
+ for (var i in npmmirror) {
96
+ npmmirror[i] += path
97
+ }
98
+ return npmmirror
99
+ }
100
+ const mirror = [
101
+ // `https://registry.npmmirror.com/ariasakablog/latest`,
102
+ // `https://registry.npmjs.org/ariasakablog/latest`,
103
+ // `https://mirrors.cloud.tencent.com/npm/ariasakablog/latest`
104
+ ]
105
+ const get_newest_version = async (mirror) => {
106
+ return lfetch(mirror, mirror[0])
107
+ .then(res => res.json())
108
+ .then(res.version)
109
+ }
110
+ self.db = { //全局定义db,只要read和write,看不懂可以略过
111
+ read: (key, config) => {
112
+ if (!config) { config = { type: "text" } }
113
+ return new Promise((resolve, reject) => {
114
+ caches.open(CACHE_NAME).then(cache => {
115
+ cache.match(new Request(`https://LOCALCACHE/${encodeURIComponent(key)}`)).then(function (res) {
116
+ if (!res) resolve(null)
117
+ res.text().then(text => resolve(text))
118
+ }).catch(() => {
119
+ resolve(null)
120
+ })
121
+ })
122
+ })
123
+ },
124
+ write: (key, value) => {
125
+ return new Promise((resolve, reject) => {
126
+ caches.open(CACHE_NAME).then(function (cache) {
127
+ cache.put(new Request(`https://LOCALCACHE/${encodeURIComponent(key)}`), new Response(value));
128
+ resolve()
129
+ }).catch(() => {
130
+ reject()
131
+ })
132
+ })
133
+ }
134
+ }
135
+
136
+ const set_newest_version = async (mirror) => { //改为最新版本写入数据库
137
+ return lfetch(mirror, mirror[0])
138
+ .then(res => res.json()) //JSON Parse
139
+ .then(async res => {
140
+ await db.write('blog_version', res.version) //写入
141
+ return;
142
+ })
143
+ }
144
+
145
+ setInterval(async() => {
146
+ await set_newest_version(mirror) //定时更新,一分钟一次
147
+ }, 60*1000);
148
+
149
+ setTimeout(async() => {
150
+ await set_newest_version(mirror)//打开五秒后更新,避免堵塞
151
+ },5000)
152
+ function getFileType(fileName) {
153
+ suffix=fileName.split('.')[fileName.split('.').length-1]
154
+ if(suffix=="html"||suffix=="htm") {
155
+ return 'text/html';
156
+ }
157
+ if(suffix=="js") {
158
+ return 'text/javascript';
159
+ }
160
+ if(suffix=="css") {
161
+ return 'text/css';
162
+ }
163
+ if(suffix=="jpg"||suffix=="jpeg") {
164
+ return 'image/jpeg';
165
+ }
166
+ if(suffix=="ico") {
167
+ return 'image/x-icon';
168
+ }
169
+ if(suffix=="png") {
170
+ return 'image/png';
171
+ }
172
+ return 'text/plain';
173
+ }
174
+ const handle = async(req)=>{
175
+ const urlStr = req.url
176
+ const urlObj = new URL(urlStr);
177
+ const urlPath = urlObj.pathname;
178
+ const domain = urlObj.hostname;
179
+ //从这里开始
180
+ lxs=[]
181
+ if(domain === "anjiurine.top"){//这里写你需要拦截的域名
182
+ var l=lfetch(generate_blog_urls('q78kgblog',await db.read('blog_version') || '1.0.0',fullpath(urlPath)))
183
+ return l
184
+ .then(res=>res.arrayBuffer())
185
+ .then(buffer=>new Response(buffer,{headers:{"Content-Type":`${getFileType(fullpath(urlPath).split("/")[fullpath(urlPath).split("/").length-1].split("\\")[fullpath(urlPath).split("/")[fullpath(urlPath).split("/").length-1].split("\\").length-1])};charset=utf-8`}}));//重新定义header
186
+ }
187
+ else{
188
+ return fetch(req);
189
+ }
190
+ }
package/swReg.js ADDED
@@ -0,0 +1,29 @@
1
+ (async () => {//使用匿名函数确保body已载入
2
+ /*
3
+ ChenBlogHelper_Set 存储在LocalStorage中,用于指示sw安装状态
4
+ 0 或不存在 未安装
5
+ 1 已打断
6
+ 2 已安装
7
+ 3 已激活,并且已缓存必要的文件(此处未写出,无需理会)
8
+ */
9
+ const $ = document.querySelector.bind(document);//语法糖
10
+ if ('serviceWorker' in navigator) { //如果支持sw
11
+ if (Number(window.localStorage.getItem('ChenBlogHelper_Set')) < 1) {
12
+ window.localStorage.setItem('ChenBlogHelper_Set', 1)
13
+ window.stop()
14
+ document.innerHTML=""
15
+ }
16
+ navigator.serviceWorker.register(`/sw.js?time=${Math.ceil(Math.random()*10000000000000000000)}`)//随机数,强制更新
17
+ .then(async () => {
18
+ if (Number(window.localStorage.getItem('ChenBlogHelper_Set')) < 2) {
19
+ setTimeout(() => {
20
+ window.localStorage.setItem('ChenBlogHelper_Set', 2)
21
+ //window.location.search = `?time=${ranN(1, 88888888888888888888)}` //已弃用,在等待500ms安装成功后直接刷新没有问题
22
+ window.location.reload()//刷新,以载入sw
23
+ }, 500)//安装后等待500ms使其激活
24
+ }
25
+ })
26
+ .catch(err => console.error(`ChenBlogHelperError:${err}`))
27
+ }
28
+
29
+ })()