Install

Add the library with go get, and the CLI with go install.

The library is a plain Go module with no CGo. It also builds for GOOS=js GOARCH=wasm.

terminal
go get github.com/voidrab/gopdfrab

The CLI is the same engine as a single binary of about 11.9 MB. See the CLI reference.

terminal
go install github.com/voidrab/gopdfrab/cmd/gopdfrab@latest

A program that only validates can import github.com/voidrab/gopdfrab/verify and comes to about 4.3 MB. The API has been stable since 1.0.