···5959 patreonFiftyPlus = flag.String("patreon-fifty-plus", "", "Comma-separated list of Patreon usernames always treated as $50+ sponsors")
60606161 // Thoth settings
6262- thothToken = flag.String("thoth-token", "", "Thoth API token (use a god token)")
6363- thothURL = flag.String("thoth-url", "passthrough:///thoth.techaro.lol:443", "URL for the Thoth API server")
6262+ thothInsecure = flag.Bool("thoth-insecure", false, "if true, connect to thoth without TLS")
6363+ thothToken = flag.String("thoth-token", "", "Thoth API token (use a god token)")
6464+ thothURL = flag.String("thoth-url", "passthrough:///thoth.techaro.lol:443", "URL for the Thoth API server")
64656566 //go:embed static
6667 staticFS embed.FS
+1
docker/patreon-saasproxy.Dockerfile
···1111RUN go mod download
12121313COPY . .
1414+RUN apk -U add git
1415RUN --mount=type=cache,target=/root/.cache GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -ldflags="-X xeiaso.net/v4.Version=$(git describe --tags --always --dirty)" -gcflags "all=-N -l" -o /app/bin/patreon-saasproxy ./cmd/patreon-saasproxy
15161617FROM alpine:${ALPINE_VERSION} AS run
+1-1
docker/sponsor-panel.Dockerfile
···1212RUN go mod download
13131414COPY . .
1515-RUN apk -U add nodejs npm \
1515+RUN apk -U add git nodejs npm \
1616 && npm ci \
1717 && cd ./cmd/sponsor-panel \
1818 && go generate ./...