Self-hosted WhatsApp REST API, MIT licensedحوّل واتساب إلى API تستضيفه بنفسك، برخصة MITحوّل واتساب إلى API تستضيفه بنفسك، برخصة MIT
OpenWA turns WhatsApp into a self-hosted REST API: 100% free and open source (MIT). Send and receive text, images, videos, audio, and documents; multi-session multi-account support; built-in React dashboard; webhooks; n8n integration; MCP support for Claude and AI agents; SQLite/PostgreSQL, Redis, S3; Docker-ready for your own VPS.يحوّل OpenWA واتساب إلى REST API تستضيفه بنفسك: مجاني 100% ومفتوح المصدر (MIT). أرسل واستقبل النصوص والصور والفيديو والصوت والمستندات؛ دعم متعدد الحسابات؛ لوحة React؛ Webhooks؛ تكامل n8n؛ دعم MCP لكلود ووكلاء الذكاء الاصطناعي؛ SQLite/PostgreSQL وRedis وS3؛ جاهز لـDocker على سيرفرك.OpenWA turns WhatsApp into a self-hosted REST API: 100% free and open source (MIT). Send and receive text, images, videos, audio, and documents; multi-session multi-account support; built-in React dashboard; webhooks; n8n integration; MCP support for Claude and AI agents; SQLite/PostgreSQL, Redis, S3; Docker-ready for your own VPS.
Clone the repositoryانسخ المستودعClone the repository
Run git clone https://github.com/rmyndharis/OpenWA.git and enter the folder.نفّذ git clone للرابط وادخل المجلد.Run git clone https://github.com/rmyndharis/OpenWA.git and enter the folder.
2
Start with Dockerابدأ بـDockerStart with Docker
Run docker compose and open the dashboard (default port 2785 in the guide). No monthly subscription, no vendor lock-in, no paid gateway.شغّل docker compose وافتح اللوحة. لا اشتراك شهري ولا ارتباط بمزود ولا بوابة مدفوعة.Run docker compose and open the dashboard (default port 2785 in the guide). No monthly subscription, no vendor lock-in, no paid gateway.
3
Create a session and scan the QRأنشئ جلسة وامسح الرمزCreate a session and scan the QR
Retrieve the generated API key, create a session, and scan the QR code with WhatsApp to link the account. Multi-session supports several accounts.احصل على مفتاح API المولّد وأنشئ جلسة وامسح رمز QR بواتساب لربط الحساب. يدعم عدة حسابات.Retrieve the generated API key, create a session, and scan the QR code with WhatsApp to link the account. Multi-session supports several accounts.
4
Start building automationsابدأ البناء والأتمتةStart building automations
Connect it to n8n, your backend, or an AI agent via MCP and automate messaging workflows with webhooks and real-time events.اربطه مع n8n أو نظامك أو وكيل ذكاء اصطناعي عبر MCP وأتمت سير المراسلة بالأحداث الفورية.Connect it to n8n, your backend, or an AI agent via MCP and automate messaging workflows with webhooks and real-time events.
5
Respect the ban riskانتبه لخطر الحظرRespect the ban risk
OpenWA uses unofficial WhatsApp clients (Baileys, whatsapp-web.js), NOT the official Cloud API. There is real risk of restrictions or bans: use a dedicated test number, avoid bulk unsolicited messaging. Self-hosting is free but your VPS still costs money.يستخدم عملاء واتساب غير رسميين وليس Cloud API الرسمية. خطر حقيقي بالتقييد أو الحظر: استخدم رقم تجربة مخصصاً وتجنب الرسائل الجماعية. الاستضافة مجانية لكن سيرفرك قد يكلف.OpenWA uses unofficial WhatsApp clients (Baileys, whatsapp-web.js), NOT the official Cloud API. There is real risk of restrictions or bans: use a dedicated test number, avoid bulk unsolicited messaging. Self-hosting is free but your VPS still costs money.