QQShell 是一个类 WebSSH、XShell 的运行在机器人的 SSH Shell,在 QQ 中自由运行你的命令吧
Project description
✨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"
示例
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_plugin_qqshell-0.1.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_qqshell-0.1.0.tar.gz
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdee0a27b55055b2f66f5f0b565c7d7724feebee7ac6e207865072dee922bd6a |
|
MD5 | c75e68178d4c99a4e37321da4186c804 |
|
BLAKE2b-256 | 12857efeba6d0dbbed6ea851fa6c2d20111a82854a39751aed1e480552e17016 |
File details
Details for the file nonebot_plugin_qqshell-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_qqshell-0.1.0-py3-none-any.whl
- Upload date:
- Size: 47.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1afed71305eb5db9d5ff96897a4e0a3351571d565c0c8f6487f8aafcfc1c9763 |
|
MD5 | 65daf1b59d52bfb052c92ae0565e23bb |
|
BLAKE2b-256 | 9af2ee74bf7575620ce6dc47c74dfde9c56f346b3ad12109d1374d34be58ce1b |