SKIAPI 的 Admin 控制台前端,对接 NewAPI。
基于 React 19 + Vite + MUI v7。
- React 19
- Vite
- MUI (Material UI) v7
- ESLint
git clone https://github.com/dwgx/skiapi-frontend.git
cd skiapi-frontend
npm install
npm run dev本地 Vite proxy 默认指向 http://127.0.0.1:3001。如果需要临时连授权的远端后端代理,显式设置 VITE_PROXY_TARGET=<authorized-backend-url>,不要把公网目标写成默认值。
npm run build预览构建产物:
npm run preview复制 scripts/config.example.py 为 scripts/config.py,填写私有主机、SSH、目录和端口配置后执行:
python scripts/deploy.py本仓库不在公开文档中保存公网部署目标。远端测试请通过运行时参数指定:
npm run smoke:skiapi -- --base-url <authorized-frontend-url>This repository is the admin frontend only. It expects a compatible NewAPI/SKIAPI backend and does not replace backend authentication, billing, model routing, or key storage.
- Configure the API base URL for your own deployment.
- Do not commit production hostnames, SSH details, admin tokens, or private deployment scripts.
- Test admin permissions against a staging backend before exposing the panel publicly.
- When documenting bugs, redact API keys, user identifiers, payment data, and backend logs.