<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: waqas ahmed waseer</title>
    <description>The latest articles on DEV Community by waqas ahmed waseer (@waqasahmedwaseer).</description>
    <link>https://dev.to/waqasahmedwaseer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3966551%2F94fe79af-751f-4bde-aa4f-de2f2230a80d.jpg</url>
      <title>DEV Community: waqas ahmed waseer</title>
      <link>https://dev.to/waqasahmedwaseer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/waqasahmedwaseer"/>
    <language>en</language>
    <item>
      <title>I open-sourced my self-hosted WhatsApp API platform after months of building</title>
      <dc:creator>waqas ahmed waseer</dc:creator>
      <pubDate>Wed, 03 Jun 2026 12:35:07 +0000</pubDate>
      <link>https://dev.to/waqasahmedwaseer/i-open-sourced-my-self-hosted-whatsapp-api-platform-after-months-of-building-4k18</link>
      <guid>https://dev.to/waqasahmedwaseer/i-open-sourced-my-self-hosted-whatsapp-api-platform-after-months-of-building-4k18</guid>
      <description>&lt;p&gt;After months of building and dogfooding on production, I open-sourced &lt;strong&gt;WaSphere&lt;/strong&gt; today — a self-hosted WhatsApp API platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;A Twilio alternative for WhatsApp that runs on your own server. MIT licensed, one docker-compose command to deploy.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/k6tBGIApd8I"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;Twilio's WhatsApp pricing breaks small businesses. The few self-hosted options out there are either abandoned, missing security basics (most have no SSRF guard on webhook delivery), or have brutal developer experience.&lt;/p&gt;

&lt;p&gt;WHMCS resellers and dev teams deserve better.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in v1.0
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One docker-compose command deploys the full stack&lt;/li&gt;
&lt;li&gt;Multi-session — connect unlimited WhatsApp accounts per instance&lt;/li&gt;
&lt;li&gt;14 message types via REST API&lt;/li&gt;
&lt;li&gt;HMAC-signed webhooks (HMAC-SHA256 over timestamp.body)&lt;/li&gt;
&lt;li&gt;SSRF guard with DNS pinning + private-IP denylist&lt;/li&gt;
&lt;li&gt;Scoped API keys with 12 granular permissions + per-session scoping&lt;/li&gt;
&lt;li&gt;Developer dashboard with audit log and dark mode&lt;/li&gt;
&lt;li&gt;MIT licensed&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Security decisions
&lt;/h2&gt;

&lt;p&gt;The security pass before opening it up was non-negotiable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SSRF guard with DNS pinning + manual redirect (blocks cloud metadata)&lt;/li&gt;
&lt;li&gt;AES-256-GCM for stored secrets&lt;/li&gt;
&lt;li&gt;Argon2id passwords + timing-safe login&lt;/li&gt;
&lt;li&gt;JWT refresh-token rotation with reuse detection&lt;/li&gt;
&lt;li&gt;Registration locks after first admin&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;Two cleanly separated services so the GPL-licensed Baileys engine stays isolated from the application layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WA Server&lt;/strong&gt; — WhatsApp gateway (the GPL boundary)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dashboard API&lt;/strong&gt; — auth, workspaces, webhooks, proxy&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dashboard UI&lt;/strong&gt; — Next.js console&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The GPL/MIT licensing boundary is real and important. Baileys only runs in the WA Server binary. The dashboard, API, and auxiliary code stay MIT-clean.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live demo (no signup)&lt;/strong&gt;: &lt;a href="https://demo.wasphere.com" rel="noopener noreferrer"&gt;demo.wasphere.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/wasphere/wasphere" rel="noopener noreferrer"&gt;github.com/wasphere/wasphere&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Website&lt;/strong&gt;: &lt;a href="https://wasphere.com" rel="noopener noreferrer"&gt;wasphere.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3-min walkthrough&lt;/strong&gt;: &lt;a href="https://youtu.be/k6tBGIApd8I" rel="noopener noreferrer"&gt;youtu.be/k6tBGIApd8I&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Honest feedback welcome — especially the harsh kind.&lt;/p&gt;

&lt;p&gt;What would you want to see in v1.1?&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>whatsapp</category>
      <category>selfhosted</category>
      <category>node</category>
    </item>
  </channel>
</rss>
