karin-plugin-kkk 0.0.1-security → 0.1.1-0.pr.19.0b542e3

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 (159) hide show
  1. package/CHANGELOG.md +110 -0
  2. package/LICENSE +674 -0
  3. package/README.md +157 -3
  4. package/config/PluginConfigView.yaml +271 -0
  5. package/config/default_config/app.yaml +26 -0
  6. package/config/default_config/bilibili.yaml +38 -0
  7. package/config/default_config/cookies.yaml +8 -0
  8. package/config/default_config/douyin.yaml +35 -0
  9. package/config/default_config/kuaishou.yaml +8 -0
  10. package/config/default_config/pushlist.yaml +29 -0
  11. package/config/default_config/upload.yaml +23 -0
  12. package/lib/apps/admin.d.ts +16 -0
  13. package/lib/apps/admin.js +299 -0
  14. package/lib/apps/help.d.ts +4 -0
  15. package/lib/apps/help.js +114 -0
  16. package/lib/apps/push.d.ts +6 -0
  17. package/lib/apps/push.js +70 -0
  18. package/lib/apps/tools.d.ts +4 -0
  19. package/lib/apps/tools.js +58 -0
  20. package/lib/cli/pr.d.ts +2 -0
  21. package/lib/cli/pr.js +94 -0
  22. package/lib/index.d.ts +1 -0
  23. package/lib/index.js +30 -0
  24. package/lib/module/db/index.d.ts +77 -0
  25. package/lib/module/db/index.js +124 -0
  26. package/lib/module/index.d.ts +2 -0
  27. package/lib/module/index.js +3 -0
  28. package/lib/module/utils/Base.d.ts +93 -0
  29. package/lib/module/utils/Base.js +199 -0
  30. package/lib/module/utils/Common.d.ts +79 -0
  31. package/lib/module/utils/Common.js +240 -0
  32. package/lib/module/utils/Config.d.ts +53 -0
  33. package/lib/module/utils/Config.js +165 -0
  34. package/lib/module/utils/FFmpeg.d.ts +72 -0
  35. package/lib/module/utils/FFmpeg.js +50 -0
  36. package/lib/module/utils/Networks.d.ts +48 -0
  37. package/lib/module/utils/Networks.js +252 -0
  38. package/lib/module/utils/Render.d.ts +8 -0
  39. package/lib/module/utils/Render.js +74 -0
  40. package/lib/module/utils/Version.d.ts +12 -0
  41. package/lib/module/utils/Version.js +21 -0
  42. package/lib/module/utils/index.d.ts +7 -0
  43. package/lib/module/utils/index.js +8 -0
  44. package/lib/platform/bilibili/bilibili.d.ts +53 -0
  45. package/lib/platform/bilibili/bilibili.js +628 -0
  46. package/lib/platform/bilibili/comments.d.ts +1 -0
  47. package/lib/platform/bilibili/comments.js +192 -0
  48. package/lib/platform/bilibili/genParams.d.ts +18 -0
  49. package/lib/platform/bilibili/genParams.js +22 -0
  50. package/lib/platform/bilibili/getData.d.ts +2 -0
  51. package/lib/platform/bilibili/getData.js +108 -0
  52. package/lib/platform/bilibili/getID.d.ts +11 -0
  53. package/lib/platform/bilibili/getID.js +60 -0
  54. package/lib/platform/bilibili/index.d.ts +7 -0
  55. package/lib/platform/bilibili/index.js +8 -0
  56. package/lib/platform/bilibili/login.d.ts +2 -0
  57. package/lib/platform/bilibili/login.js +70 -0
  58. package/lib/platform/bilibili/push.d.ts +81 -0
  59. package/lib/platform/bilibili/push.js +670 -0
  60. package/lib/platform/douyin/comments.d.ts +7 -0
  61. package/lib/platform/douyin/comments.js +216 -0
  62. package/lib/platform/douyin/douyin.d.ts +35 -0
  63. package/lib/platform/douyin/douyin.js +348 -0
  64. package/lib/platform/douyin/getData.d.ts +2 -0
  65. package/lib/platform/douyin/getData.js +70 -0
  66. package/lib/platform/douyin/getID.d.ts +14 -0
  67. package/lib/platform/douyin/getID.js +81 -0
  68. package/lib/platform/douyin/index.d.ts +6 -0
  69. package/lib/platform/douyin/index.js +7 -0
  70. package/lib/platform/douyin/login.d.ts +2 -0
  71. package/lib/platform/douyin/login.js +200 -0
  72. package/lib/platform/douyin/push.d.ts +72 -0
  73. package/lib/platform/douyin/push.js +583 -0
  74. package/lib/platform/index.d.ts +3 -0
  75. package/lib/platform/index.js +4 -0
  76. package/lib/platform/kuaishou/comments.d.ts +7 -0
  77. package/lib/platform/kuaishou/comments.js +125 -0
  78. package/lib/platform/kuaishou/getID.d.ts +12 -0
  79. package/lib/platform/kuaishou/getID.js +29 -0
  80. package/lib/platform/kuaishou/getdata.d.ts +2 -0
  81. package/lib/platform/kuaishou/getdata.js +31 -0
  82. package/lib/platform/kuaishou/index.d.ts +4 -0
  83. package/lib/platform/kuaishou/index.js +5 -0
  84. package/lib/platform/kuaishou/kuaishou.d.ts +10 -0
  85. package/lib/platform/kuaishou/kuaishou.js +40 -0
  86. package/lib/types/config/app.d.ts +19 -0
  87. package/lib/types/config/app.js +2 -0
  88. package/lib/types/config/bilibili.d.ts +32 -0
  89. package/lib/types/config/bilibili.js +2 -0
  90. package/lib/types/config/cookies.d.ts +9 -0
  91. package/lib/types/config/cookies.js +2 -0
  92. package/lib/types/config/douyin.d.ts +30 -0
  93. package/lib/types/config/douyin.js +2 -0
  94. package/lib/types/config/index.d.ts +23 -0
  95. package/lib/types/config/index.js +2 -0
  96. package/lib/types/config/kuaishou.d.ts +9 -0
  97. package/lib/types/config/kuaishou.js +2 -0
  98. package/lib/types/config/pushlist.d.ts +28 -0
  99. package/lib/types/config/pushlist.js +2 -0
  100. package/lib/types/config/upload.d.ts +19 -0
  101. package/lib/types/config/upload.js +2 -0
  102. package/lib/types/datatypes.d.ts +40 -0
  103. package/lib/types/datatypes.js +2 -0
  104. package/lib/types/index.d.ts +4 -0
  105. package/lib/types/index.js +3 -0
  106. package/lib/types/netrorks/NetworksConfigType.d.ts +39 -0
  107. package/lib/types/netrorks/NetworksConfigType.js +2 -0
  108. package/lib/types/netrorks/index.d.ts +1 -0
  109. package/lib/types/netrorks/index.js +2 -0
  110. package/package.json +70 -4
  111. package/resources/font/bilifont/bilifont.1.woff2 +0 -0
  112. package/resources/font/bilifont/bilifont.2.woff2 +0 -0
  113. package/resources/font/bilifont/font.css +17 -0
  114. package/resources/font/font.css +3458 -0
  115. package/resources/image/admin/default.jpg +0 -0
  116. package/resources/image/bilibili/bilibili-dark.png +0 -0
  117. package/resources/image/bilibili/bilibili-light.png +0 -0
  118. package/resources/image/bilibili/bilibili.png +0 -0
  119. package/resources/image/bilibili/id-dark.svg +1 -0
  120. package/resources/image/bilibili/id-light.svg +1 -0
  121. package/resources/image/bilibili/like-dark.svg +6 -0
  122. package/resources/image/bilibili/like-light.svg +6 -0
  123. package/resources/image/bilibili//347/233/264/346/222/255/344/270/255.png +0 -0
  124. package/resources/image/douyin/douyin.png +0 -0
  125. package/resources/image/douyin/dylogo-dark.svg +23 -0
  126. package/resources/image/douyin/dylogo-light.svg +38 -0
  127. package/resources/image/douyin/search-dark.svg +1 -0
  128. package/resources/image/douyin/search-light.svg +3 -0
  129. package/resources/image/douyin//346/212/226/351/237/263-/347/233/264/346/222/255/344/270/255.png +0 -0
  130. package/resources/image/kuaishou/logo.png +0 -0
  131. package/resources/template/admin/css/index.css +134 -0
  132. package/resources/template/admin/html/index.html +425 -0
  133. package/resources/template/bilibili/css/bangumi.css +863 -0
  134. package/resources/template/bilibili/css/comment.css +446 -0
  135. package/resources/template/bilibili/css/dynamic/DYNAMIC_TYPE_DRAW.css +335 -0
  136. package/resources/template/bilibili/css/dynamic/DYNAMIC_TYPE_FORWARD.css +637 -0
  137. package/resources/template/bilibili/css/dynamic/DYNAMIC_TYPE_LIVE_RCMD.css +384 -0
  138. package/resources/template/bilibili/css/dynamic/base.css +329 -0
  139. package/resources/template/bilibili/html/bangumi.html +54 -0
  140. package/resources/template/bilibili/html/comment.html +90 -0
  141. package/resources/template/bilibili/html/dynamic/DYNAMIC_TYPE_AV.html +65 -0
  142. package/resources/template/bilibili/html/dynamic/DYNAMIC_TYPE_DRAW.html +65 -0
  143. package/resources/template/bilibili/html/dynamic/DYNAMIC_TYPE_FORWARD.html +178 -0
  144. package/resources/template/bilibili/html/dynamic/DYNAMIC_TYPE_LIVE_RCMD.html +66 -0
  145. package/resources/template/bilibili/html/dynamic/DYNAMIC_TYPE_WORD.html +62 -0
  146. package/resources/template/douyin/css/base.css +459 -0
  147. package/resources/template/douyin/css/commnet.css +496 -0
  148. package/resources/template/douyin/css/live.css +316 -0
  149. package/resources/template/douyin/html/comment.html +90 -0
  150. package/resources/template/douyin/html/dynamic.html +60 -0
  151. package/resources/template/douyin/html/live.html +63 -0
  152. package/resources/template/douyin/html/musicinfo.html +62 -0
  153. package/resources/template/extend/css/common.css +416 -0
  154. package/resources/template/extend/html/default.html +53 -0
  155. package/resources/template/extend/js/qrcode.min.js +1 -0
  156. package/resources/template/help/css/index.css +106 -0
  157. package/resources/template/help/html/index.html +40 -0
  158. package/resources/template/kuaishou/css/commnet.css +426 -0
  159. package/resources/template/kuaishou/html/comment.html +84 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,110 @@
