Initial sanitized code sync

This commit is contained in:
zqq61
2026-03-15 20:48:19 +08:00
commit 17ee51ba04
126 changed files with 22546 additions and 0 deletions

18
build.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
echo "=== Building GPT-Plus ==="
# 1. Build frontend
echo ">> Building frontend..."
cd web/frontend
npm install
npm run build
cd ../..
# 2. Build backend (embeds frontend dist)
echo ">> Building backend..."
CGO_ENABLED=1 go build -o gptplus ./cmd/gptplus/
echo "=== Build complete: ./gptplus ==="
echo "Run: ./gptplus (ensure .env exists)"