Metadata-Version: 2.1
Name: nonebot-plugin-qqshell
Version: 0.1.0a1
Summary: QQShell 是一个类 WebSSH、XShell 的运行在机器人的 SSH Shell，在 QQ 中自由运行你的命令吧
License: GPLv3
Author: yejue
Author-email: 1145331931@qq.com
Requires-Python: >=3.10,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: nonebot2 (>=2.2,<3.0)
Requires-Dist: nonebot_plugin_htmlrender (>=0.3.1,<0.4.0)
Requires-Dist: paramiko (>=3.4,<4.0)
Project-URL: homepage, https://github.com/yejue/nonebot-plugin-qqshell.git
Project-URL: repository, https://github.com/yejue/nonebot-plugin-qqshell.git
Description-Content-Type: text/markdown


<h1 align="center">✨QQShell✨</h1>
<p align="center">
_✨ QQShell 是一个类 WebSSH、XShell 的运行在机器人的 SSH Shell，在 QQ 中自由运行你的命令吧✨_
</p>


## 快速安装

第一步：右上角 ↗ 点个不要钱的 star 吧，这是不断维护更新的动力。

### nb-cli

```shell
nb plugin install nonebot-plugin-qqshell
```
### pip

```shell
pip install nonebot-plugin-qqshell
```

### git

```shell
cd /your-nonebot-project-home/plugins/
git clone https://github.com/yejue/nonebot-plugin-qqshell.git
```

## 使用
`shell` 或者 `>shell` + "你要执行的命令"
```text
shell ls
shell cd /awesome-bot
shell nb run --reload
```

## 配置
```text
QQSHELL_HOST = "localhost"      # 主机名，默认为 localhost，必填
QQSHELL_PORT = 22               # SSH 端口号，默认为 22，非必填
QQSHELL_HOST_USER = "root"      # 用户，默认为 root，必填
QQSHELL_HOST_PASSWORD = ""      # 密码，必填
QQSHELL_PRIORITY = 10           # 匹配优先级，默认为 10，非必填
QQSHELL_THEME = "theme_black_white_rikka"  # 主题，默认为黑色背景白色字体的 RIKKA，非必填

# 另一个主题：白色背景黑色字体的 RIKKA
QQSHELL_THEME = "theme_white_black_rikka"
```

## 示例

<img src="img.png" width="400"></img>

