# Leviro Relay > Self-hosted messaging automation for WhatsApp and Telegram. A React dashboard and a controlled REST API run on your own server. There is no hosted Leviro service, no account to create, and no product telemetry. Version 1.0.1 was released 2026-12-05. The project is deprecated: MIT licensed, community-driven, and no longer under active commercial maintenance. Leviro Relay is an unofficial project. It is not affiliated with Meta, WhatsApp, or Telegram. WhatsApp connectivity uses the unofficial Baileys library and can stop working after upstream protocol changes. Message only recipients who have consented, and follow the law and the platforms' terms. The documentation site is https://relay.leviro.net. English docs are the complete locale. Arabic docs use the same paths under /ar/ and are written right-to-left. The product source is https://github.com/leviro/relay (MIT, Copyright (c) 2026 Leviro). Container image: ghcr.io/leviro/relay:1.0.1 (also tagged 1.0, latest, and sha-0fe673ac7941ed75727353708724af50310b44b3). The shipped compose.yaml builds the image locally as leviro-relay:local. It does not document a GHCR-based Compose procedure. Stack: Node.js 24 LTS, Express 5, React 19, MongoDB, Redis / BullMQ, Baileys, Docker. The API and the WhatsApp worker are separate processes. `npm run start:single` embeds the worker for small installs. Telegram has its own BullMQ queue, so a Telegram send does not wait on an offline WhatsApp session. Campaigns accept up to 5,000 recipients. The send queue delivers at most 30 messages per minute, with jitter. The public API lives at `https:///api/v1` and authenticates with an `X-API-Key` header. Keys are created in the dashboard, shown once, and start with `wask_`. Only a hash is stored. Dashboard routes under `/api/*` (without `/v1`) are private session-cookie endpoints and are not part of the public API. Full reference: https://github.com/leviro/relay/blob/main/docs/API.md Production startup refuses placeholder secrets, refuses `JWT_SECRET` equal to `SESSION_SECRET`, and requires `APP_BASE_URL`. Losing `WA_SESSION_ENCRYPTION_KEY` makes stored WhatsApp credentials undecryptable. The only recovery is pairing again. Backup archives are unencrypted `.tar.gz` files. ## Docs - [Introduction](https://relay.leviro.net/en/): What Relay is, who it is for, and what it is not. - [Quick start (Docker)](https://relay.leviro.net/en/getting-started/quick-start/): Clone, generate four independent secrets, `docker compose up -d --build`, sign in on localhost:3000, pair WhatsApp with a QR code. - [Native installation](https://relay.leviro.net/en/getting-started/native-installation/): Node.js 24, MongoDB, Redis, and FFmpeg. `npm start` runs the API and worker as separate processes. - [Configuration](https://relay.leviro.net/en/getting-started/configuration/): Environment variables, secrets, and `APP_BASE_URL`. - [WhatsApp setup](https://relay.leviro.net/en/guides/whatsapp-setup/): QR pairing. Credentials are encrypted at rest (AES-256-GCM) in MongoDB. - [Telegram](https://relay.leviro.net/en/guides/telegram/): Bot API and a personal-account (MTProto) integration with the operator's own API credentials. - [Messaging](https://relay.leviro.net/en/guides/messaging/): Immediate, scheduled, and recurring sends. Text, image, video, audio, document, album, channel, and status. - [Campaigns and contacts](https://relay.leviro.net/en/guides/campaigns-contacts/): Consented multi-recipient delivery, delays, working hours, CSV/XLSX import. - [Templates](https://relay.leviro.net/en/guides/templates/): Reusable templates. `{{name}}`, `{{first_name}}`, and `{{phone}}` are filled per recipient. - [Mirroring](https://relay.leviro.net/en/guides/mirroring/): One link per channel pair between WhatsApp and Telegram, with loop protection. - [Media gallery](https://relay.leviro.net/en/guides/gallery/): Quota-bounded storage, separate from transient send uploads. - [Interactive messages](https://relay.leviro.net/en/guides/interactive/): Polls, quick replies, buttons, and lists. WhatsApp native, Telegram mapped to keyboards and polls. - [Calendar and queue](https://relay.leviro.net/en/guides/calendar-queue/): Month, week, and day views. Live session, sync, and queue updates over Socket.IO. - [REST API and webhooks](https://relay.leviro.net/en/guides/api-webhooks/): API keys with expiry, budgets, IP allowlists, and rate limits. Outbound webhooks signed with HMAC. - [Notifications](https://relay.leviro.net/en/guides/notifications/): In-app notifications and optional FCM push using the operator's own Firebase project. - [Backups and recovery](https://relay.leviro.net/en/guides/backups/): Google Drive, S3, and S3-compatible storage including Cloudflare R2 and MinIO. - [Security](https://relay.leviro.net/en/guides/security/): Argon2id passwords, JWT, CSRF, encrypted credentials, hashed API keys. - [Deployment](https://relay.leviro.net/en/guides/deployment/): Upgrades, reverse proxy, and production hardening. Compose publishes the app port on localhost only and does not publish MongoDB or Redis. - [Troubleshooting](https://relay.leviro.net/en/guides/troubleshooting/): Startup failures, pairing, and queue problems. ## Optional - [FAQ](https://relay.leviro.net/en/reference/faq/) - [Changelog](https://relay.leviro.net/en/reference/changelog/): v1.0.1 released 2026-12-05. - [Contributing](https://relay.leviro.net/en/reference/contributing/) - [Security policy](https://relay.leviro.net/en/reference/security-policy/) - [License](https://relay.leviro.net/en/reference/license/): MIT. - [Arabic documentation](https://relay.leviro.net/ar/): Same pages under `/ar/`, right-to-left. - [Product repository](https://github.com/leviro/relay) - [API reference (source)](https://github.com/leviro/relay/blob/main/docs/API.md) - [Releases](https://github.com/leviro/relay/releases)