Files
NapCatQQ/packages/napcat-webui-frontend
手瓜一十雪 e9b74138d1 Add configurable timeout calculation for transfers
Introduce timeout configuration and automatic timeout estimation for uploads/downloads. Added TimeoutConfig to OneBot config with baseTimeout, upload/downloadSpeedKBps and maxTimeout, plus calculateTimeout and capTimeout helpers. Applied estimation to FileApi.downloadFileById calls (GetFile, BaseDownloadStream) and to message sending (OneBotMsgApi) to compute timeouts from total payload size; sendMsg now accepts an optional timeout override which is capped by maxTimeout. Updated SendMsg payload schema to allow a custom timeout, and updated web UI store, types and config form to expose timeout settings and defaults.
2026-03-12 15:01:34 +08:00
..
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00

NapCat WebUI

功能

  • WebUI登录
  • QQ登录
  • 网络配置
  • OneBot/WebUI配置
  • 日志查看(实时日志、历史日志)
  • HTTP调试
  • WS调试
  • 在线音乐播放器,支持网易云音乐歌单(大屏在页面右下角,小屏在页面下方)

如果你有更多功能需求,欢迎在 issue 中提出。

License

MIT

Related Projects

Thanks to

感谢群友“维拉”提供的在线音乐API。