<?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>Forem: Jean</title>
    <description>The latest articles on Forem by Jean (@jeanlinux).</description>
    <link>https://forem.com/jeanlinux</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%2F3532869%2Ff3faa5c6-d6f6-4bb7-bd49-c3479414a233.png</url>
      <title>Forem: Jean</title>
      <link>https://forem.com/jeanlinux</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/jeanlinux"/>
    <language>en</language>
    <item>
      <title>Building a Privacy-First Code Formatter: My Architecture Decisions</title>
      <dc:creator>Jean</dc:creator>
      <pubDate>Sat, 27 Sep 2025 02:49:40 +0000</pubDate>
      <link>https://forem.com/jeanlinux/building-a-privacy-first-code-formatter-my-architecture-decisions-4fap</link>
      <guid>https://forem.com/jeanlinux/building-a-privacy-first-code-formatter-my-architecture-decisions-4fap</guid>
      <description>&lt;p&gt;I'm exploring whether client-side code processing is the future of developer tools. Here's my approach with &lt;a href="https://formatic.xyz" rel="noopener noreferrer"&gt;Formatic&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;br&gt;
Most code formatters send your code to their servers. As developers, we're trusting third parties with proprietary code.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Solution: Client-Side First
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Formatting happens entirely in the browser&lt;/li&gt;
&lt;li&gt;Zero data sent to servers (even for translation via secure token proxy)&lt;/li&gt;
&lt;li&gt;Open architecture for transparency&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Current MVP Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Simplified flow&lt;/span&gt;
&lt;span class="nx"&gt;userCode&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;Web&lt;/span&gt; &lt;span class="nx"&gt;Worker&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;Formatted&lt;/span&gt; &lt;span class="nx"&gt;Output&lt;/span&gt;
&lt;span class="c1"&gt;// No server round-trip!&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Looking for Technical Feedback
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;How would you improve this architecture?&lt;/li&gt;
&lt;li&gt;What security concerns should I address?&lt;/li&gt;
&lt;li&gt;Interested in collaborating?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Try the MVP:&lt;/strong&gt; &lt;a href="https://formatic.xyz/editor" rel="noopener noreferrer"&gt;formatic.xyz&lt;/a&gt; - it's frontend-only but shows the vision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Question for the community:&lt;/strong&gt; Would you contribute to an open-source, privacy-focused formatter?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>ai</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
