Skip to main content

nonebot-plugin-QRrender

✨ 将文本转为二维码,可自定义样式 ✨

📖 介绍

本插件使用Amazing-QR生成器生成二维码

可生成常见的二维码,以及有图片背景的艺术二维码

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-QRrender

⚙️ 配置

请在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
QR_res 否 5 二维码大小(范围为1~40)

🎉 使用

插件自带指令文档,发送 QR帮助 即可获取指令文档

生成二维码

发送 QR 文本 即可生成二维码,若bot有设置命令前缀,需加命令前缀,如 /

支持的参数:模板

使用方法: QR 文本 模板名 ,模板需自行上传或命名为模板名.jpg后添加至data\QRrender\library文件夹内

示例:

QR 114514 homo
QR 1919810

上述指令将会生成

内容为“114514”,背景是名为“homo”的模板图片的二维码
内容为“1919810”的普通二维码

上传图片模板

发送 QR模板 即可根据提示上传图片并命名

支持以回复、附图等方式直接上传图片并命名。例: ![Image_1726057638949](vx_images/76142920267411.jpg =216x)

可能遇到的问题

目前没发现()

将来可能支持的功能

□支持扫码功能?

□支持gif动图

□...

还有些想说的

本仓库使用了nonebot-plugin-template的模板,谨向作者表示感谢

本人为普通大学生,并非计算机类的专业,水平有限,如有问题或建议请直接发issue,我会尽量解决

Release files for nonebot-plugin-QRrender 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-QRrender 0.0.6
File Size Uploaded
nonebot_plugin_qrrender-0.0.6.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-QRrender 0.0.6
File Interpreter ABI Platform
nonebot_plugin_QRrender-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / nonebot_plugin_qrrender-0.0.6.tar.gz

Download URL nonebot_plugin_qrrender-0.0.6.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
db8577ddf59d23ef880d00c292e4652430e32a6a203cd4c891c59d01be149801
BLAKE2b-256 checksum
How to use checksums
1aeb22f887be36b78fd1d421676684478c45b9a259a127582e2ff2bec8690723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / nonebot_plugin_QRrender-0.0.6-py3-none-any.whl

Download URL nonebot_plugin_QRrender-0.0.6-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ad478cc0974e6a2ae4de86aadbab6753fecddff01027cc8098cd0b0f09b69c
BLAKE2b-256 checksum
How to use checksums
478dc485d0b9fd24d75c0b3e61090c45403bcc9bc4c56f27b7d2aff59103e3ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page