<?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: Mark</title>
    <description>The latest articles on DEV Community by Mark (@utlkit).</description>
    <link>https://dev.to/utlkit</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%2F3952583%2Fdd419f16-895a-44a8-8467-f24f0d7ee62e.png</url>
      <title>DEV Community: Mark</title>
      <link>https://dev.to/utlkit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/utlkit"/>
    <language>en</language>
    <item>
      <title>I Spent 2 Months Building a 150+ Tool Website with $0 Server Cost</title>
      <dc:creator>Mark</dc:creator>
      <pubDate>Mon, 01 Jun 2026 12:57:55 +0000</pubDate>
      <link>https://dev.to/utlkit/i-spent-2-months-building-a-150-tool-website-with-0-server-cost-4lem</link>
      <guid>https://dev.to/utlkit/i-spent-2-months-building-a-150-tool-website-with-0-server-cost-4lem</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;📚 &lt;strong&gt;This is Part 1 (Opening) of the UtlKit Tech Series&lt;/strong&gt; — &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next: [Architecture &amp;amp; Trade-offs →]&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;p&gt;As a frontend developer, I've used countless online tools. And almost all of them suck:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Sign-up required&lt;/strong&gt; — just to format a JSON string?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ad overload&lt;/strong&gt; — the actual tool gets squeezed into a corner&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy concerns&lt;/strong&gt; — your JSON might contain API keys, and the tool sends it to a server&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fragmented&lt;/strong&gt; — formatters on one site, Base64 on another, hashing on a third&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So I decided to build one that doesn't: no sign-up, no ads, pure client-side computation, data never leaves the browser.&lt;/p&gt;

&lt;p&gt;The goal was simple — &lt;strong&gt;if I need this tool, someone else does too.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The result is &lt;a href="https://utlkit.com" rel="noopener noreferrer"&gt;utlkit.com&lt;/a&gt;: 150+ tools, 8 categories, zero server costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirements
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pure client-side&lt;/td&gt;
&lt;td&gt;All logic runs in the browser&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zero server cost&lt;/td&gt;
&lt;td&gt;Static hosting, no Node.js backend&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;150+ pages&lt;/td&gt;
&lt;td&gt;One page per tool, SEO-friendly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bilingual (EN/ZH)&lt;/td&gt;
&lt;td&gt;i18n support&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dark/Light mode&lt;/td&gt;
&lt;td&gt;User preference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mobile responsive&lt;/td&gt;
&lt;td&gt;Works on all devices&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Why Not Other Frameworks?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Pros&lt;/th&gt;
&lt;th&gt;Cons&lt;/th&gt;
&lt;th&gt;Verdict&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Vanilla HTML/JS&lt;/td&gt;
&lt;td&gt;Simple&lt;/td&gt;
&lt;td&gt;Managing 150+ pages is painful&lt;/td&gt;
&lt;td&gt;Too slow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VuePress / VitePress&lt;/td&gt;
&lt;td&gt;Fast&lt;/td&gt;
&lt;td&gt;Docs-oriented, not for interactive tools&lt;/td&gt;
&lt;td&gt;Not flexible enough&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nuxt SSR&lt;/td&gt;
&lt;td&gt;Powerful&lt;/td&gt;
&lt;td&gt;Needs a server&lt;/td&gt;
&lt;td&gt;Violates zero-cost principle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Next.js 15 + &lt;code&gt;output: 'export'&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SSR SEO + client interactivity + static hosting&lt;/td&gt;
&lt;td&gt;Has pitfalls (covered later)&lt;/td&gt;
&lt;td&gt;✅ Best balance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The Key Decision: &lt;code&gt;output: 'export'&lt;/code&gt;
&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;// next.config.js&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;nextConfig&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;export&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;       &lt;span class="c1"&gt;// Static export&lt;/span&gt;
  &lt;span class="na"&gt;trailingSlash&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;    &lt;span class="c1"&gt;// Required for static files&lt;/span&gt;
  &lt;span class="na"&gt;images&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;unoptimized&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="c1"&gt;// No image optimization server&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Build output is plain HTML/CSS/JS files&lt;/li&gt;
&lt;li&gt;✅ Deployable to any static host (Cloudflare Pages, Vercel, GitHub Pages)&lt;/li&gt;
&lt;li&gt;✅ Zero server cost&lt;/li&gt;
&lt;li&gt;❌ No API Routes, no Server Components, limited dynamic routing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Deployment: Zero Cost on Cloudflare Pages
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;Build output&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;out/ directory, ~14 MB&lt;/span&gt;
&lt;span class="na"&gt;Hosting&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Cloudflare Pages&lt;/span&gt;
&lt;span class="na"&gt;Domain&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;utlkit.com&lt;/span&gt;
&lt;span class="na"&gt;Monthly cost&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;$0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Build Pipeline
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run build
  → next build &lt;span class="o"&gt;(&lt;/span&gt;output: &lt;span class="s1"&gt;'export'&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
  → Generates out/ directory
  → clean-index-txt.js &lt;span class="o"&gt;(&lt;/span&gt;removes index.txt&lt;span class="o"&gt;)&lt;/span&gt;
  → Outputs 150+ static HTML files
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cloudflare Pages CI/CD: git push → auto build → auto deploy, ~3 minutes to production.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Coming Next in This Series
&lt;/h2&gt;

&lt;p&gt;Above is the story and the tech choices. The following articles cover real-world pitfalls:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Core Problem&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Architecture and Trade-offs&lt;/td&gt;
&lt;td&gt;Structure, reusability &amp;amp; trade-offs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;React 19 Hydration Mismatch in Static Export&lt;/td&gt;
&lt;td&gt;SSR/CSR inconsistency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Cloudflare Pages Blank Page: the index.txt Bug&lt;/td&gt;
&lt;td&gt;Content negotiation mechanism&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Why Node.js Libraries Fail in the Browser&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;fs&lt;/code&gt; dependencies, ESM/CJS interop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Sentry Source Maps: From 0% to Full Resolution&lt;/td&gt;
&lt;td&gt;Tree-shaking, HTTP API, region detection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Client-Side Encryption with Web Crypto API&lt;/td&gt;
&lt;td&gt;MD5 gap, AES-GCM, HMAC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Free Performance Monitoring: PageSpeed CI&lt;/td&gt;
&lt;td&gt;Zero-cost Core Web Vitals monitoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;Cloudflare Cache Hit Rate: 7% → 90%&lt;/td&gt;
&lt;td&gt;3 Cache Rules + localization optimization&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;Perfect Dark Mode: From Hydration Error to Zero Flicker&lt;/td&gt;
&lt;td&gt;Troubleshooting 8 pitfalls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;6 Pitfalls of Multilingual Sites&lt;/td&gt;
&lt;td&gt;query string → path prefix, 3 rounds of redesign&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each article includes full debugging process, code examples, and lessons learned.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;📚 &lt;strong&gt;This is Part 1 (Opening) of the UtlKit Tech Series&lt;/strong&gt; — &amp;gt; - Next: [Architecture &amp;amp; Trade-offs →]&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Project Info
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://utlkit.com" rel="noopener noreferrer"&gt;utlkit.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stack:&lt;/strong&gt; Next.js 15 + React 18 + TypeScript + Tailwind CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting:&lt;/strong&gt; Cloudflare Pages&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tools:&lt;/strong&gt; 150+ tools, 8 categories&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; $0/month&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Part 2 will cover architecture design: directory structure, component abstraction, browser-only trade-offs, and i18n approach. Follow along for the full series.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>react</category>
      <category>typescript</category>
      <category>tailwindcss</category>
    </item>
  </channel>
</rss>
