COMMAND LINE INTERFACE & ENGINE SPECIFICATION

gproof & git proof CLI Reference

Single statically linked Go binary. Native Git plugin integration. Self-upgrades in milliseconds with cryptographically signed release manifests.

โšก Dual Execution: Standalone and Git Plugin

GitProof is designed to fit naturally into your terminal muscle memory. Because Git automatically resolves any binary named git-<subcommand> in your $PATH as a native Git subcommand, you can run GitProof in two interchangeable ways:

TERMINALInterchangeable Execution Modes
# 1. Direct binary execution
gproof status

# 2. Native Git subcommand execution
git proof status

๐Ÿ“– Complete Command Reference

Command Description Primary Flags
status Inspects working tree state, commit HEAD, Merkle tree hash, author identity, and license tier. --dir
seal Computes the Merkle DAG, anchors an RFC 3161 TSA timestamp, binds active license tier & entity, and signs .gitproof/proof.json. --entity, --tsa-url
verify Cryptographically validates repository integrity and TSA certificate chain against proof.json. --proof <file>, --key <pub>
cert Generates a court-admissible Federal Rule of Evidence 902 vector PDF certificate of authenticity. -o <output.pdf>, --entity, --title, --jurisdiction
buy Opens Stripe Checkout in your browser for GitProof Pro ($79 lifetime, $29/mo, $290/yr) or Team ($99/mo, $990/yr) commercial licenses. lifetime, pro, annual, team
auth Activates an offline Ed25519 Pro/Team license token or Stripe Checkout Session ID (cs_live_...). --entity, --status, <token>
badge Renders a dynamic SVG badge for README markdown showing verified authorship status and commit hash. --profile prints a GitHub profile trophy, one live badge per sealed repo. -o <badge.svg>, --profile, --repo, --scan
demo Builds a throwaway repository whose git author date is a sticker, seals it against a clock, and prints the card. --notarize asks a time stamp authority. --keep, --notarize
flex Prints the fetch-style seal card from proof.json: a line G, two clocks, color bar. The git date and the seal clock are separate lines. --proof <file>, --color always|never|auto
hook Installs, inspects, or removes automated pre-push and pre-commit Git lifecycle hooks. install, status, uninstall
upgrade Checks for newer releases, validates SHA-256 integrity, and performs in-place binary self-upgrade. --check
version Displays binary version, build commit, target architecture, and compilation timestamp. โ€”

๐Ÿ’ป Practical Examples

1. The card people paste

TERMINALSticker date, fetch card, profile trophy
# Throwaway repo. The git date is a sticker. The clock is this machine.
gproof demo

# The fetch card for a repo that already has a seal.
gproof flex

# One live badge per sealed repo, for a GitHub profile README.
gproof badge --profile

2. Activating Pro & Contemporaneous Sealing

TERMINALActivate Pro License & Seal Repository
gproof auth --entity "Acme Technologies LLC" <TOKEN_OR_SESSION_ID>
gproof seal

Attestation sealed successfully: .gitproof/proof.json
Commit:       c32c9b82552ca3c3ce4a9b9cede9a84a502494ef
Merkle Root:  e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
License Tier: PRO (Official FRE 902 Commercial Seal โ€” Acme Technologies LLC)

3. Generating Unwatermarked FRE 902 Court Exhibit PDF

TERMINALGenerate Official Vector PDF Exhibit
gproof cert --entity "Acme Technologies LLC" --title "Managing Member" --jurisdiction "Portland, OR" -o FRE902-Certificate.pdf

Exported FRE 902 PDF certificate to: FRE902-Certificate.pdf (Official Pro Exhibit โ€” Licensed to Acme Technologies LLC)

4. Retroactive Pro Certificate Export from Historical Seals

TERMINALUpgrade Historical Community Proof to Official Corporate Exhibit
# 1. Purchase early adopter lifetime license
gproof buy lifetime

# 2. Activate with your offline Ed25519 token
gproof auth --entity "Acme Technologies LLC" <TOKEN>

# 3. Export clean, unwatermarked PDF exhibit from existing proof.json
gproof cert --proof .gitproof/proof.json --entity "Acme Technologies LLC" -o Official-Exhibit.pdf

Exported FRE 902 PDF certificate to: Official-Exhibit.pdf (Official Pro Exhibit โ€” Licensed to Acme Technologies LLC)

๐Ÿ”ง Environment Variables