Your messages. Your server. Your rules.
Leviro Relay is a self-hosted messaging automation platform for WhatsApp and Telegram. A React dashboard for composing messages, managing contacts and campaigns, and a controlled REST API — with no third-party cloud in the middle.
Free and open source under the MIT License. No account, no subscription, no hosted service to sign up for.
Commercial development of Leviro Relay has ended. The project is released under the MIT License for self-hosting, educational use, modification, and community-driven development — forks are welcome. There is no active maintenance, no support commitment, and no guarantee of compatibility with future WhatsApp or Telegram changes. Use this software at your own risk.
Features
Messaging & scheduling
Pair once, then send from the dashboard or the API.
Campaigns & contacts
Consent-based delivery, paced so an account is not burned in an afternoon.
Cross-platform automation
One rule per channel pair; a mirrored send is never mirrored back.
Developer integrations
Everything an integration needs, and nothing it does not.
Security & data ownership
Credentials are ciphertext at rest. Backups are not — treat them accordingly.
Self-hosting & backups
No hosted service, no account, no telemetry in the product.
Install v1.0.1
Builds the image locally as leviro-relay:local and starts the API, worker, MongoDB, and Redis. The application port is published on localhost only; MongoDB and Redis publish no ports.
git clone https://github.com/leviro/relay.git
cd relay
cp .env.example .env
openssl rand -hex 32 # JWT_SECRET
openssl rand -hex 32 # SESSION_SECRET
openssl rand -base64 32 # WA_SESSION_ENCRYPTION_KEY
openssl rand -base64 32 # ADMIN_PASSWORD
docker compose up -d --build
docker compose ps
docker compose logs -f api worker docker pull ghcr.io/leviro/relay:1.0.1
Production startup refuses placeholder secrets, refuses JWT_SECRET equal to SESSION_SECRET, and requires APP_BASE_URL. Back up your encryption secrets separately from the database — losing them makes stored WhatsApp credentials undecryptable, and the only recovery is pairing again.
Docker (recommended) Native install (Node 24) Read the full configuration reference