<?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: Hàm Hương</title>
    <description>The latest articles on DEV Community by Hàm Hương (@hamhuong).</description>
    <link>https://dev.to/hamhuong</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%2F4249183%2Faa55411f-2790-4bef-9fbe-40a77b1e3281.jpg</url>
      <title>DEV Community: Hàm Hương</title>
      <link>https://dev.to/hamhuong</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hamhuong"/>
    <language>en</language>
    <item>
      <title>Stop Pasting API Secrets Online: 5 Client-Side Dev Tools That Run 100% in Your Browser</title>
      <dc:creator>Hàm Hương</dc:creator>
      <pubDate>Wed, 18 Nov 2026 02:44:49 +0000</pubDate>
      <link>https://dev.to/hamhuong/stop-pasting-api-secrets-online-5-client-side-dev-tools-that-run-100-in-your-browser-3kdl</link>
      <guid>https://dev.to/hamhuong/stop-pasting-api-secrets-online-5-client-side-dev-tools-that-run-100-in-your-browser-3kdl</guid>
      <description>&lt;p&gt;As developers, we constantly reach for quick online utilities: formatting a JSON payload, testing a regex on production log lines, converting a &lt;code&gt;.env&lt;/code&gt; file for Docker Compose, or inspecting a local SQLite database.&lt;/p&gt;

&lt;p&gt;There is just one problem: &lt;strong&gt;many online utility sites send your input to a backend server.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you paste a &lt;code&gt;.env&lt;/code&gt; file containing database credentials, an API response with customer PII, or a production log snippet with bearer tokens into a server-backed tool, that data leaves your machine.&lt;/p&gt;

&lt;p&gt;Thanks to modern browser APIs (WebAssembly, Canvas, Web Crypto, and File System / FileReader APIs), almost every everyday developer utility can now run &lt;strong&gt;100% client-side&lt;/strong&gt; — zero uploads, zero server logs, and instant execution even offline.&lt;/p&gt;

&lt;p&gt;Here are 5 privacy-first workflows you can run directly in your browser without exposing sensitive data.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Converting &lt;code&gt;.env&lt;/code&gt; Files to JSON, Docker Compose, or Kubernetes Formats
&lt;/h2&gt;

&lt;p&gt;Moving environment variables between local development (&lt;code&gt;.env&lt;/code&gt;), CI/CD pipelines, &lt;code&gt;docker-compose.yml&lt;/code&gt;, and &lt;code&gt;docker run -e&lt;/code&gt; flags is tedious and error-prone — especially when values contain quotes, spaces, or multiline keys.&lt;/p&gt;

&lt;p&gt;Instead of manually reformatting or uploading your &lt;code&gt;.env&lt;/code&gt; secrets to a random converter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Input:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  NODE_ENV=production
  PORT=8080
  DATABASE_URL="postgres://user:pass@db:5432/app"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Output (&lt;code&gt;docker run&lt;/code&gt; flags):&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  -e &lt;span class="nv"&gt;NODE_ENV&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"production"&lt;/span&gt; -e &lt;span class="nv"&gt;PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"8080"&lt;/span&gt; -e &lt;span class="nv"&gt;DATABASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"postgres://user:pass@db:5432/app"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can convert &lt;code&gt;.env&lt;/code&gt; files into JSON, Docker Compose YAML, Kubernetes &lt;code&gt;env&lt;/code&gt; arrays, or &lt;code&gt;docker run&lt;/code&gt; flags locally in your browser using the &lt;a href="https://microdeck.tools/tools/env-to-json-docker-converter" rel="noopener noreferrer"&gt;.ENV to JSON / Docker Compose Env Converter&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Turning Raw API JSON into TypeScript Interfaces &amp;amp; Zod Schemas
&lt;/h2&gt;

&lt;p&gt;When integrating a third-party REST API or undocumented internal endpoint, writing TypeScript interfaces by hand wastes time. Worse, TypeScript types disappear at runtime — so if the API suddenly returns &lt;code&gt;null&lt;/code&gt; or changes a field type, you still need runtime validation (like &lt;strong&gt;Zod&lt;/strong&gt;).&lt;/p&gt;

