<?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: Bùi Quang</title>
    <description>The latest articles on DEV Community by Bùi Quang (@bi_quang_f7db903e86c1505).</description>
    <link>https://dev.to/bi_quang_f7db903e86c1505</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%2F3697616%2F1186b2ac-1201-4236-a9a0-600ede5621d7.png</url>
      <title>DEV Community: Bùi Quang</title>
      <link>https://dev.to/bi_quang_f7db903e86c1505</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bi_quang_f7db903e86c1505"/>
    <language>en</language>
    <item>
      <title>CSV Clean X: Robust Python CSV Pipelines</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 08:30:18 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/csv-clean-x-robust-python-csv-pipelines-70g</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/csv-clean-x-robust-python-csv-pipelines-70g</guid>
      <description>&lt;h1&gt;
  
  
  CSV Clean X: A Robust Python Library for CSV Pipelines
&lt;/h1&gt;

&lt;p&gt;When working with data pipelines in Python, cleaning and standardizing CSV data is a common bottleneck. Today, we're introducing &lt;strong&gt;CSV Clean X&lt;/strong&gt;, a lightweight and robust Python library designed to streamline data cleaning, whitespace stripping, missing value handling, and duplicate removal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Whitespace Stripping&lt;/strong&gt;: Automatically cleans leading and trailing whitespaces from string fields.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing Value Handling&lt;/strong&gt;: Option to drop rows with missing or empty values.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duplicate Removal&lt;/strong&gt;: Ensures unique dataset rows effortlessly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lightweight &amp;amp; Fast&lt;/strong&gt;: Zero heavy dependencies, pure Python implementation with robust unit testing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation &amp;amp; Usage
&lt;/h2&gt;

&lt;p&gt;You can find the project repository on GitHub: &lt;a href="https://github.com/qtnt2xxx-wq/csv-clean-x" rel="noopener noreferrer"&gt;qtnt2xxx-wq/csv-clean-x&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;csv_clean_x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pipeline&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;CsvCleanPipeline&lt;/span&gt;

&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;" Alice "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"30"&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="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bob"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"25"&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="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;" Alice "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"30"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;pipeline&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;CsvCleanPipeline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;cleaned_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pipeline&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;strip&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;drop_missing&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cleaned_data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check out the repo and contribute!&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>datacleaning</category>
      <category>programming</category>
    </item>
    <item>
      <title>md-toc-cli: A Lightweight Python CLI and Library for Markdown Table of Contents</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:40:27 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/md-toc-cli-a-lightweight-python-cli-and-library-for-markdown-table-of-contents-2p2l</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/md-toc-cli-a-lightweight-python-cli-and-library-for-markdown-table-of-contents-2p2l</guid>
      <description>&lt;h1&gt;
  
  
  md-toc-cli: A Lightweight Python CLI &amp;amp; Library for Markdown Table of Contents
&lt;/h1&gt;

&lt;p&gt;Automatically generate clean Table of Contents and GitHub-compatible slug anchor IDs for your Markdown files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Pure Python with zero external dependencies.&lt;/li&gt;
&lt;li&gt;Generates slugified anchor links.&lt;/li&gt;
&lt;li&gt;Easy to use as a CLI tool or Python library.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation &amp;amp; Usage
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/qtnt2xxx-wq/md-toc-cli.git
&lt;span class="nb"&gt;cd&lt;/span&gt; md-toc-cli
python3 -m unittest test_md_toc.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check out the repository on &lt;a href="https://github.com/qtnt2xxx-wq/md-toc-cli" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>markdown</category>
      <category>opensource</category>
      <category>cli</category>
    </item>
    <item>
      <title>Difflin: a zero-dependency text/JSON diff engine (LCS) that runs entirely in your browser</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:38:41 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/difflin-a-zero-dependency-textjson-diff-engine-lcs-that-runs-entirely-in-your-browser-36fb</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/difflin-a-zero-dependency-textjson-diff-engine-lcs-that-runs-entirely-in-your-browser-36fb</guid>
      <description>&lt;p&gt;Every time I need to compare two JSON payloads or two config files, I end up pasting internal data into some random diff website. That is a bad trade: convenience in exchange for shipping logs and API responses to a third party.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Difflin&lt;/strong&gt;: a diff tool with no backend at all. The comparison happens inside the browser tab.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live tool: &lt;a href="https://qtnt2xxx-wq.github.io/difflin-lcs-diff/" rel="noopener noreferrer"&gt;https://qtnt2xxx-wq.github.io/difflin-lcs-diff/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source (MIT, zero dependencies): &lt;a href="https://github.com/qtnt2xxx-wq/difflin-lcs-diff" rel="noopener noreferrer"&gt;https://github.com/qtnt2xxx-wq/difflin-lcs-diff&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it actually does
