Skip to content

Installation

Prerequisites

  • Go 1.21+ — the toolchain is also required at worker runtime, since workers invoke go test -coverprofile.
  • Postgres 16+ — durable store for tasks, results, locks, and per-repo config.
  • NATS with JetStream enabled — job queue and event bus.
  • go-crap — the scanner binary, on PATH (or set crap_bin).
# go-crap installer
curl -fsSL https://padiazg.github.io/go-crap/install.sh | sh

Build

git clone https://github.com/padiazg/go-crap-tracker.git
cd go-crap-tracker

# with make (embeds version, commit, build date)
make build

# or directly
go build -o go-crap-tracker .

Verify:

./go-crap-tracker version --simple

Run

Start the control plane and a worker in two terminals:

# terminal 1 — control plane
./go-crap-tracker serve

# terminal 2 — worker
./go-crap-tracker worker

See Quick Start to schedule your first scan.