wachi
Subscribe any link and get notified on change. Monitors URLs for new content, pushes notifications to 90+ services via apprise.
Install
# npm / bun (no install needed)
npx wachi --help
bunx wachi --help
# global install
npm i -g wachi
bun i -g wachi
# shell script
curl -fsSL https://raw.githubusercontent.com/ysm-dev/wachi/main/install.sh | sh
# homebrew
brew tap ysm-dev/tap && brew install wachiQuick Start
# 1. Subscribe to any URL (auto-discovers RSS)
wachi sub -n main -a "slack://xoxb-token/channel" "https://blog.example.com"
# 2. Check for new content (run on a schedule)
wachi check
# New posts get pushed to Slack. That's it.Commands
wachi sub -n <name> <url> Subscribe URL to notification channel
-a, --apprise-url <url> Required when creating a new channel
-e, --send-existing Send all current items on next check (skip baseline)
wachi unsub -n <name> [url] Unsubscribe URL or remove entire channel
wachi ls List all channels and subscriptions (Website + RSS)
wachi check Check all subscriptions for changes
-n, --name <name> Check specific channel only
-p, --concurrency <number> Max concurrent checks (default: 10)
-d, --dry-run Preview without sending or recording
wachi test -n <name> Send test notification
wachi upgrade Update wachi to latest versionGlobal flags: --json / -j for machine-readable output, --verbose / -V for detailed logs, --config / -C for custom config path.
How It Works
wachi subchecks if the URL has an RSS feed (auto-discovery via<link>tags and common paths)- If RSS found: store and use RSS for ongoing checks
wachi checkcanonicalizes item links, atomically admits each link once per physical destination, and drains a durable apprise delivery outbox
Configuration
Config at ~/.config/wachi/config.yml (auto-created on first wachi sub).
# Channels managed by wachi sub/unsub
channels:
- name: "main"
apprise_url: "slack://xoxb-token/channel"
subscriptions:
- url: "https://blog.example.com"
rss_url: "https://blog.example.com/feed.xml"All fields optional with sensible defaults. Empty config is valid.
Environment Variables
| Variable | Purpose |
|---|---|
WACHI_NO_AUTO_UPDATE |
Set to 1 to disable auto-update |
Notification Channels
Uses apprise URL format. Examples:
# Slack
wachi sub -n main -a "slack://xoxb-token/channel" "https://example.com"
# Discord
wachi sub -n alerts -a "discord://webhook-id/token" "https://example.com"
# Telegram
wachi sub -n telegram -a "tgram://bot-token/chat-id" "https://example.com"
# Test channel works
wachi test -n mainFull list: https://github.com/caronc/apprise/wiki
Scheduling
wachi check is stateless and one-shot. Use any scheduler:
# crnd (recommended)
crnd "*/5 * * * *" wachi check
# system cron
crontab -e
# */5 * * * * wachi checkExamples
# Blog (auto-discovers RSS)
wachi sub -n main -a "slack://xoxb-token/channel" "https://blog.example.com"
# YouTube channel
wachi sub -n media -a "tgram://bot-token/chat-id" "https://youtube.com/@channel"
# URL without https:// (auto-prepended)
wachi sub -n main "blog.example.com"
# Send existing items on next check
wachi sub -n alerts -e "https://news.ycombinator.com"
# Dry-run check
wachi check -d
# Check specific channel
wachi check -n mainwachi ls shows both the website URL you subscribed and the RSS URL wachi actually checks:
main (slack://xoxb-.../channel)
Website: https://blog.example.com
RSS: https://blog.example.com/feed.xmlFor detailed behavior (dedup model, error patterns, notification format, config schema), see references/spec.md.