Skip to main content

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

Project description

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,我会尽量解决

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_qrrender-0.0.6.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_QRrender-0.0.6-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_qrrender-0.0.6.tar.gz.

File metadata

  • Download URL: nonebot_plugin_qrrender-0.0.6.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nonebot_plugin_qrrender-0.0.6.tar.gz
Algorithm Hash digest
SHA256 db8577ddf59d23ef880d00c292e4652430e32a6a203cd4c891c59d01be149801
MD5 2ff40f802246890e26da48560b393bb9
BLAKE2b-256 1aeb22f887be36b78fd1d421676684478c45b9a259a127582e2ff2bec8690723

See more details on using hashes here.

File details

Details for the file nonebot_plugin_QRrender-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_QRrender-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ad478cc0974e6a2ae4de86aadbab6753fecddff01027cc8098cd0b0f09b69c
MD5 9b186b3ba474cd26c59ca5a0a91ff1f3
BLAKE2b-256 478dc485d0b9fd24d75c0b3e61090c45403bcc9bc4c56f27b7d2aff59103e3ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page