<?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: kaka</title>
    <description>The latest articles on DEV Community by kaka (@xiaohongaiweno).</description>
    <link>https://dev.to/xiaohongaiweno</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4233597%2Fec3b8aa4-da5e-4c9e-9182-c0169c478e0b.png</url>
      <title>DEV Community: kaka</title>
      <link>https://dev.to/xiaohongaiweno</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xiaohongaiweno"/>
    <language>en</language>
    <item>
      <title>I built a Secret Santa generator that doesn't ask anyone for their email</title>
      <dc:creator>kaka</dc:creator>
      <pubDate>Sun, 08 Nov 2026 13:32:04 +0000</pubDate>
      <link>https://dev.to/xiaohongaiweno/i-built-a-secret-santa-generator-that-doesnt-ask-anyone-for-their-email-453c</link>
      <guid>https://dev.to/xiaohongaiweno/i-built-a-secret-santa-generator-that-doesnt-ask-anyone-for-their-email-453c</guid>
      <description>&lt;p&gt;Every December our office does a Secret Santa, and every year it dies in the same place: the organiser sends a link, half the group has to create an account, three people never confirm their email, and someone ends up drawing names out of a hat on the day.&lt;/p&gt;

&lt;p&gt;So I built SantaWheel. The constraints I set for myself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No accounts.&lt;/strong&gt; The organiser pastes the participant list, gets one shareable link. That's the whole onboarding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No email collection.&lt;/strong&gt; Nothing is stored on a server. The draw happens client-side from a seed in the URL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exclusions that actually matter.&lt;/strong&gt; Couples, siblings, and the two people who swapped gifts last year. You mark the pairs, the algorithm re-rolls until nothing conflicts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three modes.&lt;/strong&gt; Secret Santa (one-way), White Elephant (stealing rounds), and generic gift exchange.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interesting part was the exclusion solver. A naive shuffle fails constantly once you have more than two exclusions — you need to detect the impossible cases up front rather than retry forever. If the constraint graph has a cycle that covers every participant, no valid draw exists, and telling the user that immediately is better than a spinner that never ends.&lt;/p&gt;

&lt;p&gt;It's free, no ads, and the whole thing runs in the browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://santawheel.com" rel="noopener noreferrer"&gt;https://santawheel.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
