koishi-plugin-awa-quote-image 0.1.0-alpha.3
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/package.json +37 -0
- package/readme.md +56 -0
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "koishi-plugin-awa-quote-image",
|
|
3
|
+
"description": "",
|
|
4
|
+
"version": "0.1.0-alpha.3+20250801",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"typings": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib",
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"homepage": "https://github.com/VincentZyu233/koishi-plugin-awa-quote-image",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://gitee.com/vincent-zyu/koishi-plugin-awa-quote-image"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"chatbot",
|
|
19
|
+
"koishi",
|
|
20
|
+
"plugin"
|
|
21
|
+
],
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"koishi": "^4.18.7"
|
|
24
|
+
},
|
|
25
|
+
"koishi": {
|
|
26
|
+
"description": {
|
|
27
|
+
"en": "Render group messages as images.",
|
|
28
|
+
"zh": "把群u的名人名言 发言 渲染成图片"
|
|
29
|
+
},
|
|
30
|
+
"service": {
|
|
31
|
+
"required": [
|
|
32
|
+
"puppeteer",
|
|
33
|
+
"http"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# koishi-plugin-awa-quote-image
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/koishi-plugin-awa-quote)
|
|
4
|
+
|
|
5
|
+
把群u的名人名言发言渲染成图片!
|
|
6
|
+
|
|
7
|
+
## 功能介绍
|
|
8
|
+
|
|
9
|
+
这是一个 Koishi 插件,可以将群友的发言制作成精美的名人名言图片。支持多种图片样式,让你的群聊更加有趣!
|
|
10
|
+
|
|
11
|
+
## 使用方法
|
|
12
|
+
|
|
13
|
+
### 1. 查看图片样式列表
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
acs
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
显示所有可用的图片样式:
|
|
20
|
+
- 【0】: 原始_黑底白字
|
|
21
|
+
- 【1】: 现代_思源宋体 (磨砂玻璃效果)
|
|
22
|
+
- 【2】: 简洁_落霞孤鹜文楷 (扁平化设计)
|
|
23
|
+
|
|
24
|
+
### 2. 制作名人名言图片
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
aqt
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**使用步骤:**
|
|
31
|
+
1. 回复/引用某个群友的消息
|
|
32
|
+
2. 发送 `aqt` 指令
|
|
33
|
+
3. 等待渲染完成,获得精美的名人名言图片
|
|
34
|
+
|
|
35
|
+
**可选参数:**
|
|
36
|
+
- `-i <数字>` 或 `--index <数字>`: 指定图片样式索引
|
|
37
|
+
- `-v` 或 `--verbose`: 显示详细参数信息
|
|
38
|
+
|
|
39
|
+
**示例:**
|
|
40
|
+
```
|
|
41
|
+
aqt -i 1 # 使用现代思源宋体样式
|
|
42
|
+
aqt -i 2 # 使用简洁文楷样式
|
|
43
|
+
aqt -v # 显示详细信息
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 图片样式预览
|
|
47
|
+
|
|
48
|
+
- **原始黑底白字**: 经典黑白配色,简洁大方
|
|
49
|
+
- **现代思源宋体**: 磨砂玻璃效果,渐变背景,现代高级感
|
|
50
|
+
- **简洁文楷**: 扁平化设计,清爽简约,适合日常使用
|
|
51
|
+
|
|
52
|
+
## 注意事项
|
|
53
|
+
|
|
54
|
+
- 使用前需要先回复或引用一条消息
|
|
55
|
+
- 渲染过程需要几秒钟,请耐心等待
|
|
56
|
+
- 支持 PNG、JPEG、WEBP 多种输出格式
|