Skip to main content

web ui support for nb-cli

Project description

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 和建议。

Project details


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.2.tar.gz (10.0 MB view hashes)

Uploaded Source

Built Distribution

nb_cli_plugin_webui-0.4.2-py3-none-any.whl (10.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page