首次提交: OnebotCatalog 项目代码与文档(含 NX 按需生成服务二期、后台、一键启动)

This commit is contained in:
wangruiguo
2026-09-03 17:55:45 +08:00
commit fafa86d3a6
241 changed files with 78656 additions and 0 deletions

17
_start_web.bat Normal file
View File

@@ -0,0 +1,17 @@
@echo off
setlocal
cd /d "%~dp0"
echo ==== start web server (default root = release\web_2026.08, port 8080) ====
start "OnebotWeb" powershell -NoProfile -ExecutionPolicy Bypass -File "tools\serve-web.ps1"
timeout /t 4 /nobreak >nul
echo ==== check web (8080) + genserver (8899) ====
curl.exe -s -o nul -w "web : %%{http_code}\n" http://localhost:8080/index.html
curl.exe -s http://localhost:8899/health
echo.
echo ==== done. browser: http://localhost:8080 ====
echo (keep the OnebotWeb window open; close it to stop the server)
endlocal