ipieces is a Go package used to create Geocaching puzzles such as GCB1ZXB.
Available at https://pkg.go.dev/github/bitlux/caches/ipieces.
I deploy on Google Cloud Run. To do that, you must first sign
into the Google Cloud console,
create a project, and have
gcloud
installed.
To deploy, cd
to the directory with your main.go
file and run:
gcloud run deploy --source . <project> [--allow-unauthenticated]
To set the IP address of the request to foo
, use:
curl -H "<backdoor>: foo" localhost:8080/text
where <backdoor>
is the Puzzle.Backdoor
string you set.
I welcome issues and pull requests on GitHub and messages and email on geocaching.com.