Waddle docs

Reference

Your quack address

A private address only you have. Anything that can make a web request can POST a line to it, and Waddle walks over with it on each of your Macs. Waddle Club.

Get yours

sh
waddle url

It's copied, ready to paste: https://quack.waddle.sh/quack/ and a secret of 24 letters and digits. waddle url --new makes a new one (the old one stops working), and waddle url --stop stops it. Run it in your own terminal: agents can't read your address. Only the Mac that made the address can show it again.

Treat it like a password. Whoever has it can make Waddle talk.

Send a line

sh
curl https://quack.waddle.sh/quack/<your-secret> -d 'deploy finished'

Plain text, or JSON with a title:

sh
curl https://quack.waddle.sh/quack/<your-secret> \
  -H 'content-type: application/json' \
  -d '{"title":"nightly","text":"all 214 tests passed"}'

Waddle brings it as a paper plane, on each of your Macs that's signed in.

FieldWhat it is
textUp to 1,000 characters. Required.
titleUp to 60 characters.

It's only ever drawn, never run: control characters are dropped. The server keeps a quack until each of your Macs has it, or 7 days.

Replies

StatuserrorWhen
200{ "ok": true }
400no-text, bad-jsonNothing to say, or JSON that doesn't parse
402not-in-clubThe address belongs to someone who isn't in the Waddle Club now
404no-such-addressNo address like that
413too-longMore than 1,000 characters
429too-manyMore than 30 a minute, or 500 a day (a quack to two Macs counts twice). Retry-After: 60.

The reply never says how many Macs you have.

From CI

A GitHub Actions step, with the address kept as a secret named WADDLE_QUACK:

yaml
- name: Tell Waddle
  if: always()
  run: |
    curl -fsS "$WADDLE_QUACK" -d "${{ github.workflow }}: ${{ job.status }}" || true
  env:
    WADDLE_QUACK: ${{ secrets.WADDLE_QUACK }}

More in A deploy duck from CI.