A small, fast, concurrent CORS proxy server written in Go.
Available as a binary or a Docker image (both ~2MB).
If you have Make, use the Makefile and run
makeOr alternatively run
go build proxy.goto build for your platform.
-
Compiling the program with no flags results in a 8.2 MB binary.
-
Compiling the binary with
-ldflags "-s -w"reduces the binary size to 5.6 MB. -
Compressing with UPX reduces the binary size to 2.3 MB.
-
Compressing with UPX with the
--bruteflag reduces the binary size to 1.8 MB.