// linear integration
Linear webhook for issue events on your laptop
Linear posts webhooks for issue / project / cycle changes. To iterate on a Linear-integrated tool locally, you need a public URL — lrok wraps it in one command.
1 · Set up the lrok tunnel
1. Reserve
$ lrok reserve linear-dev2. Run handler
$ npm run dev3. Tunnel
$ lrok http 3000 --hint linear-dev
2 · Configure Linear
1. Linear → Settings → API → Webhooks → Create webhook
URL: https://linear-dev.lrok.io/webhooks.
2. Pick events
Issue, Comment, Project — start narrow.
3. Save the signing secret as LINEAR_WEBHOOK_SECRET
// linear-specific gotcha
Linear-Signature is HMAC-SHA256 hex over the raw body. Ensure body parsing happens after verification — same Stripe-style trap.