&lt;/h2&gt;

&lt;p&gt;The engine is a classic &lt;strong&gt;LCS (longest common subsequence) dynamic-programming diff&lt;/strong&gt; — the same idea behind &lt;code&gt;diff&lt;/code&gt; and early &lt;code&gt;git diff&lt;/code&gt; implementations — with a line-level pass first and an optional character-level pass inside changed lines.&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="c1"&gt;// core idea, simplified&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;lcs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;dp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&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="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Uint16Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&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;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&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;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="o"&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;dp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;dp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&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="p"&gt;}&lt;/span&gt;
  &lt;span class="c1"&gt;// walk the table backwards, emitting 'equal' / 'delete' / 'insert' ops&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notes from building it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use typed arrays for the DP table.&lt;/strong&gt; A plain array-of-arrays with 1,000 × 1,000 entries is 1M boxed values; a &lt;code&gt;Uint16Array&lt;/code&gt; per row is friendly to the allocator and keeps GC pauses out of typing latency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Diff lines first, characters second.&lt;/strong&gt; Running character-level LCS on the whole document is O(n·m) in characters, which explodes. Doing it per changed line keeps it interactive while still highlighting exactly which words moved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JSON mode normalises before comparing.&lt;/strong&gt; Parsing both sides and re-serialising with sorted keys means &lt;code&gt;{"a":1,"b":2}&lt;/code&gt; and &lt;code&gt;{"b":2,"a":1}&lt;/code&gt; compare as equal — which is what you want when debugging API responses, and is &lt;em&gt;not&lt;/em&gt; what a raw text diff tells you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No build step.&lt;/strong&gt; A single ES module plus the DOM. &lt;code&gt;node --test&lt;/code&gt; covers the diff engine (&lt;code&gt;7/7&lt;/code&gt; tests passing), and the same file is imported by both the browser page and the tests.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why browser-only matters
&lt;/h2&gt;

&lt;p&gt;Beyond privacy, there is a boring operational benefit: there is nothing to run. No Docker image, no cold start, no rate limit, no expiry of your pasted text in someone's S3 bucket. Open the page, paste, done — and it still works offline once loaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you find it useful
&lt;/h2&gt;

&lt;p&gt;The tool is free and MIT-licensed. If it saves you time at work and you want the hosted version to keep existing (custom domain, JSON-schema-aware comparison, saved sessions), you can leave a tip:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PayPal: &lt;a href="https://paypal.me/BDVQuang1510/5USD" rel="noopener noreferrer"&gt;https://paypal.me/BDVQuang1510/5USD&lt;/a&gt; (note &lt;code&gt;BOX-b323126632ce&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Crypto (Base / USDC or ETH): &lt;code&gt;0x356d8dAE7Cb1A48869f7b3921C65373fA5B87404&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bug reports and PRs are more valuable than tips — especially test cases where the character-level pass produces a confusing highlight.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/qtnt2xxx-wq/difflin-lcs-diff" rel="noopener noreferrer"&gt;https://github.com/qtnt2xxx-wq/difflin-lcs-diff&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>tooling</category>
    </item>
    <item>
      <title>JSON Lens CLI: A Lightweight Python Tool for JSON Validation and Formatting</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:37:14 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/json-lens-cli-a-lightweight-python-tool-for-json-validation-and-formatting-2jj0</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/json-lens-cli-a-lightweight-python-tool-for-json-validation-and-formatting-2jj0</guid>
      <description>&lt;h1&gt;
  
  
  JSON Lens CLI: A Lightweight Python Tool for JSON Validation, Formatting and Stats
&lt;/h1&gt;

&lt;p&gt;Managing and inspecting large JSON files can be tedious. Today, I'm releasing &lt;strong&gt;JSON Lens CLI&lt;/strong&gt; (&lt;code&gt;json-lens-cli&lt;/code&gt;), an open-source, zero-dependency Python command-line utility designed to make inspecting, validating, formatting, and analyzing JSON files lightning fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Validation&lt;/strong&gt;: Quickly verify if any JSON file or string is syntactically valid.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Statistics&lt;/strong&gt;: Inspect key metrics including total size, number of keys, root type, and maximum nesting depth.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pretty Print &amp;amp; Minify&lt;/strong&gt;: Format raw JSON with custom indentation or compress it for storage and network transmission.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Installation &amp;amp; Usage
&lt;/h2&gt;

