Sign inSign up

nonebot/cli-plugin-webui

By nonebot

•Updated almost 2 years ago

Web UI for NoneBot CLI

Image
0

9.7K

nonebot/cli-plugin-webui repository overview

nonebot

⁠NB CLI Plugin WebUI

✨ NoneBot2 命令行工具 前端可视化页面(WebUI) 插件 ✨

license ⁠ pypi ⁠ python pre-commit ⁠
QQ Chat Group ⁠ QQ Channel ⁠ Telegram Channel ⁠ Discord Server ⁠

⁠功能

  • 可视化的 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 和建议。

Tag summary

Content type

Image

Digest

sha256:bd60ea0f0…

Size

44.3 MB

Last updated

almost 2 years ago

docker pull nonebot/cli-plugin-webui:master-py3.9-slim