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

I built a lightweight WhatsApp gateway that stores nothing

说明与用途

Whappr 是一个自托管的 Docker 容器,连接到 WhatsApp Web,通过签名的 webhook 将事件转发给代理,并通过 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