From 7166efef082cb88e12b61c5651db9f21d4e08e70 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 25 Nov 2025 22:16:09 +0100 Subject: [PATCH] docs: document media resize config --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89783aa254..82dc28aa46 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Install from npm (global): `npm install -g warelay` (Node 22+). Then choose **on ### Sending images - Twilio: `warelay send --to +1... --message "Hi" --media ./pic.jpg --serve-media` (needs `warelay webhook --ingress tailscale` or `--serve-media` to auto-host via Funnel; max 5 MB). - Web: `warelay send --provider web --media ./pic.jpg --message "Hi"` (local path or URL; no hosting needed). -- Auto-replies can attach `mediaUrl` in `~/.warelay/warelay.json` (used alongside `text` when present). +- Auto-replies can attach `mediaUrl` in `~/.warelay/warelay.json` (used alongside `text` when present). Web auto-replies now auto-resize/recompress images and cap size by config: set `inbound.reply.mediaMaxMb` (default 5) to control the post-compression limit; images are resized (max side 2048px) and JPEG-compressed to fit. ## Providers - **Twilio (default):** needs `.env` creds + WhatsApp-enabled number; supports delivery tracking, polling, webhooks, and auto-reply typing indicators.