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.1.tar.gz
(259.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_webui-0.1.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_webui-0.1.1.tar.gz
- Upload date:
- Size: 259.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4424c58d4e9f6046bf5f85edfca7c9bf72b907185fd4922f4745dc09203996c
|
|
| MD5 |
f6e5f40cbda1fb3e198f43c4b623500e
|
|
| BLAKE2b-256 |
38a80b91d446a54bf89c7a97826d26ba51aa873a9fcfe250888b5fcec9b6e3a5
|
File details
Details for the file nonebot_plugin_webui-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_webui-0.1.1-py3-none-any.whl
- Upload date:
- Size: 199.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20bd0ab7dbc652a09ff92ac3fded8312dcc1815c724a1172e9d6175514b806e9
|
|
| MD5 |
c6c2b17847c849382d143056aa5c70c4
|
|
| BLAKE2b-256 |
c07cb26c21a49ce0b4574a9cadd206b2fb2e2a0c96d84b796137dca9072338e8
|