Skip to main content

一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息

Project description

nonebot-plugin-shiro-web-console

一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息。

安装

nb plugin install nonebot-plugin-shiro-web-console

或者使用 pip:

pip install nonebot-plugin-shiro-web-console

使用

  1. 启动机器人后,在群聊或私聊中发送 web控制台 获取登录验证码。
  2. 访问机器人运行所在的 http://ip:port/web_console
  3. 输入验证码即可登录。

配置

.env 文件中可以配置:

web_console_password=your_password  # 设置固定登录密码

更新日志

v0.1.22

  • 优化:改进日志下载功能,支持将多个轮转日志文件打包为 ZIP 格式下载,解决旧日志无法获取的问题。

v0.1.21

  • 修复:修复因 nonebot_plugin_localstore 加载顺序导致的 RuntimeError,确保插件能够正常加载。

v0.1.20

  • 优化:改进 nb 命令调用逻辑,支持自动规范化插件名称(处理下划线/连字符),增加 python -m nb_cli 调用方式作为回退,提高插件安装/更新的成功率。

v0.1.19

  • 修复:优化插件版本检测逻辑,增加对连字符命名和 PyPI 包名的兼容性匹配,解决更新后版本号不刷新的问题。

v0.1.18

  • 修复:尝试通过清理工作流配置来解决 GitHub Actions 触发失效问题。
  • 修复:修复 WebSocket 连接清理时的竞争条件(KeyError),解决偶发的 500 错误。

v0.1.17

  • 修复:尝试修复 GitHub Actions 发布工作流触发问题。
  • 修复:修复 WebSocket 连接清理时的竞争条件(KeyError),解决偶发的 500 错误。

v0.1.16

v0.1.15

  • 修复:修复插件商店操作时的 500 错误(缺少异步锁定义)。
  • 修复:修复 WebSocket 连接断开时的异常报错。
  • 新增:正式实装完整日志记录与下载功能。

v0.1.14

  • 新增:完整运行日志记录功能,支持在网页端直接下载。
  • 优化:添加插件商店操作锁,解决多插件同时更新导致的冲突问题。
  • 优化:改进插件版本获取逻辑,准确对比版本号并过滤非更新项。
  • 优化:优化移动端适配及部分 UI 交互。

许可证

MIT

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_shiro_web_console-0.1.22.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file nonebot_plugin_shiro_web_console-0.1.22.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_shiro_web_console-0.1.22.tar.gz
Algorithm Hash digest
SHA256 4d9c93dc11a3289ffd84cbd3d6a4f32e1fe723939b782e4a899c4e6c8d4fa915
MD5 a2193c4ee6c34d2c33483119dff57e15
BLAKE2b-256 13b073db7bfd0ef0ec332fa4fd29dd51feeb21085f27f5d42805f2b06570e00e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_shiro_web_console-0.1.22.tar.gz:

Publisher: publish.yml on luojisama/nonebot-plugin-shiro-web-console

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_shiro_web_console-0.1.22-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_shiro_web_console-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ae0dd0b3ccfb80d3ba40f7960bbb771bdc108fab247f9731f0067020a0310e
MD5 dedddd95e0e3d36af44e52d349892dfd
BLAKE2b-256 b0ae91bf04df4e4f8e0201521762dff464d30e69061e1d368b0bfdfd9e96df72

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_shiro_web_console-0.1.22-py3-none-any.whl:

Publisher: publish.yml on luojisama/nonebot-plugin-shiro-web-console

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