feat: Prism HTTP/SOCKS5 代理网关及管理台
CI / docker (push) Successful in 2m54s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
renjue
2026-06-23 15:58:28 +08:00
commit fe8ea784d0
170 changed files with 20056 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
.PHONY: dev dev-web build build-web run test clean
dev:
@echo "Run backend and frontend in separate terminals:"
@echo " make run"
@echo " make dev-web"
dev-web:
cd web && npm run dev
build-web:
cd web && npm run build
rm -rf internal/api/static/*
cp -r web/dist/* internal/api/static/
build: build-web
go build -o dist/prism ./cmd/prism
run:
go run ./cmd/prism
test:
go test ./...
clean:
rm -rf dist web/dist internal/api/static/*
@echo '<!DOCTYPE html><html><body>Prism</body></html>' > internal/api/static/index.html