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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nb_cli_plugin_webui-0.4.2.tar.gz.

File metadata

  • Download URL: nb_cli_plugin_webui-0.4.2.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nb_cli_plugin_webui-0.4.2.tar.gz
Algorithm Hash digest
SHA256 4d4c84063fee972e817f8df2dbaf382ad3e97ab1035b0a4f893366c92a2b255b
MD5 6787802ca12965b3b27808c715f1e008
BLAKE2b-256 505c26b8440e4100231aadc727c8978423d69ab1867bc0f788f4fe2d95e3a141

See more details on using hashes here.

File details

Details for the file nb_cli_plugin_webui-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nb_cli_plugin_webui-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 085d1d8a9a84451c3127a47193f52894ee564e05449a190f728f2d06e5d80c7a
MD5 53a739e64cf68521ecfbf2b148a6efd4
BLAKE2b-256 027bde4473f06eba6ba67e47c4205264fad2fb059d97f48fed429ea1f3badc66

See more details on using hashes here.

Supported by

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