webhook relay for slop
Webhooks for your slop bots, sealed to your machine
Stripe, GitHub, your own scripts: point them at a slopharness.com URL and the event wakes the right bot on your desktop. We encrypt each one to your device's key the moment it lands, so we only ever hold ciphertext.
~/shop
$ slop login open slopharness.com/device, code KHTB-WQZM signed in as you@example.com $ slop bot hook triage --stripe url https://slopharness.com/h/hk_9fQ2... $ # Stripe sends invoice.paid event ev_Lq7... decrypted, 2.1 KB bot triage woke up in shop
How it works
01
Sign this machine in
$ slop login
slop makes a key pair, shows a code, and you approve it on this site. Only the public key leaves your machine.
02
Give a bot a hook
$ slop bot hook NAME
You get a URL with its own secret. The site knows the hook's id and label, your machine knows which bot it wakes.
03
Paste it into the sender
https://slopharness.com/h/hk_...
Stripe, GitHub, a cron job, anything that POSTs. Events wait up to 7 days if your machine is off.
We relay what we cannot read
The moment a webhook is accepted, its headers and body are sealed to your device's public key. The queue, the database and our logs only ever see ciphertext, sizes and times.
- + Signatures checked first: path secret, X-Slop-Signature, or Stripe's
- + One outbound WebSocket from your desktop, no open ports
- + Deleted from our queue as soon as your machine acks it
- + 60 events a minute per hook, 1 MiB each
per event
epk = fresh X25519 public key
shared = X25519(ephemeral, device public)
key = HKDF-SHA256(shared, salt = epk || device, "slopharness event v1")
ct = AES-256-GCM(key, 12 byte iv, payload, aad = event id)
the private key never leaves your machine