Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a lightweight WhatsApp gateway that stores nothing

Описание и применение

Whappr — это самодостаточный Docker‑контейнер, который связывается с WhatsApp Web, передаёт события агенту через подписанные вебхуки и позволяет агенту отвечать через REST‑API, не сохраняя сообщения.

Задача

Integrating WhatsApp messaging into an agent without heavy official API costs or storing messages

Результат

Whappr enables rapid prototyping of WhatsApp‑enabled agents without business verification or message templates, preserving agent memory and providing typed, ordered event handling

Рабочий процесс

  • Run the Whappr Docker image with a secret key and webhook URL
  • Pair a WhatsApp number by scanning the QR code in the web UI
  • Implement a webhook handler that verifies the signature, acknowledges immediately, and calls the agent
  • Use Whappr’s client to send replies while showing "typing…"
  • Handle voice notes by downloading the audio and sending it to a speech‑to‑text API

Доказательства

Whappr is a self‑hosted Docker container that links to a WhatsApp account the same way WhatsApp Web does.

Источник

It sends every event (new message, edit, reaction) to your agent as an HMAC‑signed webhook.

Источник

Your agent replies through a small REST API protected by a bearer token.

Источник

No database. Messages pass straight through and are never stored.

Источник

Two details matter in production. First, ack first, think later: events arrive in order, so one slow handler holds up every message behind it.

Источник

  • Дата записи: 2026-10-14T08:41:17.251Z