Skip to main content

A web UI for managing NoneBot runtime config, loaded plugins, and plugin store entries.

Project description

nonebot-plugin-webui

一个面向 NoneBot2 的 WebUI 插件雏形,目标是集中管理 NoneBot 运行配置、已加载插件、插件设置与插件商店。

当前能力

  • 挂载到 FastAPI 驱动提供的 server_app
  • 查看 NoneBot 运行信息
  • 查看已读取的配置项,并自动遮蔽疑似密钥、令牌、密码字段
  • 查看已加载插件与 PluginMetadata
  • 从 NoneBot 官方 registry 拉取插件商店列表,并给出 nb plugin install 命令
  • 提供无构建链的静态 WebUI,方便先验证交互和后端接口

使用方式

安装到你的 NoneBot 项目环境后,在入口中加载插件:

nonebot.load_plugin("nonebot_plugin_webui")

确保项目使用 FastAPI 驱动,例如:

DRIVER=~fastapi

启动 NoneBot 后访问:

http://127.0.0.1:8080/webui

配置

WEBUI_PATH=/webui
WEBUI_STORE_URL=https://registry.nonebot.dev/plugins.json
WEBUI_STORE_TIMEOUT=10

路线图

  • 支持编辑 .env / .env.* 配置文件并生成变更预览
  • 为插件配置类生成可编辑表单
  • 调用 nb-cli 安装、更新、卸载插件
  • 增加鉴权与访问控制
  • 前端迁移到正式构建链并补充更完整的状态管理

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

nonebot_plugin_webui-0.1.2.tar.gz (257.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_webui-0.1.2-py3-none-any.whl (197.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_webui-0.1.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_webui-0.1.2.tar.gz
  • Upload date:
  • Size: 257.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nonebot_plugin_webui-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e1cb750aab3172afd331d37922d2a0869326ddd91bf2c780b64bd034048679b0
MD5 4ea3f7096892cf6f7950b50d0d2e88c0
BLAKE2b-256 55e51600ef863a275ee16dbf7f825bd971961997a759ab07162f16344c0db869

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_webui-0.1.2.tar.gz:

Publisher: release.yml on Coloynle/nonebot-plugin-webui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_webui-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_webui-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93e43c8c2ad847c86c937d77a053b86f745ccae3cd31d728da26020e159b4211
MD5 9128d396e89fc2f72f9d24f67ff8ae51
BLAKE2b-256 b3e2d48c7e6b77923da3e228d77e66194e2ad5514cae43fcef351a52365ad3d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_webui-0.1.2-py3-none-any.whl:

Publisher: release.yml on Coloynle/nonebot-plugin-webui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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