Skip to content

dwgx/skiapi-frontend

Repository files navigation

SKIAPI Frontend

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.pyscripts/config.py,填写私有主机、SSH、目录和端口配置后执行:

python scripts/deploy.py

本仓库不在公开文档中保存公网部署目标。远端测试请通过运行时参数指定:

npm run smoke:skiapi -- --base-url <authorized-frontend-url>

Scope And Deployment Boundary

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.

About

React admin console for NewAPI and SKIAPI LLM gateway deployments

Topics

Resources

License

Security policy

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors