{"repo":"roxdavirox/socket-whatsapp","free":true,"listed":false,"github":"https://github.com/roxdavirox/socket-whatsapp","clone":"git clone https://github.com/roxdavirox/socket-whatsapp.git","description":"WhatsApp Web socket integration for Node.js - Real-time messaging automation","language":"TypeScript","stars":35,"topics":["automation","nodejs","websocket","whatsapp"],"license":null,"category":"workflow-automation","readme_excerpt":"WhatsApp Agent Platform Composable AI agent pipelines over WhatsApp multi-device. Functional architecture with zero classes, Result for errors, Option for nullability, and pipe for everything else. Built on @whiskeysockets/baileys for WhatsApp multi-device protocol and @tecnomancy/alchemy for functional control flow. Stack Layer Tech ------- ------ WhatsApp Baileys (multi-device) Database PostgreSQL + Drizzle ORM API Express + Socket.IO v4 AI Agents OpenAI / Anthropic / Ollama (composable pipeline) Auth argon2 + JWT (jose) Validation zod FP Core @tecnomancy/alchemy Setup Agent Pipeline Messages flow through a composable pipeline of AI agents: Each agent is a pure function AgentContext - Promise that can: - pass — forward to next agent - respond — auto-reply and short-circuit - block — discard (spam, abuse) - route — assign an operator - escalate — flag for human review The pipeline is fail-open: if an agent errors, it's skipped. Add custom agents by implementing the Agent type and appending to the pipeline. API Endpoint Method Description ---------- -------- ------------- /health GET Health check /api/auth/login POST Login /api/chats GET List chats /api/chats/:id/messages GET Chat messages /api/contacts GET List contacts /api/messages/send POST Send text WebSocket namespaces: /qr (session management), /chat (real-time messages). Credits This project evolved from socket-whatsapp (2020), originally built as a WhatsApp Web gateway using the reverse-engineered protocol by Sigalor","default_branch":null,"files":null,"tree":[],"storefront":"/r/roxdavirox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/roxdavirox/socket-whatsapp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}