Skip to main content

NoneBot 网页终端实时log显示/输出插件

Project description

nonebot

nonebot-plugin-logstream

✨ NoneBot 网页终端实时log显示/输出插件 ✨
✨ 基于SSE(Server-Sent Events) ✨

python

使用方式

在Nonebot项目的pyproject.toml文件plugins字样添加nonebot_plugin_logstream

或者pull项目到Nonebot插件目录

查看实时log网页:

查看log输出流(SSE):

贡献与支持

如果觉得此项目还有点用处请点个 Star谢谢喵

有意见或者建议欢迎提交 IssuesPull requests

提示

KiKi-XC的第一个Nonebot插件,有代码不规范的地方,欢迎PR和指正!

SSE发送Log的频率为2秒刷新一次

SSE(Server-Sent Events)可能不兼容某些远古浏览器,例如 IE

输出流已经将ANSI颜色字符转换为HTML标签了,因此可以直接显示在网页上,可参考 View/log.html

许可证

本项目使用 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nonebot_plugin_logstream-1.0.1-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 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