karin-plugin-kkk 2.20.3 → 2.21.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,57 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [2.21.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.21.0...v2.21.1) (2026-03-02)
6
+
7
+
8
+ ### 🐛 错误修复
9
+
10
+ * 在线图片的上传方式配置 ([5d80aa5](https://github.com/ikenxuan/karin-plugin-kkk/commit/5d80aa571095e3851daa7120c724b75b38df83e7))
11
+
12
+ ## [2.21.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.20.3...v2.21.0) (2026-03-02)
13
+
14
+
15
+ ### ✨ 新功能
16
+
17
+ * (core): 新增配置支持将网络图片由插件进行下载发送(默认关闭),可避免上游下载图片超时导致的发送失败而抛出错误 ([d30ee88](https://github.com/ikenxuan/karin-plugin-kkk/commit/d30ee88f60af299802208bdc422116d42190cafc))
18
+ * **bilibili:** B站评论图片收集 ([10ceed0](https://github.com/ikenxuan/karin-plugin-kkk/commit/10ceed0f711fdb46b2c408eaddbdc1283413c4b0))
19
+
20
+
21
+ ### 🐛 错误修复
22
+
23
+ * **bilibili:** 修复专栏链接带查询参数时解析失败 ([fd24333](https://github.com/ikenxuan/karin-plugin-kkk/commit/fd243338c0d4f6e8a6b3abce8a766854049f01c0))
24
+ * **bilibili:** 动态解析只有图文/纯图和视频动态才能解析评论的问题 ([e557f13](https://github.com/ikenxuan/karin-plugin-kkk/commit/e557f1384b6ed9cb108d366c3de79412a6ba6183))
25
+ * web.config ([c6dcb5c](https://github.com/ikenxuan/karin-plugin-kkk/commit/c6dcb5c185eb580d7fefda8dd2c70e951df73923))
26
+ * web.config 重复的 key ([b606a3f](https://github.com/ikenxuan/karin-plugin-kkk/commit/b606a3f9280144084564e2d8c6cd757cb3dd7824))
27
+ * 兼容性提高 ([c28dd31](https://github.com/ikenxuan/karin-plugin-kkk/commit/c28dd3126a45c5105dbb56735183f325b0a750f4))
28
+
29
+
30
+ ### 💄 UI 优化
31
+
32
+ * **bilibili:** 优化评论图片显示 ([227a7a9](https://github.com/ikenxuan/karin-plugin-kkk/commit/227a7a94a38f84242bbf33519daf9cfb2fb14deb))
33
+ * 优化更新日志提示的说明 ([d1d0a65](https://github.com/ikenxuan/karin-plugin-kkk/commit/d1d0a65d5a34a8a4ed30df3b97fd1e8630a3aa4a))
34
+
35
+
36
+ ### ♻️ 代码重构
37
+
38
+ * **core:** 替换 native 图片处理库为纯 JS 实现 ([c38b422](https://github.com/ikenxuan/karin-plugin-kkk/commit/c38b422a8466e73c75bfceaea7099da8fc2073f6))
39
+ * web.config 尝试使用一套数据源 ([#258](https://github.com/ikenxuan/karin-plugin-kkk/issues/258)) ([da5f65b](https://github.com/ikenxuan/karin-plugin-kkk/commit/da5f65b4bff21137143cc753c6334e1890181b39))
40
+
41
+
42
+ ### 📦 依赖更新
43
+
44
+ * update ([4019070](https://github.com/ikenxuan/karin-plugin-kkk/commit/401907079b797d88feceb052338b297b66cb393a))
45
+
46
+
47
+ ### ⚙️ 配置变更
48
+
49
+ * 各平台的解析提示迁移到 '插件应用相关' 类目中 ([9fc38ee](https://github.com/ikenxuan/karin-plugin-kkk/commit/9fc38ee2c149dbf981ecc72925380b57999db05a))
50
+
51
+
52
+ ### 💯 细节优化
53
+
54
+ * 提高对二维码识别的成功率 ([2f19165](https://github.com/ikenxuan/karin-plugin-kkk/commit/2f191654b086add48245a687007d642331049297))
55
+
5
56
  ## [2.20.3](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.20.2...v2.20.3) (2026-02-26)
6
57
 
7
58
 
@@ -31,6 +31,9 @@ RenderWaitTime: 60
31
31
  # 表情回应,若适配器或对应平台不支持需要关闭
32
32
  EmojiReply: true
33
33
 
34
+ # 解析提示,发送提示信息:"检测到xxx链接,开始解析"
35
+ parseTip: false
36
+
34
37
  # 遇到错误时谁会收到错误日志?可选值:'master'(除'console'外的第一个主人)、'allMasters'(所有主人,排除console)、'trigger'(触发者)
35
38
  errorLogSendTo:
36
39
  - master
@@ -1,9 +1,6 @@
1
1
  # B站解析开关,单独开关,受「总开关」影响
2
2
  switch: true
3
3
 
4
- # B站解析提示,发送提示信息:“检测到B站链接,开始解析”
5
- tip: false
6
-
7
4
  # 解析时发送的内容,可选值:'info'(视频信息)、'comment'(评论图片)、'video'(视频文件)
8
5
  sendContent:
9
6
  - info
@@ -16,6 +13,9 @@ numcomment: 5
16
13
  # 评论图是否显示真实评论数量,关闭则显示解析到的评论数量
17
14
  realCommentCount: false
18
15
 
16
+ # 是否收集评论区的图片
17
+ commentImageCollection: true
18
+
19
19
  # 视频画质偏好设置,0 为自动根据大小选择,其他为固定画质
20
20
  # - 0: 自动根据大小选择
21
21
  # - 6: 240P 极速 (仅MP4格式支持)
@@ -1,9 +1,6 @@
1
1
  # 抖音解析开关,单独开关,受「总开关」影响
2
2
  switch: true
3
3
 
4
- # 抖音解析提示,发送提示信息:“检测到抖音链接,开始解析”
5
- tip: false
6
-
7
4
  # 解析时发送的内容,可选值:'info'(视频信息)、'comment'(评论图片)、'video'(视频文件)
8
5
  sendContent:
9
6
  - info
@@ -1,9 +1,6 @@
1
1
  # 快手解析开关,单独开关,受「总开关」影响
2
2
  switch: true
3
3
 
4
- # 快手解析提示,发送提示信息:“检测到快手链接,开始解析”
5
- tip: false
6
-
7
4
  # 快手评论解析,发送快手作品评论图
8
5
  comment: true
9
6
 
@@ -22,6 +22,12 @@ usegroupfile: false
22
22
  # 群文件上传阈值,当文件大小超过该值时将使用群文件上传,单位:MB,「使用群文件上传」开启后才会生效
23
23
  groupfilevalue: 100
24
24
 
25
+ # 网络图片发送方式,可选值:url / file / base64
26
+ # url: 直接传递 HTTP 链接给上游下载(可能因上游网络问题导致下载超时)
27
+ # file: 下载到本地使用 file 协议发送(需 Karin 与协议端在同一系统)
28
+ # base64: 下载后转换为 base64 发送(传输数据增大约 1/3,不在同一网络环境可能导致额外带宽成本)
29
+ imageSendMode: url
30
+
25
31
  # 下载限速开关,开启后会限制下载速度,避免触发服务器风控导致连接被重置(ECONNRESET)
26
32
  # 如果你的网络带宽很大且下载时经常报错"连接被重置",建议开启此选项
27
33
  downloadThrottle: false
@@ -1,9 +1,6 @@
1
1
  # 小红书解析开关,单独开关,受「总开关」影响
2
2
  switch: true
3
3
 
4
- # 小红书解析提示,发送提示信息:"检测到小红书链接,开始解析"
5
- tip: true
6
-
7
4
  # 解析时发送的内容,可选值:'info'(笔记、视频信息)、'comment'(评论图片)、'image'(笔记图片)、'video'(视频文件)
8
5
  sendContent:
9
6
  - 'info'
package/lib/apps/admin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { C as removeAllFiles, E as task, S as dylogin, T as setdyck, w as setbilick, x as biLogin } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
5
- export { biLogin, dylogin, removeAllFiles, setbilick, setdyck, task };
2
+ import { C as removeOldFiles, S as dylogin, w as task, x as biLogin } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
+ export { biLogin, dylogin, removeOldFiles, task };
package/lib/apps/help.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { b as version, y as help } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
2
+ import { b as version, y as help } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
5
  export { help, version };
package/lib/apps/push.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { _ as setdyPush, d as bilibiliPushList, f as changeBotID, g as setbiliPush, h as forcePush, m as douyinPushList, p as douyinPush, u as bilibiliPush, v as testDouyinPush } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
2
+ import { _ as setdyPush, d as bilibiliPushList, f as changeBotID, g as setbiliPush, h as forcePush, m as douyinPushList, p as douyinPush, u as bilibiliPush, v as testDouyinPush } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
5
  export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, setbiliPush, setdyPush, testDouyinPush };
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { l as qrLogin } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
2
+ import { l as qrLogin } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
5
  export { qrLogin };
package/lib/apps/tools.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
2
+ import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
5
  export { bilibiliAPP, douyinAPP, kuaishouAPP, prefix, xiaohongshuAPP };
@@ -1,5 +1,5 @@
1
1
  import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-CXz1QLHw.js";
3
- import "../core_chunk/vendor-DrIRnh5C.js";
4
- import "../core_chunk/template-Bo8XmVaD.js";
2
+ import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-B-QVNIL7.js";
3
+ import "../core_chunk/vendor-CYCcUtqE.js";
4
+ import "../core_chunk/template-n3eb7E79.js";
5
5
  export { kkkUpdate, kkkUpdateCommand, update };
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.20.3",
3
- "buildTime": "2026-02-26T20:51:08.273Z",
4
- "buildTimestamp": 1772139068273,
2
+ "version": "2.21.1",
3
+ "buildTime": "2026-03-02T12:56:19.212Z",
4
+ "buildTimestamp": 1772456179213,
5
5
  "name": "karin-plugin-kkk",
6
6
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
7
7
  "homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
8
- "commitHash": "fde31f4e93b6858a2af86828dec983ba32aee480",
9
- "shortCommitHash": "fde31f4e"
8
+ "commitHash": "e43173f44582ab306a63ac13df2c7a3c4fb33200",
9
+ "shortCommitHash": "e43173f4"
10
10
  }