NapCatQQ/packages/napcat-webui-frontend
手瓜一十雪 699b46acbd Improve plugin status handling and dirname lookup
Enhanced setPluginStatus to support enabling/disabling plugins by both package name and dirname, improving robustness when plugins are not loaded. Also removed redundant directory name matching logic from findDirnameById in the web UI backend.

Register plugin after installation in PluginStore

Adds logic to immediately register a plugin with the plugin manager after installation, both in the standard and SSE install handlers. This ensures newly installed plugins are available without requiring a restart or manual reload.

Refactor plugin path handling in plugin manager

Simplifies plugin directory and data path resolution by using pluginPath from the plugin context instead of fileId. Streamlines plugin uninstall and reload logic, removing redundant file system scans and improving code clarity.

Refactor plugin API to use package id and improve UX

Standardized plugin management APIs and frontend to use 'id' (package name) instead of ambiguous 'name' or 'filename'. Added support for a 'plugin' display field in package.json and improved plugin store UI to show install/update status. Refactored backend and frontend logic for enabling, disabling, uninstalling, and configuring plugins to use consistent identifiers, and enhanced type definitions and documentation for better maintainability.
2026-01-29 16:42:15 +08:00
..
public Refactor schema ID handling and reduce parse depth 2026-01-28 16:01:43 +08:00
scripts Remove unused dependencies and optimize Monaco workers 2025-12-24 15:32:21 +08:00
src Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00
.env feat: 优化webui界面和文件管理器 (#1472) 2026-01-01 21:40:39 +08:00
.gitignore Add pnpm-lock.yaml and update .gitignore 2025-11-30 18:08:22 +08:00
.npmrc refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
index.html refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
LICENSE refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
package.json Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
postcss.config.js Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
README.md refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
tailwind.config.js Remove unused dependencies and optimize Monaco workers 2025-12-24 15:32:21 +08:00
tsconfig.json refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
tsconfig.node.json refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
vercel.json refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
vite-env.d.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
vite.config.ts feat: 优化离线重连机制,支持通过前端实现重新登录 2026-01-17 15:38:24 +08:00

NapCat WebUI

功能

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

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

License

MIT

Related Projects

Thanks to

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