&lt;p&gt;You can clone the repository from GitHub:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/qtnt2xxx-wq/json-lens-cli.git
&lt;span class="nb"&gt;cd&lt;/span&gt; json-lens-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Validate a JSON file
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 cli.py validate data.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Inspect JSON Stats
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 cli.py stats data.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Format / Pretty Print
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 cli.py format data.json --indent 4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Open Source &amp;amp; Contribution
&lt;/h2&gt;

&lt;p&gt;The project is completely open source under the MIT License. Contributions, issues, and pull requests are welcome on GitHub!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/qtnt2xxx-wq/json-lens-cli" rel="noopener noreferrer"&gt;https://github.com/qtnt2xxx-wq/json-lens-cli&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crypto Support (Base / EVM)&lt;/strong&gt;: &lt;code&gt;0x551a468628F6F35546E11dAcDa3d99EE75E61A8D&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>cli</category>
      <category>json</category>
      <category>opensource</category>
    </item>
    <item>
      <title>BoxSecure CLI: Lightweight Static Code Security and Secret Scanner</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:08:11 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/boxsecure-cli-lightweight-static-code-security-and-secret-scanner-32bd</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/boxsecure-cli-lightweight-static-code-security-and-secret-scanner-32bd</guid>
      <description>&lt;h1&gt;
  
  
  BoxSecure CLI: Lightweight Static Code Security and Secret Scanner
&lt;/h1&gt;

