NapCatQQ/packages/napcat-webui-backend
手瓜一十雪 02dfac23b9 Use memory-based zip import/export and multer
Replace disk-based zip handling with in-memory streaming to avoid temp files: remove unzipper/@types(unzipper) deps from package.json; update BackupConfig to stream-export configs with compressing.zip.Stream and to import by extracting uploaded zip buffer via compressing.zip.UncompressStream into in-memory Buffers. Backup of existing config is kept in-memory instead of copying to tmp, and imported files are written with path normalization checks. Router changed to use multer.memoryStorage() for uploads (remove dynamic tmp/disk upload logic and uploadSizeLimit usage). Also remove uploadSizeLimit from config schema.
2026-02-01 10:12:29 +08:00
..
src Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
index.ts Support preferred WebUI port via environment variable 2026-01-18 12:19:03 +08:00
package.json Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
Readme.md refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
tsconfig.json Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
webui.json Add flexible IP access control to WebUI config 2026-01-26 19:46:15 +08:00

The Path of NapCatQQ

Tiny WebUi Backend for NapCatQQ