Skip to content

Nonebot2插件--基于SSE(Server-Sent Events)的网页实时Log输出流

License

Notifications You must be signed in to change notification settings

KiKi-XC/nonebot_plugin_logstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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 作为开源许可证。

About

Nonebot2插件--基于SSE(Server-Sent Events)的网页实时Log输出流

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published