&lt;p&gt;By feeding a sample JSON response into a client-side generator, you can immediately scaffold:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clean &lt;code&gt;interface&lt;/code&gt; or &lt;code&gt;type&lt;/code&gt; definitions&lt;/li&gt;
&lt;li&gt;Nested object types and union arrays&lt;/li&gt;
&lt;li&gt;Ready-to-use &lt;strong&gt;Zod&lt;/strong&gt; validation schemas&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try pasting any sample JSON payload into the &lt;a href="https://microdeck.tools/tools/json-to-typescript-interface-generator" rel="noopener noreferrer"&gt;JSON to TypeScript Interface Generator&lt;/a&gt; — all parsing happens strictly in browser memory.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Inspecting SQLite Databases Without Installing Desktop Clients
&lt;/h2&gt;

&lt;p&gt;Need to quickly inspect a &lt;code&gt;.sqlite&lt;/code&gt; or &lt;code&gt;.db&lt;/code&gt; file from a mobile app, Electron app, or local test run? Normally you'd install DB Browser for SQLite or configure CLI tools.&lt;/p&gt;

&lt;p&gt;With WebAssembly (&lt;code&gt;sql.js&lt;/code&gt;), your browser can mount the binary &lt;code&gt;.db&lt;/code&gt; file in memory and execute full &lt;code&gt;SELECT&lt;/code&gt;, &lt;code&gt;PRAGMA&lt;/code&gt;, and &lt;code&gt;JOIN&lt;/code&gt; queries locally.&lt;/p&gt;

&lt;p&gt;Check out the &lt;a href="https://microdeck.tools/tools/sqlite-file-explorer-query-runner" rel="noopener noreferrer"&gt;SQLite File Explorer &amp;amp; Query Runner&lt;/a&gt; to browse tables, inspect schemas, and run SQL queries directly in your browser tab without uploading your database anywhere.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Debugging JavaScript Regular Expressions with Token Explanations
&lt;/h2&gt;

