<?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: PulseSOVP</title>
    <description>The latest articles on DEV Community by PulseSOVP (@pulsesovp).</description>
    <link>https://dev.to/pulsesovp</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%2F3968088%2F59e9d9d2-c660-40cf-b2d1-470215c55ef1.png</url>
      <title>DEV Community: PulseSOVP</title>
      <link>https://dev.to/pulsesovp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pulsesovp"/>
    <language>en</language>
    <item>
      <title>I built a fully anonymous, E2E-encrypted P2P messenger that runs entirely in the browser #webdev #privacy #javascript #cryptography</title>
      <dc:creator>PulseSOVP</dc:creator>
      <pubDate>Thu, 04 Jun 2026 10:34:42 +0000</pubDate>
      <link>https://dev.to/pulsesovp/i-built-a-fully-anonymous-e2e-encrypted-p2p-messenger-that-runs-entirely-in-the-browser-webdev-2pof</link>
      <guid>https://dev.to/pulsesovp/i-built-a-fully-anonymous-e2e-encrypted-p2p-messenger-that-runs-entirely-in-the-browser-webdev-2pof</guid>
      <description>&lt;p&gt;That's the whole relay. The operator genuinely &lt;em&gt;cannot&lt;/em&gt; read messages — not because of policy, but because the math doesn't let them.&lt;/p&gt;

&lt;p&gt;The honest tradeoff: the relay can see &lt;em&gt;that&lt;/em&gt; a message was sent (metadata), even if it can't see &lt;em&gt;what&lt;/em&gt;. For real anonymity you'd want onion-routing the fan-out. That's on the roadmap.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few things I learned along the way
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;IndexedDB is a real database, not localStorage.&lt;/strong&gt; Treat it like one. Versioned schema, compound index &lt;code&gt;[conversationId, timestamp]&lt;/code&gt;, cursor-based pagination. "Load last 50 messages" is O(log n) with the right index.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service Workers can do encrypted push.&lt;/strong&gt; The push payload itself is ciphertext, so the push service (FCM/Mozilla) only ever sees ciphertext. The SW decrypts and displays.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The pubkey &lt;em&gt;is&lt;/em&gt; the identity.&lt;/strong&gt; No username lookup table. The "Vault ID" users see is just a hash of the client's x25519 pubkey, generated in the browser. Free anonymity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't roll your own crypto layer.&lt;/strong&gt; I almost wrote a custom TweetNaCl wrapper. Then I realized I was reinventing &lt;code&gt;tweetnacl-util&lt;/code&gt;. Just use it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Native iOS / Android (federated, still no phone number)&lt;/li&gt;
&lt;li&gt;Onion routing the relay fan-out&lt;/li&gt;
&lt;li&gt;Per-message forward secrecy (real Double Ratchet, the Signal way)&lt;/li&gt;
&lt;li&gt;Independent security audit&lt;/li&gt;
&lt;li&gt;Open-sourcing the relay&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live web app:&lt;/strong&gt; &lt;a href="https://pulse.moneymates.app" rel="noopener noreferrer"&gt;pulse.moneymates.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project + architecture deep-dive:&lt;/strong&gt; &lt;a href="https://getpulse.moneymates.app" rel="noopener noreferrer"&gt;getpulse.moneymates.app&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tell me the relay code is wrong&lt;/li&gt;
&lt;li&gt;Argue X25519 vs Curve25519&lt;/li&gt;
&lt;li&gt;Roast the "blind relay" claim&lt;/li&gt;
&lt;li&gt;Share IndexedDB anti-patterns I might still have&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The comments are open. AMA.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>privacy</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
