web ui support for nb-cli
Project description
NB CLI Plugin WebUI
✨ NoneBot2 命令行工具 前端可视化页面(WebUI) 插件 ✨
功能
- 可视化的 nb cli 操作
- 创建新的 NoneBot 实例
- 添加已有的 NoneBot 实例
- 拓展(插件、适配器、驱动器)管理(安装、卸载)
- 可同时管理多个 NoneBot 实例
- 为启动的 NoneBot 实例提供状态展示、性能查询
- 可视化的 NoneBot 实例配置
使用
安装
需要 nb-cli
使用 nb-cli 安装
nb self install nb-cli-plugin-webui
使用 Docker 运行
docker pull nonebot/cil-plugin-webui:latest
Docker 镜像可以选择以下版本:
latest
,latest-slim
: 最新的稳定版本 (Release)latest-${python 版本}
,latest-slim-${python 版本}
: 指定 Python 版本的最新版本sha-${commit sha:0:7}-${python 版本}
,sha-${commit sha:0:7}-${python 版本}-slim
: 指定 commit 的版本${branch}-${python 版本}
,${branch}-${python 版本}-slim
: 指定分支的最新版本
命令行使用
nb ui --help
Docker 镜像使用
docker run -it --rm -p 8080:8080 -v ./:/app nonebot/cli-plugin-webui:latest --help
可选附加 env 参数:
- HOST: 指定监听地址,默认为
0.0.0.0
- PORT: 指定监听端口,默认为
8080
开发
待补充......
补充
nb-cli WebUI 目前正处于快速迭代中,欢迎各位提交在使用过程中发现的 BUG 和建议。
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
nb_cli_plugin_webui-0.4.0.tar.gz
(10.0 MB
view hashes)
Built Distribution
Close
Hashes for nb_cli_plugin_webui-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdf6b3d4660d01b9863939df3e4fa51793efc07ebe810a7b2fbb3e96afe1a5a5 |
|
MD5 | 626a452b3de9af522d44e98839189d57 |
|
BLAKE2b-256 | dd7726a4a8ec5920a9b55c15d7716ad616d662114d27302500c393afea1a97e2 |
Close
Hashes for nb_cli_plugin_webui-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 339feea8930c005a9c0c00921d3ea7b00451a8d0a465dce918d80102567eea75 |
|
MD5 | e4e0d99a37ef77e0af274304683f1948 |
|
BLAKE2b-256 | 56034300524aed86a9142fdcad407fafae09432046710f965949ec9609a04ee0 |