&lt;p&gt;Regular expressions are notorious for being "write-only" code. When debugging a complex pattern with named capture groups like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(?&amp;lt;year&amp;gt;\d{4})-(?&amp;lt;month&amp;gt;\d{2})-(?&amp;lt;day&amp;gt;\d{2})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You want:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Live match highlighting against sample text&lt;/li&gt;
&lt;li&gt;Extracted capture groups and named groups (&lt;code&gt;groups.year&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;A replace preview (&lt;code&gt;$1/$2&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;A token-by-token explanation of what each part actually matches&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;a href="https://microdeck.tools/tools/regex-tester-debugger-cheat-sheet" rel="noopener noreferrer"&gt;Regex Tester, Debugger &amp;amp; Cheat Sheet&lt;/a&gt; runs directly on your browser's native JavaScript &lt;code&gt;RegExp&lt;/code&gt; engine, so your test strings never leave your device.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Generating and Verifying Bcrypt Password Hashes Locally
&lt;/h2&gt;

&lt;p&gt;Testing authentication flows often requires generating a Bcrypt hash for seed data or verifying whether a plaintext password matches a stored &lt;code&gt;$2a$&lt;/code&gt; / &lt;code&gt;$2b$&lt;/code&gt; hash from a database dump.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Never paste real user passwords or production hashes into a server-side tool.&lt;/strong&gt; Instead, use a pure browser-based implementation (&lt;code&gt;bcryptjs&lt;/code&gt;) where you can adjust the cost factor (4–14) and verify hashes offline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tool: &lt;a href="https://microdeck.tools/tools/bcrypt-hash-generator-verifier" rel="noopener noreferrer"&gt;Bcrypt Hash Generator &amp;amp; Verifier&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Tip: Remember that Bcrypt only hashes the first 72 bytes of an input string — a classic edge case worth testing!)&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Wrapping Up
&lt;/h2&gt;

&lt;p&gt;Keeping sensitive payloads, &lt;code&gt;.env&lt;/code&gt; configs, and database files on your own machine should be the default for developer utilities. If you want a single bookmark for 400+ zero-upload browser tools (covering dev utilities, CSV/Excel cleaners, PDF tools, and calculators), check out &lt;a href="https://microdeck.tools" rel="noopener noreferrer"&gt;MicroDeck Tools&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What browser-based dev tools do you rely on daily? Drop your favorites in the comments!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>productivity</category>
      <category>security</category>
    </item>
    <item>
      <title>How I Built 400+ Client-Side Dev &amp; AI Tools That Run 100% in the Browser (Astro + Wasm + WebGPU</title>
      <dc:creator>Hàm Hương</dc:creator>
      <pubDate>Tue, 17 Nov 2026 07:42:50 +0000</pubDate>
      <link>https://dev.to/hamhuong/how-i-built-400-client-side-dev-ai-tools-that-run-100-in-the-browser-astro-wasm-webgpu-77l</link>
      <guid>https://dev.to/hamhuong/how-i-built-400-client-side-dev-ai-tools-that-run-100-in-the-browser-astro-wasm-webgpu-77l</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; I built &lt;strong&gt;&lt;a href="https://microdeck.tools" rel="noopener noreferrer"&gt;MicroDeck Tools&lt;/a&gt;&lt;/strong&gt; — a collection of 400+ developer, PDF, image, video, and AI utilities that run &lt;strong&gt;100% locally in your browser&lt;/strong&gt; using WebAssembly and WebGPU. Zero file uploads, zero server costs, and instant processing.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Problem with Online Utility Tools
&lt;/h3&gt;

&lt;p&gt;Every developer and creator uses quick online utilities daily — formatting JSON, testing cron expressions, compressing videos, merging PDFs, or transcribing audio. &lt;/p&gt;

&lt;p&gt;However, most existing tools force you into a bad trade-off:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Privacy risks:&lt;/strong&gt; You have to upload sensitive files (logs, tokens, contracts, raw footage) to an unknown remote server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paywalls &amp;amp; limits:&lt;/strong&gt; File size caps, watermarks, or forced sign-ups because the site owner has to pay for heavy backend compute.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I wanted to see how far modern browser capabilities could go if I moved &lt;strong&gt;all&lt;/strong&gt; processing to the client side.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is MicroDeck Tools?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://microdeck.tools" rel="noopener noreferrer"&gt;MicroDeck Tools&lt;/a&gt;&lt;/strong&gt; brings together over &lt;strong&gt;400+ utilities&lt;/strong&gt; under one clean, fast interface—from everyday developer helpers (SQL transpilers, LLM tokenizers, regex/cron visualizers) to heavy media &amp;amp; AI workloads:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Whisper Audio Transcriber:&lt;/strong&gt; Transcribe audio/video files directly on your device using WebGPU/Wasm—no API keys or cloud uploads required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Client-Side Video &amp;amp; Image Processing:&lt;/strong&gt; Compress, convert, and edit media using local hardware acceleration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PDF &amp;amp; Document Suite:&lt;/strong&gt; Merge, split, and manipulate PDFs entirely in browser memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dev &amp;amp; Data Utilities:&lt;/strong&gt; Formatters, encoders, hash generators, and converters that load instantaneously.&lt;/li&gt;
&lt;/ul&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%2Fe5wjw27iwwubcbl4bpp0.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%2Fe5wjw27iwwubcbl4bpp0.png" alt=" " width="800" height="576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Under the Hood: Tech Stack &amp;amp; Architecture
&lt;/h3&gt;

&lt;p&gt;To keep 400+ tools snappy without bloating the initial page load, I built the platform around strict client-side isolation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; &lt;strong&gt;Astro + React + TypeScript&lt;/strong&gt; — Astro ships zero JavaScript by default for static shells and SEO pages, hydrating interactive React islands only for the specific tool you open.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compute Engines:&lt;/strong&gt; &lt;strong&gt;WebAssembly (Wasm)&lt;/strong&gt; &amp;amp; &lt;strong&gt;WebGPU&lt;/strong&gt; — Heavy lifting (FFmpeg-based media operations, Whisper inference, PDF rendering) runs in Web Workers so the main UI thread never freezes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure Cost:&lt;/strong&gt; &lt;strong&gt;$0 compute cost&lt;/strong&gt; — Since your CPU/GPU does the work, there are no backend queues, no S3 storage buckets to clean up, and no scaling bottlenecks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Lessons Learned Building 400+ Client-Side Tools
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Lazy-loading Wasm binaries is mandatory:&lt;/strong&gt; Heavy Wasm modules (like media codecs or AI models) are fetched on-demand and cached locally via IndexedDB/Cache API so repeat visits feel like a native desktop app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory management matters:&lt;/strong&gt; Processing large video files in browser RAM requires careful cleanup of Blob URLs and worker instances to prevent tab crashes on lower-RAM devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed builds trust:&lt;/strong&gt; When users see a 100MB file start processing in 0.1 seconds without a progress bar for uploading, they immediately understand the value of local-first web apps.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Try It Out &amp;amp; Share Feedback!
&lt;/h3&gt;

&lt;p&gt;You can explore all 400+ tools right now without creating an account:&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://microdeck.tools" rel="noopener noreferrer"&gt;https://microdeck.tools&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm actively adding new utilities every week. &lt;strong&gt;What daily dev or media tool do you wish existed locally in your browser without paywalls?&lt;/strong&gt; Drop a comment below and I'll build it next!&lt;/p&gt;

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