Metadata-Version: 2.3
Name: nonebot-plugin-sideload
Version: 0.1.6
Summary: 为你的NoneBot侧载一个OneBot V11 Web聊天面板
License: GPL3
Author: 【夜风】NightWind
Author-email: 2125714976@qq.com
Requires-Python: >=3.9
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aiosqlite (>=0.21.0)
Requires-Dist: httpx (>=0.22.0)
Requires-Dist: nonebot-adapter-onebot (>=2.4.5)
Requires-Dist: nonebot-plugin-localstore (>=0.7.3)
Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
Project-URL: Documentation, https://github.com/NonebotGUI/nonebot-plugin-sideload#README.md
Project-URL: Homepage, https://github.com/NonebotGUI/nonebot-plugin-sideload
Project-URL: Repository, https://github.com/NonebotGUI/nonebot-plugin-sideload
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://webui.nbgui.top"><img src="imgs/logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-sideload

_✨ 为你的NoneBot侧载一个OneBot V11 Web聊天面板 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/owner/nonebot-plugin-sideload" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-sideload.svg">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-sideload.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
<img src="https://img.shields.io/badge/QQ%E7%BE%A4-972526136-orange?style=flat-square" alt="QQ Chat Group">
</a>
</div>


## 📖 介绍

为你的NoneBot侧载一个OneBot V11 Web聊天面板，连接到Bot即可使用

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-sideload

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-sideload
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-sideload
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-sideload
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-sideload
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_sideload"]

</details>

## ⚙️ 配置

| 配置项 | 必填 | 默认值 | 说明 |
|:-----:|:----:|:----:|:----:|
| sideload_password | 是 | abc123456 | 面板的访问密码 |


## 🎉 使用

Bot连接后，控制台会输出面板的地址，在浏览器中打开即可访问，一般来说，它是长这样子的：

```
http://ip:port/nbgui/v1/sideload
```


## 📑 支持的功能

- [x] 图片显示
- [x] +1按钮
- [x] 消息时间显示
- [ ] 持久化登录
- [ ] 用户自定义设置
- [ ] 好友/加群申请
- [ ] 群成员管理
- [ ] 消息右键菜单
- [ ] 用户信息
- [ ] 群信息
- [ ] 发送图片
- [ ] 消息撤回
- [X] 暂时想不到了qwp



## 🖼️ 效果图

![image](imgs/s1.png)

![image](imgs/s2.png)

![image](imgs/s3.png)

