Name | nonebot-plugin-qqshell JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | QQShell 是一个类 WebSSH、XShell 的运行在机器人的 SSH Shell,在 QQ 中自由运行你的命令吧 |
upload_time | 2024-06-04 02:53:28 |
maintainer | None |
docs_url | None |
author | yejue |
requires_python | <4.0,>=3.10 |
license | GPLv3 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<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>
Raw data
{
"_id": null,
"home_page": null,
"name": "nonebot-plugin-qqshell",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "yejue",
"author_email": "1145331931@qq.com",
"download_url": "https://files.pythonhosted.org/packages/12/85/7efeba6d0dbbed6ea851fa6c2d20111a82854a39751aed1e480552e17016/nonebot_plugin_qqshell-0.1.0.tar.gz",
"platform": null,
"description": "\n<h1 align=\"center\">\u2728QQShell\u2728</h1>\n<p align=\"center\">\n_\u2728 QQShell \u662f\u4e00\u4e2a\u7c7b WebSSH\u3001XShell \u7684\u8fd0\u884c\u5728\u673a\u5668\u4eba\u7684 SSH Shell\uff0c\u5728 QQ \u4e2d\u81ea\u7531\u8fd0\u884c\u4f60\u7684\u547d\u4ee4\u5427\u2728_\n</p>\n\n\n## \u5feb\u901f\u5b89\u88c5\n\n\u7b2c\u4e00\u6b65\uff1a\u53f3\u4e0a\u89d2 \u2197 \u70b9\u4e2a\u4e0d\u8981\u94b1\u7684 star \u5427\uff0c\u8fd9\u662f\u4e0d\u65ad\u7ef4\u62a4\u66f4\u65b0\u7684\u52a8\u529b\u3002\n\n### nb-cli\n\n```shell\nnb plugin install nonebot-plugin-qqshell\n```\n### pip\n\n```shell\npip install nonebot-plugin-qqshell\n```\n\n### git\n\n```shell\ncd /your-nonebot-project-home/plugins/\ngit clone https://github.com/yejue/nonebot-plugin-qqshell.git\n```\n\n## \u4f7f\u7528\n`shell` \u6216\u8005 `>shell` + \"\u4f60\u8981\u6267\u884c\u7684\u547d\u4ee4\"\n```text\nshell ls\nshell cd /awesome-bot\nshell nb run --reload\n```\n\n## \u914d\u7f6e\n```text\nQQSHELL_HOST = \"localhost\" # \u4e3b\u673a\u540d\uff0c\u9ed8\u8ba4\u4e3a localhost\uff0c\u5fc5\u586b\nQQSHELL_PORT = 22 # SSH \u7aef\u53e3\u53f7\uff0c\u9ed8\u8ba4\u4e3a 22\uff0c\u975e\u5fc5\u586b\nQQSHELL_HOST_USER = \"root\" # \u7528\u6237\uff0c\u9ed8\u8ba4\u4e3a root\uff0c\u5fc5\u586b\nQQSHELL_HOST_PASSWORD = \"\" # \u5bc6\u7801\uff0c\u5fc5\u586b\nQQSHELL_PRIORITY = 10 # \u5339\u914d\u4f18\u5148\u7ea7\uff0c\u9ed8\u8ba4\u4e3a 10\uff0c\u975e\u5fc5\u586b\nQQSHELL_THEME = \"theme_black_white_rikka\" # \u4e3b\u9898\uff0c\u9ed8\u8ba4\u4e3a\u9ed1\u8272\u80cc\u666f\u767d\u8272\u5b57\u4f53\u7684 RIKKA\uff0c\u975e\u5fc5\u586b\n\n# \u53e6\u4e00\u4e2a\u4e3b\u9898\uff1a\u767d\u8272\u80cc\u666f\u9ed1\u8272\u5b57\u4f53\u7684 RIKKA\nQQSHELL_THEME = \"theme_white_black_rikka\"\n```\n\n## \u793a\u4f8b\n\n<img src=\"img.png\" width=\"400\"></img>\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "QQShell \u662f\u4e00\u4e2a\u7c7b WebSSH\u3001XShell \u7684\u8fd0\u884c\u5728\u673a\u5668\u4eba\u7684 SSH Shell\uff0c\u5728 QQ \u4e2d\u81ea\u7531\u8fd0\u884c\u4f60\u7684\u547d\u4ee4\u5427",
"version": "0.1.0",
"project_urls": {
"homepage": "https://github.com/yejue/nonebot-plugin-qqshell.git",
"repository": "https://github.com/yejue/nonebot-plugin-qqshell.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9af2ee74bf7575620ce6dc47c74dfde9c56f346b3ad12109d1374d34be58ce1b",
"md5": "65daf1b59d52bfb052c92ae0565e23bb",
"sha256": "1afed71305eb5db9d5ff96897a4e0a3351571d565c0c8f6487f8aafcfc1c9763"
},
"downloads": -1,
"filename": "nonebot_plugin_qqshell-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65daf1b59d52bfb052c92ae0565e23bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 47521,
"upload_time": "2024-06-04T02:53:26",
"upload_time_iso_8601": "2024-06-04T02:53:26.806826Z",
"url": "https://files.pythonhosted.org/packages/9a/f2/ee74bf7575620ce6dc47c74dfde9c56f346b3ad12109d1374d34be58ce1b/nonebot_plugin_qqshell-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "12857efeba6d0dbbed6ea851fa6c2d20111a82854a39751aed1e480552e17016",
"md5": "c75e68178d4c99a4e37321da4186c804",
"sha256": "cdee0a27b55055b2f66f5f0b565c7d7724feebee7ac6e207865072dee922bd6a"
},
"downloads": -1,
"filename": "nonebot_plugin_qqshell-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c75e68178d4c99a4e37321da4186c804",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 46153,
"upload_time": "2024-06-04T02:53:28",
"upload_time_iso_8601": "2024-06-04T02:53:28.312097Z",
"url": "https://files.pythonhosted.org/packages/12/85/7efeba6d0dbbed6ea851fa6c2d20111a82854a39751aed1e480552e17016/nonebot_plugin_qqshell-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-04 02:53:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yejue",
"github_project": "nonebot-plugin-qqshell",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-qqshell"
}