cyi-box: Memphis-style toolbox admin platform

Go(fun)+SQLite backend, Vue 3 frontend. Modules: dashboard, pay gateway
(Epay-compatible + CDK stock), license/card system (per-app appid, domain
binding), AI memory bank with built-in MCP server (/mcp, FTS5 search,
signed read links), server SSH monitor + terminal + SFTP, proxy pool with
protocol-level alive checks, DB manager (mysql/pg/sqlite + SQL
autocomplete + import/export), disk share, vault (AES-GCM + TOTP),
bookmarks, dev tools.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2026-10-01 01:58:47 +08:00
co-authored by Devin
commit 834ecacdb9
326 changed files with 27813 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
NODE_BIN := $(HOME)/.local/opt/node-v22.23.2-linux-x64/bin
export PATH := $(NODE_BIN):$(PATH)
.PHONY: dev backend frontend gen build
# 前后端一起起:后端 :8890,前端 :5173
dev:
(cd backend && go run ./cmd/server) & (cd frontend && npm run dev)
backend:
cd backend && go run ./cmd/server
frontend:
cd frontend && npm run dev
# 改了 backend 服务/DTO 后跑这个:sqlc 重新生成 internal/db,再生成 frontend/src/api
gen:
cd backend && go tool sqlc generate && go run ./cmd/gen
# 用 cp 覆盖而非 mv:内容重写才能触发 vite watcher,mv(rename) 会让 dev server 继续喂过期模块
cp -f frontend/src/api/ts/* frontend/src/api/ && rm -rf frontend/src/api/ts
build:
cd backend && go build ./...
cd frontend && npm run build