Files
NapCatQQ/packages/napcat-webui-frontend
手瓜一十雪 b9f61cc0ee Add configurable bypass options and UI
Introduce granular "bypass" configuration to control Napi2Native bypass features and expose it in the WebUI.

Key changes:
- Add bypass defaults to packages/napcat-core/external/napcat.json and BypassOptionsSchema in napcat-core helper config.
- Extend Napi2NativeLoader types: enableAllBypasses now accepts BypassOptions.
- Framework & Shell: load napcat.json (via json5), pass parsed bypass options to native loader, and log the applied config. Add json5 dependency.
- Shell: implement loadBypassConfig with a crash-recovery override (NAPCAT_BYPASS_DISABLE_LEVEL) and add master<->worker IPC (login-success) plus progressive bypass-disable strategy to mitigate repeated crashes before login.
- WebUI backend: add GET/Set endpoints for NapCat config (NapCatConfigRouter) with validation and JSON5-aware defaults.
- WebUI frontend: add BypassConfig page, types, and controller methods to get/set bypass config.
- Update package.json to include json5 and update pnpm lockfile; native binaries (.node / ffmpeg.dll) also updated.

This enables operators to tune bypass behavior per-installation and to have an in-UI control for toggling anti-detection features; it also adds progressive fallback behavior to help recover from crashes caused by bypasses.
2026-02-18 22:09:27 +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。