1
+ # Changelog
2
+
3
+ ## [0.1.9](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.8...v0.1.9) (2025-01-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * support bili2233.cn ([d7828d9](https://github.com/ikenxuan/karin-plugin-kkk/commit/d7828d9c053e926886658cd1f2556f78751371b4))
9
+
10
+ ## [0.1.8](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.7...v0.1.8) (2024-12-22)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 更进上游解析库版本 [#17](https://github.com/ikenxuan/karin-plugin-kkk/issues/17) ([5b307ac](https://github.com/ikenxuan/karin-plugin-kkk/commit/5b307ac7aecf044038b20089a663d83aeb5e1a7c))
16
+
17
+ ## [0.1.7](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.6...v0.1.7) (2024-12-21)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * B站获取评论失败 close: [#15](https://github.com/ikenxuan/karin-plugin-kkk/issues/15) ([8ed05e3](https://github.com/ikenxuan/karin-plugin-kkk/commit/8ed05e3210ccef20c62e1125ad0add053bbd4c0b))
23
+
24
+ ## [0.1.6](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.5...v0.1.6) (2024-12-19)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * 上传群文件没有后缀名。close [#13](https://github.com/ikenxuan/karin-plugin-kkk/issues/13) ([a5a3de1](https://github.com/ikenxuan/karin-plugin-kkk/commit/a5a3de1952cec7c881586d8bb9cdf6a6219f610c))
30
+
31
+ ## [0.1.5](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.4...v0.1.5) (2024-12-07)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * 语法错误 ([97d183a](https://github.com/ikenxuan/karin-plugin-kkk/commit/97d183aa8351c92ba8bdc35812f9dcb061c2cc5e))
37
+
38
+ ## [0.1.4](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.3...v0.1.4) (2024-12-06)
39
+
40
+
41
+ ### Performance Improvements
42
+
43
+ * 优化UI ([c0d032f](https://github.com/ikenxuan/karin-plugin-kkk/commit/c0d032f330bca208a84c0c14973b7d44fa961996))
44
+
45
+ ## [0.1.3](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.2...v0.1.3) (2024-12-04)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * 用错gid了 ([0a4cae1](https://github.com/ikenxuan/karin-plugin-kkk/commit/0a4cae19ecf60b1e1104ad8f68709cd85053e70d))
51
+ * 赋值msgid失败 ([cfb9dd7](https://github.com/ikenxuan/karin-plugin-kkk/commit/cfb9dd76a6a2b8321a61fd43ccd931cb4d1fede5))
52
+
53
+ ## [0.1.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.1...v0.1.2) (2024-12-03)
54
+
55
+
56
+ ### Bug Fixes
57
+
58
+ * eslint ([a9f417f](https://github.com/ikenxuan/karin-plugin-kkk/commit/a9f417fbec4a40e40ca134d01d31bd280ca4bb4f))
59
+ * 初始化playwright ([bdc1646](https://github.com/ikenxuan/karin-plugin-kkk/commit/bdc1646ebfafbf4ddc3b512b639521aab6697d54))
60
+ * 抖音直播推送 ([d051d85](https://github.com/ikenxuan/karin-plugin-kkk/commit/d051d855bc0562e2440a792ca80f6dfd59c9a71d))
61
+ * 抖音直播推送 ([612738b](https://github.com/ikenxuan/karin-plugin-kkk/commit/612738b1039be5da569d4e5e13425776baf9be31))
62
+ * 细节优化 ([a4ae6e1](https://github.com/ikenxuan/karin-plugin-kkk/commit/a4ae6e1ff4fc039b668d1e884e1c81756c7ad7fe))
63
+
64
+ ## [0.1.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v0.1.0...v0.1.1) (2024-11-29)
65
+
66
+
67
+ ### Performance Improvements
68
+
69
+ * 格式化大王 ([699ded0](https://github.com/ikenxuan/karin-plugin-kkk/commit/699ded0ab0afed12bb5546446136018e8817519a))
70
+
71
+ ## 0.1.0 (2024-11-27)
72
+
73
+
74
+ ### Features
75
+
76
+ * B站推送图给UP主添加头像框 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
77
+ * 图片渲染新增添加全局 `浅色` 与 `深色` 模式与开关切换 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
78
+ * 抖音B站推送新增 `banWorks` 与 `banTags`机制 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
79
+ * 新增 `#抖音扫码登录` 仅限Windows系统可用 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
80
+ * 新增上传模块与相关配置文件 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
81
+ * 新增抖音推送图集解析 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
82
+ * 新增抖音直播推送 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
83
+ * 新增视频压缩机制 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
84
+ * 添加 `#抖音/B站全部强制推送` ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
85
+ * 添加数据存储的相关类型声明 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
86
+ * 添加部分debug日志供调试 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
87
+
88
+
89
+ ### Bug Fixes
90
+
91
+ * 使用本地二维码渲染 `qrcode.min.js` 解决部分网络环境下CDN无法正常访问导致的二维码渲染失败的问题 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
92
+ * 修复B站web地址匹配错误 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
93
+ * 修复B站后台幽灵推送 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
94
+ * 修复n个bug ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
95
+ * 修复了B站获取视频大小需要等待视频下载完成的问题 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
96
+ * 修复了所有的类型错误 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
97
+ * 修复抖音合辑解析失败 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
98
+ * 修复抖音直播解析 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
99
+ * 修复评论图中的评论图片渲染失败的问题 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
100
+
101
+
102
+ ### Performance Improvements
103
+
104
+ * 优化了 `#kkk帮助` 、 `#kkk更新日志` 和 `#kkk设置` 的UI ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
105
+ * 优化了所有推送图的UI ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
106
+ * 优化了部分开关判断 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
107
+ * 优化部分提示 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
108
+ * 尽可能导入node原生库 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
109
+ * 解耦解析库,使用回npm进行管理 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))
110
+ * 设置推送的回复信息添加群名字 ([6fa2b44](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fa2b44eda9f04afb1441783ee261aa0673dd746))