Introduction
Leviro Relay is a self-hosted messaging automation platform for WhatsApp and Telegram. It gives you a React dashboard for composing messages, managing contacts and campaigns, and a controlled REST API — with no third-party cloud in the middle.
- WhatsApp via Baileys (unofficial WhatsApp Web library), paired by QR code.
- Telegram via the Bot API and a personal-account (MTProto) integration.
- Jobs are durable through BullMQ on Redis; application and session data live in MongoDB.
- Deployment is Docker-first, with a native Node.js installation as an alternative.
Project status: deprecated — v1.0.1 released 2026-12-05
Tag
v1.0.1(commit0fe673a), GitHub Release, and a public container imageghcr.io/leviro/relay:1.0.1. The version inpackage.jsonis1.0.1(private: true, never published to npm). Install with Docker Compose from source, or pull the published image; see Quick start (Docker).Leviro Relay is no longer under active development or commercial maintenance. The project is available under the MIT License for self-hosting, educational use, modification, and community-driven development. Compatibility with future WhatsApp or Telegram changes is not guaranteed. Use this software at your own risk.
Who it is for
Section titled “Who it is for”- A small team or community that wants to send WhatsApp and Telegram messages from its own server.
- An operator who is comfortable with Docker, environment files, and a reverse proxy.
- A developer who wants a documented REST API for messaging, campaigns, and webhooks.
What it is not
Section titled “What it is not”- It is not a hosted service. There is no account to create and no Leviro server that holds your messages.
- It is not affiliated with Meta, WhatsApp, or Telegram.
- It is not a bulk-spam tool. Only message recipients who have consented, follow the law, and respect the platforms’ terms. WhatsApp may restrict or ban accounts that send unsolicited messages.
At a glance
Section titled “At a glance”| License | MIT — Copyright (c) 2026 Leviro |
| Status | Deprecated, no active maintenance |
| Version | 1.0.1 — released 2026-12-05 (tag v1.0.1, GitHub Release, ghcr.io/leviro/relay:1.0.1) |
| Install | From source (git clone https://github.com/leviro/relay.git) or docker pull ghcr.io/leviro/relay:1.0.1 |
| Stack | Node.js 24 LTS, Express 5, React 19, MongoDB, Redis / BullMQ, Baileys, Docker |
| Source | https://github.com/leviro/relay |
| Campaign limit | Up to 5,000 recipients per campaign |
Architecture
Section titled “Architecture”flowchart LR Browser[React dashboard] -->|HTTP + Socket.IO| API[Express API] Client[External API client] -->|X-API-Key| API API --> Mongo[(MongoDB)] API -->|jobs + signed commands| Redis[(Redis / BullMQ)] Redis --> Worker[WhatsApp worker] Worker --> Mongo Worker --> WhatsApp[WhatsApp Web] Worker -->|events| Redis Redis -->|Pub/Sub| APIThe recommended production topology runs the API and worker as separate processes. npm run start:single embeds the same worker runtime for smaller deployments. Telegram runs on its own BullMQ queue and worker, so Telegram sends never wait on an offline WhatsApp session.
Next steps
Section titled “Next steps”- Quick start (Docker) — the fastest way to a running install.
- Native installation — Node.js, MongoDB, and Redis on your own machine.
- Configuration — every environment variable that matters.