Skip to main content

Watch and delivery

watch polls a page on an interval, tracks which items it has already seen, and emits or delivers only new items.

newsworker watch "https://example.com/news" --interval 300
newsworker watch "https://example.com/news" --channel webhook \
--webhook https://hooks.example/news
newsworker watch "https://example.com/news" --channel smtp \
--smtp-recipient alerts@example.com

Watch many sources at once with --urls-file or --from-opml, post to chat with --channel slack|discord|matrix|mastodon|telegram, and use --once from cron. watch also records item history (newsworker history) and, with --deliver-updates, delivers an edited item again.

Items enter a SQLite outbox. Delivery is acknowledged only after the destination reports success. Pending/retry state survives restart. Receivers should honor the stable Idempotency-Key webhook header.

See watch and delivery.