<?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: ulofi</title>
    <description>The latest articles on DEV Community by ulofi (@ulofi).</description>
    <link>https://dev.to/ulofi</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%2F4073174%2Fb82c531d-db6a-4777-aa2c-23468d28be9f.jpg</url>
      <title>DEV Community: ulofi</title>
      <link>https://dev.to/ulofi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ulofi"/>
    <language>en</language>
    <item>
      <title>I built pseudonymous Discord chat — and the hard part was not hiding usernames</title>
      <dc:creator>ulofi</dc:creator>
      <pubDate>Tue, 11 Aug 2026 13:29:25 +0000</pubDate>
      <link>https://dev.to/ulofi/i-built-pseudonymous-discord-chat-and-the-hard-part-was-not-hiding-usernames-5bol</link>
      <guid>https://dev.to/ulofi/i-built-pseudonymous-discord-chat-and-the-hard-part-was-not-hiding-usernames-5bol</guid>
      <description>&lt;p&gt;Most “anonymous Discord” tools solve privacy by breaking the conversation.&lt;/p&gt;

&lt;p&gt;They ask members to use a slash command, open a submission form, or move into a dedicated anonymous room.&lt;/p&gt;

&lt;p&gt;That may hide an identity, but it also changes the social behavior that made the Discord community useful in the first place.&lt;/p&gt;

&lt;p&gt;I wanted to try a different constraint:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A member should keep talking where the conversation already exists, while the public message appears under a stable pseudonym.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That became &lt;strong&gt;Ulofi Alias&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The normal chat loop
&lt;/h2&gt;

&lt;p&gt;In an immersive channel, a member types an ordinary Discord message.&lt;/p&gt;

&lt;p&gt;Before the original account identity becomes public, Ulofi Alias publishes the content back into the same conversation under that member’s persistent alias and avatar.&lt;/p&gt;

&lt;p&gt;There is no second compose page and no command-driven workflow for normal text chat.&lt;/p&gt;

&lt;p&gt;Persistent aliases were important.&lt;/p&gt;

&lt;p&gt;Randomizing the identity on every message would hide more information, but it would also destroy conversational continuity. A stable pseudonym allows members to recognize the same participant without learning which Discord account is behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I call it pseudonymous
&lt;/h2&gt;

&lt;p&gt;Ulofi Alias is not designed to promise untraceable anonymity.&lt;/p&gt;

&lt;p&gt;The deployment retains a protected mapping between a pseudonym and its Discord account. When a concrete safety case requires investigation, an authorized administrator can reveal the sender.&lt;/p&gt;

&lt;p&gt;The important boundary is that this access is neither silent nor invisible.&lt;/p&gt;

&lt;p&gt;Privileged identity reveals and moderation actions are written to an audit trail that administrators can review.&lt;/p&gt;

&lt;p&gt;AI-assisted review is also kept separate from identity access. An AI result cannot automatically reveal a member or apply an account-level punishment.&lt;/p&gt;

&lt;h2&gt;
  
  
  The difficult engineering boundaries
&lt;/h2&gt;

&lt;p&gt;The most interesting problems were failure states rather than UI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Discord may receive a webhook request even when the local process never receives a successful response.&lt;/li&gt;
&lt;li&gt;Retention jobs must remove old identity links without pretending that copies outside the application never existed.&lt;/li&gt;
&lt;li&gt;A second process using the same Discord token could create duplicated or contradictory delivery.&lt;/li&gt;
&lt;li&gt;One bot deployment spanning multiple Discord servers could leak settings across communities.&lt;/li&gt;
&lt;li&gt;Moderation failures should not silently publish uncertain content.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The current design therefore uses explicit delivery states, bounded queues, retention windows, health checks, and a strict one-deployment-per-guild boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;SQLite&lt;/li&gt;
&lt;li&gt;Discord webhooks and interactions&lt;/li&gt;
&lt;li&gt;Docker Compose&lt;/li&gt;
&lt;li&gt;Cloudflare Tunnel&lt;/li&gt;
&lt;li&gt;Optional AI-assisted moderation and support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project is MIT licensed and self-hosted:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ulofiai/ulofi-alias" rel="noopener noreferrer"&gt;https://github.com/ulofiai/ulofi-alias&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would particularly appreciate feedback on the threat model, retention defaults, and whether the moderator accountability boundary is understandable to someone installing the project for the first time.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>discord</category>
      <category>opensource</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
