karin-plugin-kkk 2.15.1 → 2.16.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/README.md +35 -74
- package/config/default_config/douyin.yaml +6 -0
- package/lib/apps/admin.js +4 -3
- package/lib/apps/help.js +4 -3
- package/lib/apps/push.js +4 -3
- package/lib/apps/tools.js +4 -3
- package/lib/apps/update.js +4 -3
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/{main-B88vuAg3.js → main-Bmugin6e.js} +6069 -1571
- package/lib/core_chunk/{template-CuCBcPSZ.js → template-cndbaOTf.js} +2425 -2004
- package/lib/core_chunk/template.d.mts +21 -2
- package/lib/core_chunk/template.js +3 -2
- package/lib/core_chunk/{vendor-fLu5LGop.js → vendor-ChYBW26y.js} +118666 -59415
- package/lib/index.js +4 -3
- package/lib/karin-plugin-kkk.css +158 -13
- package/lib/root.js +2 -1
- package/lib/web.config.js +4 -3
- package/lib/web_chunk/assets/{Combination-CElmvm1y.js → Combination-CTH2PMul.js} +1 -1
- package/lib/web_chunk/assets/{avatar-DdKKK8fN.js → avatar-CY4eZOVa.js} +1 -1
- package/lib/web_chunk/assets/core-CfU-HCDE.js +1 -0
- package/lib/web_chunk/assets/{eye-DscQBlfD.js → eye-m9iRr017.js} +1 -1
- package/lib/web_chunk/assets/{index-CVeWpiod.js → index-DHANUY31.js} +2 -2
- package/lib/web_chunk/assets/{jszip.min-IdIeQO8w.js → jszip.min-BS-NjNwg.js} +1 -1
- package/lib/web_chunk/assets/{page-B3Z9ZoZE.js → page-BhpBNYW4.js} +1 -1
- package/lib/web_chunk/assets/{page-BZ-DxMJp.js → page-DBxxaDGp.js} +1 -1
- package/lib/web_chunk/assets/{page-CvLBFVUj.js → page-DEG0rQ1b.js} +1 -1
- package/lib/web_chunk/assets/{page-jMAgww3l.js → page-DOMcZ32B.js} +2 -2
- package/lib/web_chunk/assets/{page-Ds7pyOc_.js → page-UFKhzaBS.js} +4 -4
- package/lib/web_chunk/assets/{parsers-DslAp9xq.js → parsers-hHXM_I09.js} +1 -1
- package/lib/web_chunk/assets/{request-BrzrZK5Z.js → request-BZjv96I-.js} +1 -1
- package/lib/web_chunk/assets/{select-B9ErW2-J.js → select-B2ihEJiI.js} +1 -1
- package/lib/web_chunk/assets/{separator-BqVV7haD.js → separator-C4qjpx93.js} +1 -1
- package/lib/web_chunk/index.html +1 -1
- package/lib/web_chunk/sw.js +1 -1
- package/package.json +16 -14
- package/resources/image/other/changelog/banner.webp +0 -0
- package/lib/web_chunk/assets/core-CdUvdXfI.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,75 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.16.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.15.2...v2.16.0) (2025-12-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ 新功能
|
|
9
|
+
|
|
10
|
+
* **core:** 新增启动时版本检查(beta) ([a76b2c0](https://github.com/ikenxuan/karin-plugin-kkk/commit/a76b2c0252533cbb686e47bad46248dc34c3758c))
|
|
11
|
+
* **抖音:** 添加次级评论解析功能并优化评论展示 ([13aa2da](https://github.com/ikenxuan/karin-plugin-kkk/commit/13aa2dab7f2ffc214ef7314a0578b3278368478f))
|
|
12
|
+
* 更新node-karin依赖至1.13.8版本 ([e9fdf3e](https://github.com/ikenxuan/karin-plugin-kkk/commit/e9fdf3ec23b26cc9dfa3139cb786cfc7c49992cf))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🐛 错误修复
|
|
16
|
+
|
|
17
|
+
* **build-metadata:** 确保git命令在仓库根目录执行 ([e9fdf3e](https://github.com/ikenxuan/karin-plugin-kkk/commit/e9fdf3ec23b26cc9dfa3139cb786cfc7c49992cf))
|
|
18
|
+
* types,throw handlerError Error ([e74a98f](https://github.com/ikenxuan/karin-plugin-kkk/commit/e74a98f0f2a675b3faace42b531a4c54e9ffbb91))
|
|
19
|
+
* 手动更新获取不到更新日志 ([c4a9cdb](https://github.com/ikenxuan/karin-plugin-kkk/commit/c4a9cdb4878f7801f82f9323a0cf8c8fe08cd935))
|
|
20
|
+
* 抖音直播推送刚开播获取不到直播封面的边缘情况 ([55ff549](https://github.com/ikenxuan/karin-plugin-kkk/commit/55ff54929c4e83d10148488042ce8e01b8ebb508))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### 📝 文档更新
|
|
24
|
+
|
|
25
|
+
* **docs:** 更新文档站点UI与功能,新增暗黑模式支持与响应式设计 ([b2a6e11](https://github.com/ikenxuan/karin-plugin-kkk/commit/b2a6e11526d4285fa4bb45846dab2b825dc5245a))
|
|
26
|
+
* readme ([93393e8](https://github.com/ikenxuan/karin-plugin-kkk/commit/93393e89a94300692c3a9a3eda09ed1c60dcba5e))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### 🧰 其他更新
|
|
30
|
+
|
|
31
|
+
* build ci/cd ([8fde15c](https://github.com/ikenxuan/karin-plugin-kkk/commit/8fde15c00e0cc0219f0ac5a7c9c7074cd899c8cb))
|
|
32
|
+
* karin版本最低1.14.0 ([2c08cf5](https://github.com/ikenxuan/karin-plugin-kkk/commit/2c08cf5ab2dabebb3b7a3694120fc3326349be85))
|
|
33
|
+
* 优化模板开发面板,优化开发体验 ([ff98038](https://github.com/ikenxuan/karin-plugin-kkk/commit/ff98038a78e7ec7edb6495704a280584eefc98f2))
|
|
34
|
+
* 工作区子模块? ([72500e1](https://github.com/ikenxuan/karin-plugin-kkk/commit/72500e118594a3226cb9e4b38afa183fffe3c5e2))
|
|
35
|
+
* 改炸了 ([52ba955](https://github.com/ikenxuan/karin-plugin-kkk/commit/52ba95560fe5dd81fd505009ff6e5d4c37df7cb2))
|
|
36
|
+
* 无关紧要的更新 ([3d32c07](https://github.com/ikenxuan/karin-plugin-kkk/commit/3d32c0778c4b48332f8430714579ce6331b81558))
|
|
37
|
+
* 添加typescript-eslint开发依赖 ([e9fdf3e](https://github.com/ikenxuan/karin-plugin-kkk/commit/e9fdf3ec23b26cc9dfa3139cb786cfc7c49992cf))
|
|
38
|
+
* 细优模板开发面板 ([52744a5](https://github.com/ikenxuan/karin-plugin-kkk/commit/52744a52a930a63925052b9552d376f1346bbe00))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### ♻️ 代码重构
|
|
42
|
+
|
|
43
|
+
* **logger:** 重构日志模块使用node-karin/log4js替代自定义实现 ([e9fdf3e](https://github.com/ikenxuan/karin-plugin-kkk/commit/e9fdf3ec23b26cc9dfa3139cb786cfc7c49992cf))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### 📦 依赖更新
|
|
47
|
+
|
|
48
|
+
* update ([b143293](https://github.com/ikenxuan/karin-plugin-kkk/commit/b143293ac7b8cce5a08a3a2ac9a3f1c232f27d06))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### ✨ 细节优化
|
|
52
|
+
|
|
53
|
+
* boom ([2277156](https://github.com/ikenxuan/karin-plugin-kkk/commit/22771568f6a04e9f983a9322741d7c7d49716951))
|
|
54
|
+
* use checkPort ([3c04494](https://github.com/ikenxuan/karin-plugin-kkk/commit/3c044945170e0107a6caaeb400de6b29c1761376))
|
|
55
|
+
* 优化更新流程 ([118443f](https://github.com/ikenxuan/karin-plugin-kkk/commit/118443f671aa096d9225509b32a1597cf2e6edc7))
|
|
56
|
+
* 兼容性提高 ([eefd8e6](https://github.com/ikenxuan/karin-plugin-kkk/commit/eefd8e67ab3b309b5799f9cce0bad155eec6a4a2))
|
|
57
|
+
* 兼容性提高 ([790d7be](https://github.com/ikenxuan/karin-plugin-kkk/commit/790d7be05af91641fe4d3780476a6140cbe960fb))
|
|
58
|
+
* 脱敏打印 ([7d63492](https://github.com/ikenxuan/karin-plugin-kkk/commit/7d634920f8e5f7fe818997d8d87176a59ee7a04d))
|
|
59
|
+
|
|
60
|
+
## [2.15.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.15.1...v2.15.2) (2025-12-07)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### 🐛 错误修复
|
|
64
|
+
|
|
65
|
+
* 更新小红书算法v4.86.0 ([d133a54](https://github.com/ikenxuan/karin-plugin-kkk/commit/d133a54b37b3cecb81ae6b92e72d48dc95629e12))
|
|
66
|
+
* 更新状态判断失误 ([0598334](https://github.com/ikenxuan/karin-plugin-kkk/commit/0598334cd281e040a7dba7d8349ccd6c0ce3f2d9))
|
|
67
|
+
* 迁移到@snapka/puppeteer ([#232](https://github.com/ikenxuan/karin-plugin-kkk/issues/232)) ([848926b](https://github.com/ikenxuan/karin-plugin-kkk/commit/848926bb4463149847d0f40e0bb0e5c4d2f0bc64))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### 📝 文档更新
|
|
71
|
+
|
|
72
|
+
* readme ([bdb3468](https://github.com/ikenxuan/karin-plugin-kkk/commit/bdb3468d67bef7df4c81ebbbd400f00ae4b87a31))
|
|
73
|
+
|
|
5
74
|
## [2.15.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.15.0...v2.15.1) (2025-12-02)
|
|
6
75
|
|
|
7
76
|
|
package/README.md
CHANGED
|
@@ -1,79 +1,57 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
1
3
|
# karin-plugin-kkk
|
|
2
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/karin-plugin-kkk)
|
|
6
|
+
[](https://www.npmjs.com/package/karin-plugin-kkk)
|
|
7
|
+
[](https://github.com/ikenxuan/karin-plugin-kkk)
|
|
8
|
+
[](https://github.com/ikenxuan/karin-plugin-kkk/issues)
|
|
3
9
|
[](https://pkg.pr.new/~/ikenxuan/karin-plugin-kkk)
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
_Karin 的「抖音」「B 站」视频解析/动态推送插件_
|
|
6
12
|
|
|
7
|
-
|
|
13
|
+
> 提供对 Bot 的视频解析和动态推送功能,通过接口获取数据并渲染图片返回
|
|
8
14
|
|
|
9
|
-
|
|
15
|
+
</div>
|
|
10
16
|
|
|
11
|
-
|
|
17
|
+
---
|
|
12
18
|
|
|
13
|
-
|
|
19
|
+
## Feature
|
|
14
20
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
pnpm add karin-plugin-kkk@latest -w
|
|
20
|
-
```
|
|
21
|
+
- **视频解析** - 自动解析抖音、B站、快手、小红书链接
|
|
22
|
+
- **动态推送** - 订阅博主/UP主,自动推送最新动态
|
|
23
|
+
- **扫码登录** - 支持扫码获取平台 Cookies
|
|
24
|
+
- **WebUI 配置** - 通过 Karin WebUI 轻松管理插件
|
|
21
25
|
|
|
22
|
-
|
|
26
|
+
## Quick Start
|
|
23
27
|
|
|
24
|
-
|
|
28
|
+
推荐通过 **Karin WebUI 插件市场** 安装,或使用命令:
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
```sh
|
|
31
|
+
pnpm add karin-plugin-kkk@latest -w
|
|
32
|
+
```
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
> 首次使用请务必查看文档了解配置方法
|
|
30
35
|
|
|
31
|
-
|
|
32
|
-
反馈群:[795874649](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=S8y6baEcSkO6TEO5kEdfgmJhz79Oxdw5&authKey=ficWQytHGz3KIv5i0HpGbEeMBpABBXfjEMYRzo3ZwMV%2B0Y5mq8cC0Yxbczfa904H&noverify=0&group_code=795874649)
|
|
36
|
+
## Link
|
|
33
37
|
|
|
34
|
-
|
|
38
|
+
| 文档 | [](https://karin-plugin-kkk-docs.vercel.app) | [](https://karin-plugin-kkk-docs.netlify.app) |
|
|
39
|
+
|:-:|:-:|:-:|
|
|
40
|
+
| QQ 群 | [](https://qm.qq.com/q/DgLbCERYVG) | |
|
|
41
|
+
| DeepWiki | [](https://deepwiki.com/ikenxuan/karin-plugin-kkk) | |
|
|
35
42
|
|
|
36
|
-
|
|
37
|
-
<summary>点击展开</summary>
|
|
43
|
+
## Thanks
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
```sh
|
|
42
|
-
git clone https://github.com/你的GitHub用户名/karin-plugin-kkk.git
|
|
43
|
-
```
|
|
44
|
-
3. 安装依赖
|
|
45
|
-
```sh
|
|
46
|
-
pnpm i
|
|
47
|
-
```
|
|
48
|
-
4. 启动开发环境
|
|
49
|
-
```sh
|
|
50
|
-
# tsx 监听core子包文件变化并自动重启
|
|
51
|
-
pnpm watch
|
|
52
|
-
```
|
|
53
|
-
```sh
|
|
54
|
-
# 调试图片模板
|
|
55
|
-
pnpm template
|
|
56
|
-
```
|
|
57
|
-
```sh
|
|
58
|
-
# 调试自带的web
|
|
59
|
-
pnpm web
|
|
60
|
-
```
|
|
61
|
-
```sh
|
|
62
|
-
# 打包
|
|
63
|
-
pnpm build
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
</details>
|
|
45
|
+
- [Karin](https://github.com/Karinjs/Karin) - 即时通讯 Bot 框架
|
|
46
|
+
- [amagi](https://github.com/ikenxuan/amagi) - 接口文档与加密参数算法
|
|
67
47
|
|
|
68
|
-
##
|
|
69
|
-
|
|
70
|
-
> 🌟 星光闪烁,你们的智慧如同璀璨的夜空。感谢所有为 **karin-plugin-kkk** 做出贡献的人!
|
|
48
|
+
## Contributors
|
|
71
49
|
|
|
72
50
|
<a href="https://github.com/ikenxuan/karin-plugin-kkk/graphs/contributors">
|
|
73
51
|
<img src="https://contrib.rocks/image?repo=ikenxuan/karin-plugin-kkk" />
|
|
74
52
|
</a>
|
|
75
53
|
|
|
76
|
-

|
|
77
55
|
|
|
78
56
|
## Star History
|
|
79
57
|
|
|
@@ -85,27 +63,10 @@ pnpm build
|
|
|
85
63
|
</picture>
|
|
86
64
|
</a>
|
|
87
65
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
**业务站点**
|
|
91
|
-
|
|
92
|
-
- [www.douyin.com](https://www.douyin.com) & [www.bilibili.com](https://www.bilibili.com) & [www.kuaishou.com](https://www.kuaishou.com)
|
|
93
|
-
|
|
94
|
-
本项目的开发参考了以下开源项目部分代码,排名不分先后
|
|
95
|
-
|
|
96
|
-
**接口文档与加密参数算法**
|
|
97
|
-
|
|
98
|
-
- [ikenxuan/amagi](https://github.com/ikenxuan/amagi)
|
|
99
|
-
- 更多待补充...
|
|
100
|
-
|
|
101
|
-
**友情链接**
|
|
102
|
-
|
|
103
|
-
- Karin 框架 [**GitHub**](https://github.com/Karinjs/Karin) | [**文档**](https://karin.fun)
|
|
104
|
-
|
|
105
|
-
## 🧷 许可证
|
|
66
|
+
---
|
|
106
67
|
|
|
107
|
-
|
|
68
|
+
## License
|
|
108
69
|
|
|
109
|
-
|
|
70
|
+
本项目采用 [**GPL-3.0**](./LICENSE) 开源。
|
|
110
71
|
|
|
111
|
-
|
|
72
|
+
**未经同意,禁止将本项目的开源代码用于任何商业目的。因使用本项目产生的一切问题与后果由使用者自行承担,项目开发者不承担任何责任。**
|
|
@@ -13,6 +13,12 @@ sendContent:
|
|
|
13
13
|
# 抖音评论数量,范围 1 ~ x 条
|
|
14
14
|
numcomment: 5
|
|
15
15
|
|
|
16
|
+
# 次级评论请求数量,范围1 ~ x 条,最高尽量 8 条左右,当前逻辑不仅无法判断请求的来的评论的嵌套深度,而且「subCommentDepth」会限制嵌套深度,超过深度的评论会被截断
|
|
17
|
+
subCommentLimit: 5
|
|
18
|
+
|
|
19
|
+
# 次级评论嵌套深度,范围1 ~ 6 层
|
|
20
|
+
subCommentDepth: 3
|
|
21
|
+
|
|
16
22
|
# 评论图是否显示真实评论数量,关闭则显示解析到的评论数量
|
|
17
23
|
realCommentCount: false
|
|
18
24
|
|
package/lib/apps/admin.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../core_chunk/
|
|
2
|
-
import
|
|
3
|
-
import "../core_chunk/
|
|
1
|
+
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
+
import "../core_chunk/vendor-ChYBW26y.js";
|
|
3
|
+
import { C as setbilick, S as removeAllFiles, T as task, b as biLogin, w as setdyck, x as dylogin } from "../core_chunk/main-Bmugin6e.js";
|
|
4
|
+
import "../core_chunk/template-cndbaOTf.js";
|
|
4
5
|
export { biLogin, dylogin, removeAllFiles, setbilick, setdyck, task };
|
package/lib/apps/help.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../core_chunk/
|
|
2
|
-
import
|
|
3
|
-
import "../core_chunk/
|
|
1
|
+
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
+
import "../core_chunk/vendor-ChYBW26y.js";
|
|
3
|
+
import { v as help, y as version } from "../core_chunk/main-Bmugin6e.js";
|
|
4
|
+
import "../core_chunk/template-cndbaOTf.js";
|
|
4
5
|
export { help, version };
|
package/lib/apps/push.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../core_chunk/
|
|
2
|
-
import
|
|
3
|
-
import "../core_chunk/
|
|
1
|
+
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
+
import "../core_chunk/vendor-ChYBW26y.js";
|
|
3
|
+
import { _ as testDouyinPush, d as changeBotID, f as douyinPush, g as setdyPush, h as setbiliPush, l as bilibiliPush, m as forcePush, p as douyinPushList, u as bilibiliPushList } from "../core_chunk/main-Bmugin6e.js";
|
|
4
|
+
import "../core_chunk/template-cndbaOTf.js";
|
|
4
5
|
export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, setbiliPush, setdyPush, testDouyinPush };
|
package/lib/apps/tools.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../core_chunk/
|
|
2
|
-
import
|
|
3
|
-
import "../core_chunk/
|
|
1
|
+
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
+
import "../core_chunk/vendor-ChYBW26y.js";
|
|
3
|
+
import { a as douyinAPP, c as xiaohongshuAPP, i as bilibiliAPP, o as kuaishouAPP, s as prefix } from "../core_chunk/main-Bmugin6e.js";
|
|
4
|
+
import "../core_chunk/template-cndbaOTf.js";
|
|
4
5
|
export { bilibiliAPP, douyinAPP, kuaishouAPP, prefix, xiaohongshuAPP };
|
package/lib/apps/update.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../core_chunk/
|
|
2
|
-
import
|
|
3
|
-
import "../core_chunk/
|
|
1
|
+
import "../core_chunk/rolldown-runtime-BMXAG3ag.js";
|
|
2
|
+
import "../core_chunk/vendor-ChYBW26y.js";
|
|
3
|
+
import { n as kkkUpdateCommand, r as update, t as kkkUpdate } from "../core_chunk/main-Bmugin6e.js";
|
|
4
|
+
import "../core_chunk/template-cndbaOTf.js";
|
|
4
5
|
export { kkkUpdate, kkkUpdateCommand, update };
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
3
|
-
"buildTime": "2025-12-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.16.0",
|
|
3
|
+
"buildTime": "2025-12-13T08:20:47.709Z",
|
|
4
|
+
"buildTimestamp": 1765614047709,
|
|
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": "70bbb709352c360e2be37c76435bc81aa6e3a30b",
|
|
9
|
+
"shortCommitHash": "70bbb709"
|
|
10
10
|
}
|