This commit is contained in:
2025-11-14 12:11:44 +08:00
commit 39ebf61572
88 changed files with 9999 additions and 0 deletions

13
scripts/demo-proxy.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
MODE="${1:-docker}"
CONFIG="configs/${MODE}.sample.toml"
if [[ ! -f "${CONFIG}" ]]; then
echo "Unknown mode '${MODE}'. Available samples: docker, npm" >&2
exit 1
fi
echo "Starting any-hub with ${CONFIG}"
exec go run ./cmd/any-hub --config "${CONFIG}"