Overview of @open-wa/cf-proxy
@open-wa/cf-proxy is a Cloudflare Worker Reverse-Tunnel Proxy designed for Open-WA Sessions. It is part of the @open-wa v5 monorepo.
website·Indexed 32 days ago
https://openwa.dev/Documentation for Open-WA v5, a modular Node.js framework for WhatsApp automation. Includes guides on the Easy API, Socket Client, Cloudflare Session Proxy, and Chatwoot integration. Covers core concepts such as webhook payloads, data models for messages and contacts, AI agent patterns for LLM integration, and deployment via Docker.
message.received events containing decryptable media, uploads that media using pico-s3, and attaches the resulting cloudUrl to the message object. This allows downstream message handlers to access a cloud-hosted URL instead of just the original WhatsApp media reference.@open-wa/cf-proxy) enables remote access to WhatsApp sessions. Instead of opening ports on a local machine, the local session connects outward to a Cloudflare Durable Object, which then relays requests from remote consumers. When no traffic is flowing, the WebSocket hibernates at $0 idle cost.The @open-wa/cli is a command line tool for the Open-WA WhatsApp automation stack (v5 monorepo). Key features include:
Key architectural components of open-wa include:
npx @open-wa/wa-automate.npx @open-wa/wa-automatePluginClient is the primary interface plugins use to call WhatsApp methods. It acts as a transport-agnostic proxy, meaning plugins do not have direct access to the browser, CDP (Chrome DevTools Protocol), or the file system. All calls are forwarded through the host's transport layer (e.g., HTTP RPC, SSE). It is available via the client object within the plugin's PluginInput.The open-wa v5 monorepo includes several applications for managing WhatsApp instances and APIs:
@open-wa/cli-app: A WhatsApp CLI providing an Easy API mode for @open-wa/wa-automate.@open-wa/dashboard-neo: A static dashboard UI designed for the open-wa v5 Easy API.@open-wa/docker: An application that exposes an API to control WhatsApp instances via Docker.orchestrator-cli: CLI workspace for orchestration.orchestrator-dashboard: Dashboard workspace for orchestration.registry: Registry workspace for the monorepo.