WhatsApp automation & APIs

Free WhatsApp bot hosting

Run lightweight Baileys WebSocket bots, WhatsApp Cloud API webhooks or Python automation scripts in a persistent Linux container. Scan your QR or 8-digit pairing code directly in the live console, keep session files on persistent storage, and get a free HTTPS subdomain for webhooks.

Baileysruns on 256 MB free
Persistentauth session disk
HTTPS URLfree on subhub.tr
$1/mo24/7 Starter plan

Choosing the right WhatsApp bot library for container hosting

Socket-based libraries like @whiskeysockets/baileys connect directly via WebSockets without launching a headless browser, using only 60–130 MB of RAM — making them ideal for the HOKAS Free Plan (256 MB RAM) and $1/month Starter plan.

Official Meta WhatsApp Business Cloud API bots receive incoming messages over HTTPS webhooks. Every HOKAS container includes a free HTTPS subdomain on subhub.tr, so you can point Meta’s webhook callback URL straight to your Express, Fastify or FastAPI server without paying for a domain.

Key features for WhatsApp bot developers

  • Live interactive console: view terminal QR codes or use 8-digit phone-number pairing codes on first login.
  • Persistent container disk: multi-file Baileys auth state folders remain intact across restarts.
  • Free subhub.tr HTTPS subdomain for Meta WhatsApp Cloud API webhook verification and callbacks.
  • Built-in MySQL database for storing customer chats, auto-replies, session metadata and order flows.
  • No ads on the free tier; upgrade to $1/month (1 GB RAM) or $2/month (2 GB RAM for Chromium/Puppeteer workloads) anytime.

Quickstart: Baileys WhatsApp bot with pairing code

Using Baileys with a pairing code or terminal QR keeps memory under 120 MB and requires no Chromium binary.

Node.js (@whiskeysockets/baileys) Startup command: npm install && node index.js
const { default: makeWASocket, useMultiFileAuthState, DisconnectReason } = require('@whiskeysockets/baileys');

async function startBot() {
  const { state, saveCreds } = await useMultiFileAuthState('./auth_info');
  const sock = makeWASocket({ auth: state, printQRInTerminal: true });

  sock.ev.on('creds.update', saveCreds);
  sock.ev.on('connection.update', ({ connection, lastDisconnect }) => {
    if (connection === 'close' && lastDisconnect?.error?.output?.statusCode !== DisconnectReason.loggedOut) {
      startBot();
    }
  });
  sock.ev.on('messages.upsert', async ({ messages }) => {
    const m = messages[0];
    if (!m.key.fromMe && m.message?.conversation === '!ping') {
      await sock.sendMessage(m.key.remoteJid, { text: 'Pong from HOKAS!' });
    }
  });
}
startBot();

WhatsApp bot frameworks & recommended HOKAS plan

Framework / MethodArchitectureTypical RAMRecommended HOKAS Plan
@whiskeysockets/baileys (Node.js) Direct WebSocket (no browser) 65 – 130 MB Free (256 MB) or Starter ($1/mo 24/7)
WhatsApp Cloud API (Express / FastAPI) Official HTTPS Webhook 45 – 100 MB Free (256 MB + subhub.tr HTTPS) or Starter ($1/mo)
whatsmeow (Go) Compiled native binary 25 – 55 MB Free (256 MB) or Starter ($1/mo 24/7)
whatsapp-web.js / Venom (Headless Chrome) Puppeteer / Chromium 550 MB – 1.4 GB Standard ($2/mo, 2 GB RAM) or Plus ($3/mo)

Deploy a WhatsApp bot in four steps

  1. Create a free accountSign up on HOKAS without a credit card.
  2. Pick Node.js, Python or GoUse the Free Plan for Baileys/Cloud API or Standard ($2/mo) if running headless Chromium.
  3. Upload code & startDeploy via GitHub or the file manager and watch the live console for your QR or pairing code.
  4. Link your device or webhookPair your WhatsApp account (or point Meta Cloud API to your free subhub.tr HTTPS URL).

Plans and pricing

PlanvCPURAMDiskPrice
Free 0.3 256 MB 512 MB Free forever
Starter 1 1 GB 5 GB $1 /month
Standard 2 2 GB 8 GB $2 /month
Plus 3 3 GB 12 GB $3 /month
Pro 4 4 GB 16 GB $4 /month
Max 4 6 GB 20 GB $6 /month

Billed monthly or yearly. The yearly price is ten times the monthly price. Bandwidth is unmetered on every plan. See all plans

Frequently asked questions

Can I run a Baileys WhatsApp bot on the free plan?

Yes. Baileys uses direct WebSockets rather than Chromium, so it runs smoothly inside the 256 MB RAM of the HOKAS Free Plan.

Why does whatsapp-web.js need a paid plan?

whatsapp-web.js launches a full headless Chromium browser via Puppeteer, which requires 550 MB+ of RAM. Choose the $2/month Standard plan (2 GB RAM) if your bot uses Puppeteer, or switch to Baileys to run on 256 MB.

Will my WhatsApp session stay logged in after a server restart?

Yes. Keep your auth folder (e.g. ./auth_info) on the container disk so credentials persist across restarts without re-scanning the QR code.

Do I get a free HTTPS webhook URL for WhatsApp Cloud API?

Yes. Every HOKAS server gets a free HTTPS subdomain on subhub.tr that passes Meta webhook SSL verification out of the box.

Ready to deploy?

Create a free account, set up your server and have your project running in minutes. No credit card needed.

Developer resources & guides

More HOKAS hosting pages