<?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: Chung Ho</title>
    <description>The latest articles on Forem by Chung Ho (@cminhho).</description>
    <link>https://forem.com/cminhho</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%2F253946%2F9ab95b58-e3f7-433c-8c83-827293756e6d.jpeg</url>
      <title>Forem: Chung Ho</title>
      <link>https://forem.com/cminhho</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/cminhho"/>
    <language>en</language>
    <item>
      <title>Building Stdout: A Local-First Developer Toolkit for Privacy-Focused Workflows</title>
      <dc:creator>Chung Ho</dc:creator>
      <pubDate>Fri, 06 Mar 2026 17:12:22 +0000</pubDate>
      <link>https://forem.com/cminhho/building-stdout-a-local-first-developer-toolkit-for-privacy-focused-workflows-1g33</link>
      <guid>https://forem.com/cminhho/building-stdout-a-local-first-developer-toolkit-for-privacy-focused-workflows-1g33</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;In fintech, a single leaked payload isn't just a bug—it's a compliance incident. That anxiety of pasting production JSON into an online formatter is what killed my flow. So I built stdout: a local-first workspace where privacy isn't a feature, it's the architecture.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Problem: When Convenience Conflicts with Compliance
&lt;/h2&gt;

&lt;p&gt;As a Tech Lead working on &lt;strong&gt;multi-country lending products&lt;/strong&gt;, I handle sensitive data daily: merchant KYC payloads, API keys, transaction logs, and loan calculation schemas.&lt;/p&gt;

&lt;p&gt;The workflow was familiar:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Copy a production payload for debugging&lt;/li&gt;
&lt;li&gt;Open an online JSON formatter / JWT decoder / base64 tool&lt;/li&gt;
&lt;li&gt;Paste → process → copy result → move on&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;But step 3 always came with a quiet question: &lt;em&gt;"Did this page just send my data somewhere?"&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Invisible Tracking Risk
&lt;/h3&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.amazonaws.com%2Fuploads%2Farticles%2Feq3in8ggyivb2n1y5roj.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.amazonaws.com%2Fuploads%2Farticles%2Feq3in8ggyivb2n1y5roj.png" alt="The Invisible Tracking Risk" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Even if a tool &lt;em&gt;claims&lt;/em&gt; not to store your data, the modern web is rarely that simple. When you paste sensitive merchant data into a browser-based editor, you're potentially exposing it to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Browser fingerprinting scripts&lt;/strong&gt; that log input patterns&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Third-party analytics&lt;/strong&gt; (Mixpanel, GA, Hotjar) capturing DOM content&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Malicious browser extensions&lt;/strong&gt; with content-script access&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CDN compromises&lt;/strong&gt; injecting telemetry via compromised dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a lending platform operating across VN, TH, PH, HK, ID with country-specific compliance rules, this isn't paranoia—it's threat modeling. A single leaked KYC document or loan schema could trigger regulatory scrutiny, merchant trust erosion, or worse.&lt;/p&gt;

&lt;p&gt;I didn't need another online tool. I needed a &lt;strong&gt;trusted local workspace&lt;/strong&gt; that respected the constraints of real-world engineering: air-gapped environments, compliance boundaries, and the simple desire to keep sensitive data on my machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: Local-First by Design, Not by Accident
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;stdout&lt;/strong&gt; started as a personal scratchpad and evolved into a modular toolkit with 50+ developer utilities—running entirely in your browser, with zero backend, zero telemetry, zero network requests after initial load.&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Architecture Principles
&lt;/h3&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.amazonaws.com%2Fuploads%2Farticles%2Fajqh2gcrh39jfjgg1mdp.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.amazonaws.com%2Fuploads%2Farticles%2Fajqh2gcrh39jfjgg1mdp.png" alt="Architecture diagram: client-only processing, no backend" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Principle&lt;/th&gt;
&lt;th&gt;Why It Matters&lt;/th&gt;
&lt;th&gt;Implementation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Zero-backend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No server = no attack surface, no compliance review, no operational overhead&lt;/td&gt;
&lt;td&gt;Static hosting (Cloudflare Pages/Vercel), all logic in-client&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Local-first data flow&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Your data never leaves your machine unless you explicitly export it&lt;/td&gt;
&lt;td&gt;No fetch calls to external APIs for tool processing; optional user-controlled exports&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Modular registry&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scale to 100+ tools without bloating the initial bundle&lt;/td&gt;
&lt;td&gt;Lazy-loaded tool modules via dynamic imports; shared context via Zustand&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Progressive enhancement&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Works offline, installs as PWA, optional Electron wrapper for power users&lt;/td&gt;
&lt;td&gt;Service workers for caching; Electron build for system-level integrations&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The "Hero Tools" — Where Local-First Shines
&lt;/h3&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.amazonaws.com%2Fuploads%2Farticles%2Fskktdnmv7du7owg0spvy.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.amazonaws.com%2Fuploads%2Farticles%2Fskktdnmv7du7owg0spvy.png" alt="stdout interface - tool grid with search" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Instead of listing all 50+ utilities, here are 3 that demonstrate the philosophy:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JWT Debugger (Local)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Decode and verify tokens without sending them to a third-party server. Supports HS256/RS256 with local key input. No network, no logs, no surprises.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Payload Sanitizer&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Paste production JSON → auto-mask PII fields (email, phone, account numbers) based on configurable rules → copy sanitized output. Built for fintech debugging workflows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Webhook Replay Lab&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Simulate webhook signatures locally using your secret key. Test signature verification logic without hitting staging endpoints or leaking test data.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These aren't just "tools that work offline". They're &lt;strong&gt;trust primitives&lt;/strong&gt;: operations that were previously risky to delegate to the cloud, now safely brought back to your machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Trade-offs: What You Gain, What You Give Up
&lt;/h2&gt;

