Railway

Deploy Whatsmiau

Deploy Whatsmiau on Railway. WhatsApp REST API. One click.

Deploy Whatsmiau

/var/lib/postgresql/data

Just deployed

/data

Just deployed

Deploy and Host WhatsMiau on Railway

Deploy on Railway

WhatsMiau is a lightweight WhatsApp REST API built with Go using the Whatsmeow library. Connect a personal WhatsApp account via HTTP endpoints without Meta's Business API approval. Send messages, manage groups, receive webhooks, and automate workflows—all through a simple REST interface. Compatible with Evolution API routes for easy migration.

About Hosting WhatsMiau

Hosting WhatsMiau requires a PostgreSQL database for persistence (instances and data), Redis for session storage and caching, and a persistent volume for WhatsApp instance authentication data. The API listens on port 8080 and exposes REST endpoints for instance creation, QR code connection, messaging, and webhook configuration. Railway provisions all services and handles networking, SSL, and scaling.

Common Use Cases

  • Chatbots and conversational automation
  • Notifications, alerts, and broadcast messaging
  • Customer support and helpdesk integration
  • Multi-instance WhatsApp management for agencies

Dependencies for WhatsMiau Hosting

  • PostgreSQL (persistence for instances and data)
  • Redis (session storage and caching)
  • Persistent volume (mount path: /app/data for auth data)

Deployment Dependencies

Implementation Details

Environment variables (use Railway reference syntax when deploying):

VariableValue
DIALECT_DBpostgres
DB_URL${{Postgres.DATABASE_URL}}
REDIS_URL${{Redis.REDIS_URL}}
PORT8080
API_KEY${{secret(64, "abcdef0123456789")}}

Volume: Mount /app/data for persistent instance data.

Quick start (local): cp .env.example .env then docker compose up -d. API at http://localhost:8080.

Why Deploy WhatsMiau on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying WhatsMiau on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY

Agampreet Singh
View Template
Cobalt Tools [Updated Feb ’26]
Cobalt Tools [Feb ’26] (Media Downloader, Converter & Automation) Self Host

shinyduo
View Template
DiscordJS bot
A basic Discord bot written in JavaScript

opqr
1.1K
Deploy