<?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: Mohammed Ashraf</title>
    <description>The latest articles on DEV Community by Mohammed Ashraf (@mdashraf).</description>
    <link>https://dev.to/mdashraf</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%2F3899643%2F08f39c64-628e-4254-9da4-2d8309e4ca22.png</url>
      <title>DEV Community: Mohammed Ashraf</title>
      <link>https://dev.to/mdashraf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mdashraf"/>
    <language>en</language>
    <item>
      <title>How I Built a Truly Anonymous Polling Tool — And Why "Anonymous" Usually Isn't</title>
      <dc:creator>Mohammed Ashraf</dc:creator>
      <pubDate>Thu, 14 May 2026 09:31:43 +0000</pubDate>
      <link>https://dev.to/mdashraf/how-i-built-a-truly-anonymous-polling-tool-and-why-anonymous-usually-isnt-5bih</link>
      <guid>https://dev.to/mdashraf/how-i-built-a-truly-anonymous-polling-tool-and-why-anonymous-usually-isnt-5bih</guid>
      <description>&lt;p&gt;I built &lt;a href="https://anonpolls.com" rel="noopener noreferrer"&gt;AnonPolls&lt;/a&gt; — a free &lt;br&gt;
anonymous polling tool where neither the creator nor &lt;br&gt;
the voter needs an account.&lt;/p&gt;

&lt;p&gt;This post covers why I built it, the technical decisions &lt;br&gt;
behind "true" anonymity, and what I learned growing it &lt;br&gt;
to 1,500+ votes in 3 months as a solo founder.&lt;/p&gt;
&lt;h2&gt;
  
  
  The problem with "anonymous" surveys
&lt;/h2&gt;

&lt;p&gt;Most polling tools that claim anonymity have a catch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Google Forms&lt;/strong&gt; — if your organisation has "Restrict to &lt;br&gt;
[domain] users" enabled, the form owner can see individual &lt;br&gt;
responses tied to Google accounts. "Anonymous" is a UI &lt;br&gt;
label, not a technical guarantee.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microsoft Teams polls&lt;/strong&gt; — via Microsoft Forms, tenant &lt;br&gt;
admins can view individual responses depending on your &lt;br&gt;
organisation's settings. This is documented in Microsoft's &lt;br&gt;
own support pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SurveyMonkey free tier&lt;/strong&gt; — shows individual responses &lt;br&gt;
to the survey creator.&lt;/p&gt;

&lt;p&gt;The pattern: tools call themselves anonymous because &lt;br&gt;
&lt;em&gt;voters&lt;/em&gt; don't see each other's responses. But the creator &lt;br&gt;
or an admin can still identify individuals.&lt;/p&gt;
&lt;h2&gt;
  
  
  What "truly anonymous" actually means technically
&lt;/h2&gt;

&lt;p&gt;For AnonPolls, I made two architectural decisions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. No accounts — for anyone&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most tools require the creator to have an account. That &lt;br&gt;
account is linked to every poll they create. Even if &lt;br&gt;
voters are anonymous to each other, the creator's identity &lt;br&gt;
is attached to the data.&lt;/p&gt;

&lt;p&gt;AnonPolls requires no account for the creator either. &lt;br&gt;
No email, no OAuth, no session tied to an identity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. IP hashing, not IP storage&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For vote deduplication (preventing someone voting twice), &lt;br&gt;
I need to track something. But storing raw IPs creates a &lt;br&gt;
privacy risk — even "anonymized" IPs can sometimes be &lt;br&gt;
reverse-engineered.&lt;/p&gt;

&lt;p&gt;Instead I use HMAC-SHA256 hashing on the IP before storage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;crypto&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;crypto&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;anonymizeIp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ip&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;secret&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;IP_HASH_SECRET&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;anon.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;crypto&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createHmac&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;sha256&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;secret&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ip&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;digest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;hex&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;substring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The hash is one-way. Even if someone accessed the database, &lt;br&gt;
they couldn't reverse the hash back to an IP address.&lt;/p&gt;

&lt;p&gt;The result: even the poll creator — even me as the &lt;br&gt;
platform operator — cannot identify who voted for what.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React 18 + TypeScript + Vite + Tailwind + 
Radix UI + shadcn&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Node.js + Express + TypeScript&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; Neon serverless Postgres + Drizzle ORM&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI:&lt;/strong&gt; Google Gemini API for poll generation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting:&lt;/strong&gt; Hostinger (Node.js + LiteSpeed)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned about distribution
&lt;/h2&gt;

&lt;p&gt;The product was live for 2 months before I paid serious &lt;br&gt;
attention to distribution. Some things I learned:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix engagement metrics before promoting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My "activation rate" (polls getting at least 1 vote) &lt;br&gt;
was 38%. I was driving traffic into a leaky funnel.&lt;/p&gt;

&lt;p&gt;The single biggest fix: &lt;strong&gt;vote-first display&lt;/strong&gt; — hiding &lt;br&gt;
poll results until the user votes. Activation rate jumped &lt;br&gt;
to 58% in one week. Avg votes per poll went from 1.4 to 2.3.&lt;/p&gt;

&lt;p&gt;Only after fixing that did I start on SEO and community &lt;br&gt;
outreach.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI search is already real&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I added &lt;code&gt;llms.txt&lt;/code&gt;, WebApplication + FAQPage JSON-LD &lt;br&gt;
schemas, and BlogPosting schema to blog posts. ChatGPT &lt;br&gt;
and Microsoft Copilot started sending sessions within &lt;br&gt;
one week.&lt;/p&gt;

&lt;p&gt;Not a lot of traffic yet — but faster than I expected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Long-tail keywords competitors ignore&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"anonymous poll microsoft teams" — no major competitor &lt;br&gt;
has a dedicated page for this. I wrote a blog post &lt;br&gt;
targeting it and built a landing page. Both indexed &lt;br&gt;
within a week.&lt;/p&gt;

&lt;p&gt;Same for "anonymous poll whatsapp", "slido alternative &lt;br&gt;
free", "strawpoll alternative".&lt;/p&gt;

&lt;h2&gt;
  
  
  Current numbers (month 3)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;676 polls created&lt;/li&gt;
&lt;li&gt;1,564 votes cast&lt;/li&gt;
&lt;li&gt;90+ countries&lt;/li&gt;
&lt;li&gt;Avg votes per poll: 2.3&lt;/li&gt;
&lt;li&gt;Activation rate: 58%&lt;/li&gt;
&lt;li&gt;AI agent traffic: ChatGPT + Copilot sending sessions&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Building creator retention tracking (repeat creators &lt;br&gt;
by anonymized IP hash), preparing a Pro tier, and &lt;br&gt;
continuing the content + SEO engine.&lt;/p&gt;

&lt;p&gt;If you're building something similar or have questions &lt;br&gt;
about the anonymity implementation, happy to discuss &lt;br&gt;
in the comments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://anonpolls.com" rel="noopener noreferrer"&gt;Try AnonPolls →&lt;/a&gt;&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>security</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
