<?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: M_O_H_I_T</title>
    <description>The latest articles on DEV Community by M_O_H_I_T (@legendcoder01).</description>
    <link>https://dev.to/legendcoder01</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%2F4247397%2Fe8f516fa-a061-4efb-8eac-432690fb644d.png</url>
      <title>DEV Community: M_O_H_I_T</title>
      <link>https://dev.to/legendcoder01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/legendcoder01"/>
    <language>en</language>
    <item>
      <title>I Built 44 Text Tools With Zero Backend. Then AI Broke the Rule.</title>
      <dc:creator>M_O_H_I_T</dc:creator>
      <pubDate>Mon, 16 Nov 2026 10:02:48 +0000</pubDate>
      <link>https://dev.to/legendcoder01/i-built-44-text-tools-with-zero-backend-then-ai-broke-the-rule-127</link>
      <guid>https://dev.to/legendcoder01/i-built-44-text-tools-with-zero-backend-then-ai-broke-the-rule-127</guid>
      <description>&lt;p&gt;&lt;em&gt;TransformText is a static site of browser-only text tools. No server touches your text — until the newest tools, which is the part I'm still arguing with myself about.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; I built &lt;a href="https://transformtext.tech/" rel="noopener noreferrer"&gt;TransformText&lt;/a&gt; as 44 text tools that run entirely in the browser — no uploads, no accounts, no backend at all. The rule made the site fast, free to run, and private by architecture instead of by promise. It also made some tools dumber than their server-side rivals, and it completely fails for AI features, which is why the site is getting its first server endpoint now. This is what the rule bought, what it cost, and where it broke.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The rule
&lt;/h2&gt;

&lt;p&gt;Every developer pastes text into random online tools. Log excerpts into a duplicate-line remover. A config into a formatter. I kept doing this with text I would never email to a stranger, on sites with ad trackers and privacy policies nobody reads, and one day it properly bothered me.&lt;/p&gt;

&lt;p&gt;So the rule for this site: &lt;strong&gt;if a tool can run in the browser, it must.&lt;/strong&gt; Your text never leaves the page. That's not a policy I can break later or a setting I can misconfigure — there's no server to send it to. Open DevTools and watch the Network tab while you use any tool on the site. Nothing fires.&lt;/p&gt;

&lt;h2&gt;
  
  
  What zero backend actually looks like
&lt;/h2&gt;

&lt;p&gt;Most tools turned out to be embarrassingly small once the server was off the table. The duplicate-line remover is a &lt;code&gt;Set&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;dedupe&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"\n"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&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;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"\n"&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 most popular tool on the site is not a dev utility. It's the &lt;a href="https://transformtext.tech/fancy-text-generator/" rel="noopener noreferrer"&gt;fancy text generator&lt;/a&gt;, which converts normal text into the 𝗯𝗼𝗹𝗱, 𝘪𝘵𝘢𝘭𝘪𝘤 and 𝖌𝖔𝖙𝖍𝖎𝖈 Unicode styles people paste into bios. Under the hood it's just arithmetic on code points — Unicode has entire blocks of styled alphabets, so a "font" is an offset:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;toBold&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="s2"&gt;"a"&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="s2"&gt;"z"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromCodePoint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x1d41a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;charCodeAt&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="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;97&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="s2"&gt;"A"&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="s2"&gt;"Z"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromCodePoint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x1d400&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;charCodeAt&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="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;65&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="s2"&gt;"0"&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="s2"&gt;"9"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromCodePoint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x1d7ce&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;charCodeAt&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="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;48&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&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;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&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;Forty-four tools in, the pattern is always the same: a textarea, a pure function, an output box. The whole site is static files (built with Astro) on Cloudflare. Hosting cost: zero. Deploys: push, build, done. There is nothing to patch, scale, or wake up for at 3 a.m.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the rule cost
&lt;/h2&gt;

&lt;p&gt;Honesty section, because there is one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Some tools are dumber.&lt;/strong&gt; The &lt;a href="https://transformtext.tech/text-summarizer/" rel="noopener noreferrer"&gt;text summarizer&lt;/a&gt; is extractive — it scores sentences by word frequency and keeps the winners. A server with a real model would write a better summary. Mine is transparent, instant, and free, and it is not as good.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your device is the server.&lt;/strong&gt; Paste a 50 MB log file and your tab does the sweating. The tools handle normal text fine; they are not a replacement for &lt;code&gt;sort | uniq&lt;/code&gt; on a huge file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No memory.&lt;/strong&gt; Nothing syncs, nothing is saved, close the tab and it's gone. For a privacy tool that's the feature. It's also occasionally annoying, and both things are true.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The bug that wasn't in the code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3dt7t6uzbxbqf5kkguzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3dt7t6uzbxbqf5kkguzp.png" alt=" " width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For months the tools were fast and the pages were slow, and I blamed the build. The actual problem: Cloudflare was serving every HTML page as &lt;code&gt;cf-cache-status: DYNAMIC&lt;/code&gt; — no edge caching at all, because the origin's cache headers said so and Cloudflare politely obeyed them. Every visit, including Google's crawler, went back to the origin.&lt;/p&gt;

&lt;p&gt;One cache rule fixed it: HTML eligible for cache, edge TTL set, origin cache-control ignored. Pages now serve from the edge. The lesson cost me more time than I'd like to admit: &lt;strong&gt;check the &lt;code&gt;cf-cache-status&lt;/code&gt; header before you optimize anything else.&lt;/strong&gt; The fastest origin is the one nobody has to call.&lt;/p&gt;

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