&lt;p&gt;In modern software development, catching hardcoded secrets and dangerous code patterns early is critical. Today, we are introducing &lt;strong&gt;BoxSecure CLI&lt;/strong&gt;, a lightweight, dependency-free Python security and secret scanner designed for developers and CI/CD pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Secret Detection&lt;/strong&gt;: Identifies hardcoded API keys, passwords, and sensitive tokens using regex patterns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vulnerability Checks&lt;/strong&gt;: Flags dangerous patterns like &lt;code&gt;eval()&lt;/code&gt;, &lt;code&gt;exec()&lt;/code&gt;, and insecure deserialization (&lt;code&gt;pickle.load&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Dependency&lt;/strong&gt;: Written in pure Python, runs anywhere in seconds.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation &amp;amp; Usage
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install boxsecure-scanner
boxsecure scan src/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check out the repository and contribute on GitHub! Support via crypto wallet: &lt;code&gt;base:0x551a468628F6F35546E11dAcDa3d99EE75E61A8D&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>cli</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Introducing BoxLog SDK: Lightweight Python Log Analysis &amp; Parsing</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 06:57:46 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/introducing-boxlog-sdk-lightweight-python-log-analysis-parsing-2pi5</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/introducing-boxlog-sdk-lightweight-python-log-analysis-parsing-2pi5</guid>
      <description>&lt;h1&gt;
  
  
  Introducing BoxLog SDK: Lightweight Python Log Analysis &amp;amp; Parsing
&lt;/h1&gt;

&lt;p&gt;When building microservices or automated AI agent systems, parsing log files quickly and extracting key metrics (error rates, timestamps, request statuses) is crucial. &lt;/p&gt;

&lt;p&gt;We built &lt;strong&gt;BoxLog SDK&lt;/strong&gt;—a zero-dependency, lightning-fast Python library and web toolkit designed for developers who need robust log parsing without the bloat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fast Regex Parsing:&lt;/strong&gt; Automatically categorizes log levels (&lt;code&gt;INFO&lt;/code&gt;, &lt;code&gt;WARN&lt;/code&gt;, &lt;code&gt;ERROR&lt;/code&gt;, &lt;code&gt;DEBUG&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Summary Statistics:&lt;/strong&gt; Generates clean reports on error frequencies and time spans.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web Dashboard &amp;amp; CLI:&lt;/strong&gt; Includes both a Python command-line utility and a responsive static HTML dashboard.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/qtnt2xxx-wq/boxlog-sdk" rel="noopener noreferrer"&gt;github.com/qtnt2xxx-wq/boxlog-sdk&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Documentation &amp;amp; Demo:&lt;/strong&gt; &lt;a href="https://qtnt2xxx-wq.github.io/boxlog-sdk/" rel="noopener noreferrer"&gt;qtnt2xxx-wq.github.io/boxlog-sdk&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check it out, drop a star, and let us know what features you want next!&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>devops</category>
      <category>logging</category>
    </item>
    <item>
      <title>I Built a Markdown-to-PDF Converter That Never Touches a Server</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 06:54:51 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/i-built-a-markdown-to-pdf-converter-that-never-touches-a-server-2o26</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/i-built-a-markdown-to-pdf-converter-that-never-touches-a-server-2o26</guid>
      <description>&lt;p&gt;MarkPDF Lite is live now: &lt;a href="https://qtnt2xxx-wq.github.io/markpdf-lite/" rel="noopener noreferrer"&gt;https://qtnt2xxx-wq.github.io/markpdf-lite/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most "paste your text, get a PDF" tools upload your document to a server. That means your notes, contracts, or drafts sit in someone else's queue and probably in their logs.&lt;/p&gt;

&lt;p&gt;MarkPDF Lite takes the opposite approach: the entire conversion pipeline runs in your browser tab. Zero uploads, zero tracking, zero server.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The whole app is 4 static files (HTML + CSS + a small script) hosted on GitHub Pages. Two CDN libraries do the heavy lifting:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;markdown-it parses your Markdown into HTML locally:
&lt;/li&gt;
&lt;/ol&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;md&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;markdownit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;// raw HTML is escaped, not injected&lt;/span&gt;
  &lt;span class="n"&gt;linkify&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;// bare URLs become clickable&lt;/span&gt;
  &lt;span class="n"&gt;breaks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;   &lt;span class="c1"&gt;// single newlines render as &amp;lt;br&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;html2pdf.js (a jsPDF + html2canvas bundle) rasterizes the rendered preview into a paginated PDF and triggers the download, entirely on your machine.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The live preview re-renders on every keystroke via a single input listener, so what you see is exactly what you download:&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;render&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;docEl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;md&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;render&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mdEl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;value&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;mdEl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"input"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;render&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;h2&gt;
  
  
  Design decisions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;html: false means user input is treated as Markdown, never as executable HTML. No XSS surface from the editor itself.&lt;/li&gt;
&lt;li&gt;No build step, no framework: plain script in an IIFE, two pinned CDN versions. The whole site weighs a few KB.&lt;/li&gt;
&lt;li&gt;Deterministic output: fixed margins and A4-style pagination handled by html2pdf's pagebreak rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Type some Markdown on the left, watch the preview update, hit Download PDF. Your text never leaves the page, and you can verify this yourself in the Network tab (there are no XHR calls).&lt;/p&gt;

&lt;p&gt;If you find it useful, a small tip keeps this project alive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PayPal: &lt;a href="mailto:buidangvinhquang@gmail.com"&gt;buidangvinhquang@gmail.com&lt;/a&gt; (memo: BOX-f1da5955c6a3)&lt;/li&gt;
&lt;li&gt;ETH: 0xF205B9630b63AEA9F8FA59E327591d3a93FCedFA&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Source code is public, so feel free to fork it, break it, and improve it.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>10 Free Developer Tools That Run 100% in Your Browser (No Uploads, No Sign-up, No Limits)</title>
      <dc:creator>Bùi Quang</dc:creator>
      <pubDate>Sat, 28 Nov 2026 06:49:02 +0000</pubDate>
      <link>https://dev.to/bi_quang_f7db903e86c1505/10-free-developer-tools-that-run-100-in-your-browser-no-uploads-no-sign-up-no-limits-1b83</link>
      <guid>https://dev.to/bi_quang_f7db903e86c1505/10-free-developer-tools-that-run-100-in-your-browser-no-uploads-no-sign-up-no-limits-1b83</guid>
      <description>&lt;h2&gt;
  
  
  Why in-browser tools matter
&lt;/h2&gt;

&lt;p&gt;Every "free online formatter" site does one of two things with your data: it uploads it to a server, or it buries the button you need behind a signup wall and three interstitial ads.&lt;/p&gt;

&lt;p&gt;For developer payloads that is a real risk. A JWT, an .env dump, a private-key header or a customer record inside a JSON body should never leave your machine. So I built DevKit24 — ten tools, one HTML file, zero network calls after load.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live site: &lt;a href="https://qtnt2xxx-wq.github.io/devkit-quickutil/" rel="noopener noreferrer"&gt;qtnt2xxx-wq.github.io/devkit-quickutil&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source repo: &lt;a href="https://github.com/qtnt2xxx-wq/devkit-quickutil" rel="noopener noreferrer"&gt;github.com/qtnt2xxx-wq/devkit-quickutil&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No cookies, no analytics, no backend, no rate limit. View source — it is all there.&lt;/p&gt;




&lt;h2&gt;
  
  
  The ten tools
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. JSON Formatter &amp;amp; Validator
&lt;/h3&gt;

&lt;p&gt;Paste, drop a .json file, or load a sample. It pretty-prints with configurable indent (2 / 4 / tab), reports the exact error line and column when input is invalid, minifies, copies to clipboard, and downloads the result. Large payloads are guarded so your tab does not lock up.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Base64 &amp;amp; URL Encoder
&lt;/h3&gt;

&lt;p&gt;Bidirectional Base64 encode/decode that is Unicode-safe (it uses the percent-encoding trick rather than raw &lt;code&gt;btoa&lt;/code&gt;), plus separate URL encode / decode. Handles multi-byte characters and emoji correctly — the thing most online converters silently corrupt.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. JWT Decoder
&lt;/h3&gt;

&lt;p&gt;Splits a token into header, payload and signature; decodes the two JSON segments; renders the registered claims (&lt;code&gt;iss&lt;/code&gt;, &lt;code&gt;sub&lt;/code&gt;, &lt;code&gt;aud&lt;/code&gt;, &lt;code&gt;exp&lt;/code&gt;, &lt;code&gt;iat&lt;/code&gt;, &lt;code&gt;nbf&lt;/code&gt;) as a table; and converts exp/iat/nbf into readable UTC plus relative time ("expires in 3 h", "expired 2 days ago"). It explicitly refuses to verify signatures client-side and tells you why: HMAC verification in the browser is theatre without the secret.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Regex Tester
&lt;/h3&gt;

&lt;p&gt;Live matching with match count, per-match capture groups and named groups, plus flag toggles (g, i, m, s, u) and a highlight overlay on the tested string. Includes common patterns for emails, IPv4, URLs and semantic versions.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Hash Generator
&lt;/h3&gt;

&lt;p&gt;SHA-1, SHA-256 and SHA-512 via the native SubtleCrypto API — the same primitive your browser uses for TLS. Accepts plain text or a dropped file, outputs lowercase hex and base64, and can compare two digests to detect a tampered download.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. UUID &amp;amp; ID Generator
&lt;/h3&gt;

&lt;p&gt;Batch generation of UUID v4 (&lt;code&gt;crypto.randomUUID()&lt;/code&gt; with a fallback), NanoID-style custom IDs with adjustable alphabet and length, and a validator that decomposes a UUID into version and variant. Copy all, or export a batch as text.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Colour Converter
&lt;/h3&gt;

&lt;p&gt;Hex, RGB, HSL and CMYK in both directions with a live swatch, contrast ratio against white and black (WCAG AA/AAA badges), and a small palette generator (shades and tints). It shows the maths inline so you can see exactly where a preprocessor disagrees.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Unix Epoch Converter
&lt;/h3&gt;

&lt;p&gt;Two-way conversion between epoch seconds/milliseconds and human dates, with UTC and local-time output plus relative deltas. Handy when an API returns 1798000000 and you need to know whether that is a bug or a 2027 timestamp.&lt;/p&gt;

&lt;h3&gt;
  
  
  9. Diff Checker
&lt;/h3&gt;

&lt;p&gt;Word-level and line-level diff with added/removed highlighting and counts. Runs a longest-common-subsequence pass bounded for typical paste sizes — good for comparing two config files or two API responses.&lt;/p&gt;

&lt;h3&gt;
  
  
  10. Case &amp;amp; Text Transform
&lt;/h3&gt;

&lt;p&gt;camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPER, lower, plus slugify, trim-lines, dedupe-lines, sort and reverse. Includes a whitespace and zero-width character detector for the "works locally, fails in CI" class of bugs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Engineering notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Single file. The whole app is one index.html plus app.js and styles.css. GitHub Pages serves it from a static repo, so hosting cost is zero.&lt;/li&gt;
&lt;li&gt;Privacy by architecture. There is no endpoint to leak to. fetch is never called after initial load; everything is synchronous or SubtleCrypto.&lt;/li&gt;
&lt;li&gt;Keyboard-first. Tab navigation, visible focus rings, aria-live on results, and a dark/light theme toggle that respects prefers-color-scheme.&lt;/li&gt;
&lt;li&gt;Failure modes are shown, not swallowed. Invalid JSON returns the parser message and position; malformed Base64 returns an explicit error rather than garbage.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What I am doing with it
&lt;/h2&gt;

&lt;p&gt;This is a real, maintained asset, not a throwaway demo. If it is useful to you, a link or a share helps more than anything else. I also take small paid customization work — adding a tool, self-hosting it for a team, or wiring it into an internal workflow — so open an issue on the repo if you want a quote.&lt;/p&gt;

&lt;p&gt;Crypto tips and donations accepted on Base: &lt;code&gt;0x356d8dAE7Cb1A48869f7b3921C65373fA5B87404&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Start here: &lt;a href="https://qtnt2xxx-wq.github.io/devkit-quickutil/" rel="noopener noreferrer"&gt;Open DevKit24 in your browser&lt;/a&gt;&lt;/p&gt;

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