📖 介绍
为你的NoneBot侧载一个OneBot V11 Web聊天面板,连接到Bot即可使用
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-sideload
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-sideload
pdm
pdm add nonebot-plugin-sideload
poetry
poetry add nonebot-plugin-sideload
conda
conda install nonebot-plugin-sideload
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_sideload"]
⚙️ 配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| sideload_password | 是 | abc123456 | 面板的访问密码 |
🎉 使用
Bot连接后,控制台会输出面板的地址,在浏览器中打开即可访问,一般来说,它是长这样子的:
http://ip:port/nbgui/v1/sideload
📑 TODO List
- 图片显示
- +1按钮
- 消息时间显示
- 性能优化
- 持久化登录
- 用户自定义设置
- 好友/加群申请
- 群成员管理
- 消息右键菜单
- 用户信息
- 群信息
- 发送图片
- 消息撤回
- 修复图片错位问题
- 暂时想不到了qwp
🖼️ 效果图
Metadata
Release files for nonebot-plugin-sideload 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_sideload-0.1.8.tar.gz | 7.6 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_sideload-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 MB
Release files / nonebot_plugin_sideload-0.1.8.tar.gz
| Download URL | nonebot_plugin_sideload-0.1.8.tar.gz |
|---|---|
| Size | 7.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99da2432c41969c26ef1f327ade1fac5259294529037e03fcff26434f0423237
|
|
BLAKE2b-256 checksum How to use checksums |
ae412b9255effc7962ce24f87326c6b730dead1164c1058a9427816b3b2ba13b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nonebot_plugin_sideload-0.1.8-py3-none-any.whl
| Download URL | nonebot_plugin_sideload-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f3bc26ceea968c7e75c1ba844cadc11003bd0168fec9c3a9b079c7f2504951e
|
|
BLAKE2b-256 checksum How to use checksums |
cd3905390202b9a93c54d8dea1afc30fd7ad4db8e81b240666063433cf656a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for nonebot-plugin-sideload 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.