&lt;p&gt;Building local-first isn't free. Here are the real trade-offs I navigated:&lt;/p&gt;

&lt;h3&gt;
  
  
  Gains
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security boundary by architecture&lt;/strong&gt;: No backend means no SQL injection, no auth bypass, no data breach surface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero marginal cost&lt;/strong&gt;: Hosting static assets is cheap; scaling is just CDN distribution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User trust as differentiator&lt;/strong&gt;: In a world of "free tools that sell your data", being verifiably local is a feature.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Challenges
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Performance with large payloads&lt;/strong&gt;: Processing 10MB+ JSON in-browser requires careful memory management. Solution: Web Workers for heavy parsing, with progress feedback.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State management across tools&lt;/strong&gt;: With 50+ modules, sharing clipboard history or preferences needed a lightweight global store. Solution: Zustand with persisted middleware (localStorage, user-controlled).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discoverability vs. bundle size&lt;/strong&gt;: Lazy-loading solves bundle bloat, but how do users find tools? Solution: Command palette (Ctrl+K) + fuzzy search, indexed at build time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔍 Verifying the "Zero Network" Claim
&lt;/h3&gt;

&lt;p&gt;Skepticism is healthy. Here's how I validate the privacy guarantee:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Audit network tab during tool usage&lt;/li&gt;
&lt;li&gt;Run Lighthouse with network throttling to "Offline"&lt;/li&gt;
&lt;li&gt;Check source for fetch/XMLHttpRequest outside of explicit export flows&lt;/li&gt;
&lt;li&gt;Optional: build from source and verify no telemetry SDKs&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The promise isn't "trust me". It's "verify me".&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next: From Utility to Workflow Memory
&lt;/h2&gt;

&lt;p&gt;The current version of stdout is deliberately &lt;strong&gt;stateless&lt;/strong&gt;: refresh the page, and your work is gone. This keeps the core simple and privacy-preserving.&lt;/p&gt;

&lt;p&gt;But I'm exploring an optional, user-controlled &lt;strong&gt;sync layer&lt;/strong&gt;—not for your data, but for your &lt;em&gt;workflow memory&lt;/em&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saved snippet libraries (encrypted, client-side key)&lt;/li&gt;
&lt;li&gt;Tool preferences and presets&lt;/li&gt;
&lt;li&gt;Session restoration across devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The core remains &lt;strong&gt;free, local, and open&lt;/strong&gt;. The value-add would be &lt;strong&gt;continuity&lt;/strong&gt;: picking up your debugging context on another machine without compromising the local-first guarantee.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Would you pay for "context portability" or keep everything strictly local? This isn't a rhetorical question—I'm gathering signals before building. Let's discuss.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Try It, Break It, Make It Yours
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 Web app: &lt;a href="https://cminhho.github.io/stdout-site/" rel="noopener noreferrer"&gt;stdout&lt;/a&gt; (PWA, works offline)&lt;/li&gt;
&lt;li&gt;💻 Desktop: Electron builds via Homebrew / direct download&lt;/li&gt;
&lt;li&gt;🔨 Contribute: Modular registry makes adding tools straightforward; PRs welcome&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build with constraints like compliance, air-gapped envs, or just value data sovereignty—I'd love to hear which tools matter most to your workflow.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;stdout is a product experiment, a distribution lab, and a case study in "free utility → optional SaaS" evolution. Built in public, because transparency is the only sustainable trust model.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>opensource</category>
      <category>tooling</category>
      <category>formatter</category>
    </item>
  </channel>
</rss>
