From 13355b11d82d73c220c92ec07c45a39718299dad Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 24 Nov 2025 15:33:28 +0100 Subject: [PATCH] Update README for up/poll workflow and aliases --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c5d8540f..9797e9935 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,11 @@ Small TypeScript CLI to send, monitor, and webhook WhatsApp messages via Twilio. - With Tailscale, expose it: `tailscale serve tcp 42873 127.0.0.1:42873` and use your tailnet IP. - Customize path if desired: `--path /hooks/wa` - If no `--reply`, auto-reply can be configured via `~/.warelay/warelay.json` (JSON5) -- Setup helper: `pnpm warelay setup --port 42873 --path /webhook/whatsapp` - - Validates Twilio env, confirms `tailscale` binary, starts the webhook, enables Tailscale Funnel, and sets the Twilio incoming webhook to your Funnel URL. +- Webhook/funnel “up”: `pnpm warelay up --port 42873 --path /webhook/whatsapp` + - Validates Twilio env, confirms `tailscale` binary, enables Tailscale Funnel, starts the webhook, and sets the Twilio incoming webhook to your Funnel URL. - Requires Tailscale Funnel to be enabled for your tailnet/device (admin setting). If it isn’t enabled, the command will exit with instructions; alternatively expose the webhook via your own tunnel and set the Twilio URL manually. +- Polling mode (no webhooks/funnel): `pnpm warelay poll --interval 5 --lookback 10 --verbose` + - Useful fallback if Twilio webhook can’t reach you. ## Config-driven auto-replies