karin-plugin-kkk 2.20.2 → 2.21.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.
- package/CHANGELOG.md +69 -0
- package/config/default_config/app.yaml +6 -6
- package/config/default_config/bilibili.yaml +3 -3
- package/config/default_config/douyin.yaml +0 -3
- package/config/default_config/kuaishou.yaml +0 -3
- package/config/default_config/xiaohongshu.yaml +0 -3
- package/lib/apps/admin.js +4 -4
- package/lib/apps/help.js +3 -3
- package/lib/apps/push.js +3 -3
- package/lib/apps/qrlogin.js +3 -3
- package/lib/apps/tools.js +3 -3
- package/lib/apps/update.js +3 -3
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/{main-Du8yBcGG.js → main-eqK3KHoJ.js} +988 -328
- package/lib/core_chunk/{template-CQ-u6h09.js → template-n3eb7E79.js} +757 -360
- package/lib/core_chunk/template.d.mts +25 -6
- package/lib/core_chunk/template.js +2 -2
- package/lib/core_chunk/{vendor-B3KhGHI_.js → vendor-CYCcUtqE.js} +137541 -136555
- package/lib/index.js +3 -3
- package/lib/karin-plugin-kkk.css +189 -100
- package/lib/root.js +1 -1
- package/lib/web.config.js +3 -3
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,75 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.21.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.20.3...v2.21.0) (2026-03-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ 新功能
|
|
9
|
+
|
|
10
|
+
* (core): 新增配置支持将网络图片由插件进行下载发送(默认关闭),可避免上游下载图片超时导致的发送失败而抛出错误 ([d30ee88](https://github.com/ikenxuan/karin-plugin-kkk/commit/d30ee88f60af299802208bdc422116d42190cafc))
|
|
11
|
+
* **bilibili:** B站评论图片收集 ([10ceed0](https://github.com/ikenxuan/karin-plugin-kkk/commit/10ceed0f711fdb46b2c408eaddbdc1283413c4b0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### 🐛 错误修复
|
|
15
|
+
|
|
16
|
+
* **bilibili:** 修复专栏链接带查询参数时解析失败 ([fd24333](https://github.com/ikenxuan/karin-plugin-kkk/commit/fd243338c0d4f6e8a6b3abce8a766854049f01c0))
|
|
17
|
+
* **bilibili:** 动态解析只有图文/纯图和视频动态才能解析评论的问题 ([e557f13](https://github.com/ikenxuan/karin-plugin-kkk/commit/e557f1384b6ed9cb108d366c3de79412a6ba6183))
|
|
18
|
+
* web.config ([c6dcb5c](https://github.com/ikenxuan/karin-plugin-kkk/commit/c6dcb5c185eb580d7fefda8dd2c70e951df73923))
|
|
19
|
+
* web.config 重复的 key ([b606a3f](https://github.com/ikenxuan/karin-plugin-kkk/commit/b606a3f9280144084564e2d8c6cd757cb3dd7824))
|
|
20
|
+
* 兼容性提高 ([c28dd31](https://github.com/ikenxuan/karin-plugin-kkk/commit/c28dd3126a45c5105dbb56735183f325b0a750f4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### 💄 UI 优化
|
|
24
|
+
|
|
25
|
+
* **bilibili:** 优化评论图片显示 ([227a7a9](https://github.com/ikenxuan/karin-plugin-kkk/commit/227a7a94a38f84242bbf33519daf9cfb2fb14deb))
|
|
26
|
+
* 优化更新日志提示的说明 ([d1d0a65](https://github.com/ikenxuan/karin-plugin-kkk/commit/d1d0a65d5a34a8a4ed30df3b97fd1e8630a3aa4a))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### ♻️ 代码重构
|
|
30
|
+
|
|
31
|
+
* **core:** 替换 native 图片处理库为纯 JS 实现 ([c38b422](https://github.com/ikenxuan/karin-plugin-kkk/commit/c38b422a8466e73c75bfceaea7099da8fc2073f6))
|
|
32
|
+
* web.config 尝试使用一套数据源 ([#258](https://github.com/ikenxuan/karin-plugin-kkk/issues/258)) ([da5f65b](https://github.com/ikenxuan/karin-plugin-kkk/commit/da5f65b4bff21137143cc753c6334e1890181b39))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### 📦 依赖更新
|
|
36
|
+
|
|
37
|
+
* update ([4019070](https://github.com/ikenxuan/karin-plugin-kkk/commit/401907079b797d88feceb052338b297b66cb393a))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### ⚙️ 配置变更
|
|
41
|
+
|
|
42
|
+
* 各平台的解析提示迁移到 '插件应用相关' 类目中 ([9fc38ee](https://github.com/ikenxuan/karin-plugin-kkk/commit/9fc38ee2c149dbf981ecc72925380b57999db05a))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### 💯 细节优化
|
|
46
|
+
|
|
47
|
+
* 提高对二维码识别的成功率 ([2f19165](https://github.com/ikenxuan/karin-plugin-kkk/commit/2f191654b086add48245a687007d642331049297))
|
|
48
|
+
|
|
49
|
+
## [2.20.3](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.20.2...v2.20.3) (2026-02-26)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### 🐛 错误修复
|
|
53
|
+
|
|
54
|
+
* **bilibili:** 共创视频动态中,UP主头像错误 close [#256](https://github.com/ikenxuan/karin-plugin-kkk/issues/256) ([1c76932](https://github.com/ikenxuan/karin-plugin-kkk/commit/1c769322d527211e6686c9e0f290bccaebe74c83))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### 💄 UI 优化
|
|
58
|
+
|
|
59
|
+
* 优化版本警告组件 ([608d4f9](https://github.com/ikenxuan/karin-plugin-kkk/commit/608d4f958ada8210b36f122b69e8ceeed1af20e8))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### 🧰 其他更新
|
|
63
|
+
|
|
64
|
+
* update ([9799c18](https://github.com/ikenxuan/karin-plugin-kkk/commit/9799c183969516240c9a132c0759385e394d162c))
|
|
65
|
+
* 删除过时代码 ([291d24a](https://github.com/ikenxuan/karin-plugin-kkk/commit/291d24a5544874c1b6ea5685b5be9f84bb62ffb8))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### 💯 细节优化
|
|
69
|
+
|
|
70
|
+
* 优化表情回应逻辑 ([d23a6e7](https://github.com/ikenxuan/karin-plugin-kkk/commit/d23a6e7e3dc43d4275f464dbd6fbb02053714f3e))
|
|
71
|
+
* 兼容性提高 ([bcc6b71](https://github.com/ikenxuan/karin-plugin-kkk/commit/bcc6b71da6b7f85be5ec31c6d229c8fd2144a28a))
|
|
72
|
+
* 重构表情回应功能实现 ([dee0357](https://github.com/ikenxuan/karin-plugin-kkk/commit/dee0357fadebcf00aeffa8d0c1e8f30a0124011b))
|
|
73
|
+
|
|
5
74
|
## [2.20.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.20.1...v2.20.2) (2026-02-25)
|
|
6
75
|
|
|
7
76
|
|
|
@@ -7,6 +7,9 @@ priority: 800
|
|
|
7
7
|
# 缓存删除,非必要不修改!
|
|
8
8
|
removeCache: true
|
|
9
9
|
|
|
10
|
+
# 发送图片时由插件本地下载后使用 file 协议传递,而非直接传递 HTTP 链接给上游下载
|
|
11
|
+
downloadImageLocally: false
|
|
12
|
+
|
|
10
13
|
# 渲染精度,可选值50~200,建议100。设置高精度会提高图片的精细度,过高可能会影响渲染与发送速度
|
|
11
14
|
renderScale: 100
|
|
12
15
|
|
|
@@ -28,14 +31,11 @@ RemoveWatermark: false
|
|
|
28
31
|
# 渲染图片的等待时间,单位:秒。传递 0 可禁用等待(Linux系统必须大于0)
|
|
29
32
|
RenderWaitTime: 60
|
|
30
33
|
|
|
31
|
-
#
|
|
34
|
+
# 表情回应,若适配器或对应平台不支持需要关闭
|
|
32
35
|
EmojiReply: true
|
|
33
36
|
|
|
34
|
-
#
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
# 忽略表情回应失败,开启后表情回应失败时不会抛出错误,程序会继续执行
|
|
38
|
-
EmojiReplyIgnoreError: true
|
|
37
|
+
# 解析提示,发送提示信息:"检测到xxx链接,开始解析"
|
|
38
|
+
parseTip: false
|
|
39
39
|
|
|
40
40
|
# 遇到错误时谁会收到错误日志?可选值:'master'(除'console'外的第一个主人)、'allMasters'(所有主人,排除console)、'trigger'(触发者)
|
|
41
41
|
errorLogSendTo:
|
|
@@ -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格式支持)
|
package/lib/apps/admin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { C as
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
5
|
-
export { biLogin, dylogin,
|
|
2
|
+
import { C as removeOldFiles, S as dylogin, w as task, x as biLogin } from "../core_chunk/main-eqK3KHoJ.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-
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
2
|
+
import { b as version, y as help } from "../core_chunk/main-eqK3KHoJ.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-
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
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-eqK3KHoJ.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 };
|
package/lib/apps/qrlogin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { l as qrLogin } from "../core_chunk/main-
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
2
|
+
import { l as qrLogin } from "../core_chunk/main-eqK3KHoJ.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-
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
2
|
+
import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-eqK3KHoJ.js";
|
|
3
|
+
import "../core_chunk/vendor-CYCcUtqE.js";
|
|
4
|
+
import "../core_chunk/template-n3eb7E79.js";
|
|
5
5
|
export { bilibiliAPP, douyinAPP, kuaishouAPP, prefix, xiaohongshuAPP };
|
package/lib/apps/update.js
CHANGED
|
@@ -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-
|
|
3
|
-
import "../core_chunk/vendor-
|
|
4
|
-
import "../core_chunk/template-
|
|
2
|
+
import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-eqK3KHoJ.js";
|
|
3
|
+
import "../core_chunk/vendor-CYCcUtqE.js";
|
|
4
|
+
import "../core_chunk/template-n3eb7E79.js";
|
|
5
5
|
export { kkkUpdate, kkkUpdateCommand, update };
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
3
|
-
"buildTime": "2026-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.21.0",
|
|
3
|
+
"buildTime": "2026-03-02T08:01:57.263Z",
|
|
4
|
+
"buildTimestamp": 1772438517263,
|
|
5
5
|
"name": "karin-plugin-kkk",
|
|
6
6
|
"description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
|
|
7
7
|
"homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
|
|
8
|
-
"commitHash": "
|
|
9
|
-
"shortCommitHash": "
|
|
8
|
+
"commitHash": "6c66bfcb4ea81d16b9a251c0fa14e5dddee3e718",
|
|
9
|
+
"shortCommitHash": "6c66bfcb"
|
|
10
10
|
}
|