✨QQShell✨
_✨ QQShell 是一个类 WebSSH、XShell 的运行在机器人的 SSH Shell,在 QQ 中自由运行你的命令吧✨_
快速安装
第一步:右上角 ↗ 点个不要钱的 star 吧,这是不断维护更新的动力。
nb-cli
nb plugin install nonebot-plugin-qqshell
pip
pip install nonebot-plugin-qqshell
git
cd /your-nonebot-project-home/plugins/
git clone https://github.com/yejue/nonebot-plugin-qqshell.git
使用
shell 或者 >shell + "你要执行的命令"
shell ls
shell cd /awesome-bot
shell nb run --reload
配置
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"
示例
Metadata
Release files for nonebot-plugin-qqshell 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_qqshell-0.1.0.tar.gz | 46.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_qqshell-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 93.7 kB
Release files / nonebot_plugin_qqshell-0.1.0.tar.gz
| Download URL | nonebot_plugin_qqshell-0.1.0.tar.gz |
|---|---|
| Size | 46.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdee0a27b55055b2f66f5f0b565c7d7724feebee7ac6e207865072dee922bd6a
|
|
BLAKE2b-256 checksum How to use checksums |
12857efeba6d0dbbed6ea851fa6c2d20111a82854a39751aed1e480552e17016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.11 Windows/10
|
Release files / nonebot_plugin_qqshell-0.1.0-py3-none-any.whl
| Download URL | nonebot_plugin_qqshell-0.1.0-py3-none-any.whl |
|---|---|
| Size | 47.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1afed71305eb5db9d5ff96897a4e0a3351571d565c0c8f6487f8aafcfc1c9763
|
|
BLAKE2b-256 checksum How to use checksums |
9af2ee74bf7575620ce6dc47c74dfde9c56f346b3ad12109d1374d34be58ce1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.11 Windows/10
|