<?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: MD Golam Rabbani</title>
    <description>The latest articles on DEV Community by MD Golam Rabbani (@imgolamrabbani).</description>
    <link>https://dev.to/imgolamrabbani</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%2F4267682%2F3c4cf628-8ce7-46f5-8c25-633e0cd9aff1.jpg</url>
      <title>DEV Community: MD Golam Rabbani</title>
      <link>https://dev.to/imgolamrabbani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/imgolamrabbani"/>
    <language>en</language>
    <item>
      <title>Why vscode-sqlite Breaks on SQLite 3.41+ &amp; Remote-SSH (And How We Built a Zero-Binary WASM SQLite Studio)</title>
      <dc:creator>MD Golam Rabbani</dc:creator>
      <pubDate>Fri, 27 Nov 2026 09:57:27 +0000</pubDate>
      <link>https://dev.to/imgolamrabbani/why-vscode-sqlite-breaks-on-sqlite-341-remote-ssh-and-how-we-built-a-zero-binary-wasm-sqlite-49df</link>
      <guid>https://dev.to/imgolamrabbani/why-vscode-sqlite-breaks-on-sqlite-341-remote-ssh-and-how-we-built-a-zero-binary-wasm-sqlite-49df</guid>
      <description>&lt;p&gt;If you have used &lt;code&gt;alexcvzz.vscode-sqlite&lt;/code&gt; (4.8M+ installs, unmaintained since 2022) on a recent Linux distro, Remote-SSH host, or modern SQLite build, you have likely hit one of two walls:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;Error: no such column: table&lt;/code&gt; when opening any database.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;error while loading shared libraries: libtinfo.so.5&lt;/code&gt; (or &lt;code&gt;EACCES&lt;/code&gt; / &lt;code&gt;chmod&lt;/code&gt; errors) when the extension tries to execute its bundled native &lt;code&gt;sqlite3&lt;/code&gt; binary.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rather than wrapping another native binary or requiring external drivers, we built &lt;strong&gt;&lt;a href="https://imgolamrabbani.github.io/liteforge/" rel="noopener noreferrer"&gt;LiteForge&lt;/a&gt;&lt;/strong&gt;: a zero-dependency WebAssembly SQLite studio (&lt;code&gt;sql.js&lt;/code&gt;) for VS Code and Open VSX that runs identically on macOS, Windows, Linux, Remote-SSH, WSL, and DevContainers. Here is why legacy extensions break and how LiteForge's architecture avoids those failure modes.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Why Legacy SQLite Extensions Break: &lt;code&gt;DQS=0&lt;/code&gt; and &lt;code&gt;libtinfo.so.5&lt;/code&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The SQLite 3.41+ Double-Quoted Literal Trap
&lt;/h3&gt;

&lt;p&gt;Historically, SQLite allowed double-quoted strings (&lt;code&gt;"table"&lt;/code&gt;) to fall back to string literals if no matching column existed. Starting with &lt;strong&gt;SQLite 3.41+&lt;/strong&gt;, distributions and builds increasingly compile with &lt;code&gt;-DSQLITE_DQS=0&lt;/code&gt; (disabling double-quoted string literals in DML/DDL).&lt;/p&gt;

&lt;p&gt;Legacy extensions that introspect &lt;code&gt;sqlite_master&lt;/code&gt; using queries like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;sqlite_master&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"table"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;immediately crash with &lt;code&gt;no such column: table&lt;/code&gt; because SQLite now strictly treats &lt;code&gt;"table"&lt;/code&gt; as an identifier.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Bundled Native Binary Trap on Remote-SSH &amp;amp; Linux
&lt;/h3&gt;

&lt;p&gt;Shipping prebuilt &lt;code&gt;sqlite3&lt;/code&gt; CLI binaries inside a &lt;code&gt;.vsix&lt;/code&gt; is equally brittle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shared library drift:&lt;/strong&gt; Older prebuilt binaries linked against &lt;code&gt;libtinfo.so.5&lt;/code&gt; fail to start on Ubuntu 24.04, Debian 12+, Fedora, or minimal Docker DevContainers that only ship &lt;code&gt;libtinfo.so.6&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission &amp;amp; architecture mismatches:&lt;/strong&gt; Remote-SSH and WSL hosts often have different CPU architectures (&lt;code&gt;arm64&lt;/code&gt; vs &lt;code&gt;x64&lt;/code&gt;) or stripped execute bits when &lt;code&gt;.vsix&lt;/code&gt; archives are unpacked.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Zero-Binary &lt;code&gt;sql.js&lt;/code&gt; WASM Loading &amp;amp; Safe Querying
&lt;/h2&gt;

&lt;p&gt;In &lt;code&gt;wasmEngine.ts&lt;/code&gt;, LiteForge eliminates native binaries completely by running SQLite compiled to WebAssembly (&lt;code&gt;sql.js&lt;/code&gt;) inside the VS Code Extension Host:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic WASM bundling:&lt;/strong&gt; &lt;code&gt;esbuild.config.mjs&lt;/code&gt; copies &lt;code&gt;node_modules/sql.js/dist/sql-wasm.wasm&lt;/code&gt; directly into &lt;code&gt;dist/sql-wasm.wasm&lt;/code&gt; on every build. At runtime, &lt;code&gt;wasmEngine.ts&lt;/code&gt; reads the &lt;code&gt;.wasm&lt;/code&gt; bytes via &lt;code&gt;node:fs/promises&lt;/code&gt; and initializes &lt;code&gt;initSqlJs({ wasmBinary })&lt;/code&gt; with zero network calls and zero C++ addons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict SQL quoting (&lt;code&gt;DQS=0&lt;/code&gt; immune):&lt;/strong&gt; Every internal introspection query uses strict single-quoted string literals:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sql&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;sqlite_master&lt;/span&gt;
  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'table'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'view'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;LIKE&lt;/span&gt; &lt;span class="s1"&gt;'sqlite_%'&lt;/span&gt;
  &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Identifier &amp;amp; parameter isolation:&lt;/strong&gt; Dynamic table and column names are escaped with &lt;code&gt;quoteIdent(id)&lt;/code&gt; (&lt;code&gt;'"' + id.replace(/"/g, '""') + '"'&lt;/code&gt;), while every cell filter and edit value is bound via &lt;code&gt;?&lt;/code&gt; positional parameters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because it's pure WASM + Node.js 20+ built-ins, a &lt;code&gt;.sqlite&lt;/code&gt; file behaves identically whether it sits on your local MacBook or inside an Alpine Linux DevContainer over Remote-SSH.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Transactional SQL Diff Preview &amp;amp; Atomic Temp-File Write-Back
&lt;/h2&gt;

&lt;p&gt;Editing a local &lt;code&gt;.sqlite&lt;/code&gt; file in a GUI can be nerve-wracking if writes happen blindly on every cell blur. In &lt;code&gt;inlineEditor.ts&lt;/code&gt; (Pro), LiteForge uses a &lt;strong&gt;staged edit queue&lt;/strong&gt; paired with &lt;strong&gt;atomic file replacement&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Staged Edits (&lt;code&gt;StagedEdit[]&lt;/code&gt;):&lt;/strong&gt; Cell updates, row inserts, and row deletions accumulate in memory without mutating the database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQL Diff Preview (&lt;code&gt;EditPreviewResult&lt;/code&gt;):&lt;/strong&gt; Clicking &lt;strong&gt;Preview &amp;amp; Apply&lt;/strong&gt; renders the exact SQL statements (&lt;code&gt;UPDATE&lt;/code&gt;, &lt;code&gt;INSERT&lt;/code&gt;, &lt;code&gt;DELETE&lt;/code&gt;) for review before anything runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transactional Execution:&lt;/strong&gt; Statements execute inside &lt;code&gt;BEGIN TRANSACTION; ...; COMMIT;&lt;/code&gt;. If any &lt;code&gt;CHECK&lt;/code&gt;, &lt;code&gt;NOT NULL&lt;/code&gt;, or &lt;code&gt;FOREIGN KEY&lt;/code&gt; constraint fails, &lt;code&gt;ROLLBACK;&lt;/code&gt; runs immediately so the in-memory WASM database remains uncorrupted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Atomic Write-Back:&lt;/strong&gt; &lt;code&gt;db.export()&lt;/code&gt; serializes the updated &lt;code&gt;Uint8Array&lt;/code&gt;, writes it to &lt;code&gt;&amp;lt;dbPath&amp;gt;.liteforge.tmp&lt;/code&gt;, and atomically swaps it over &lt;code&gt;&amp;lt;dbPath&amp;gt;&lt;/code&gt; via &lt;code&gt;fs.rename()&lt;/code&gt;. A sudden crash or power loss mid-write never leaves a half-written, corrupted &lt;code&gt;.sqlite&lt;/code&gt; file on disk.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  4. Local 2-File SQLite Schema Diffing &amp;amp; &lt;code&gt;PRAGMA&lt;/code&gt; ERD Introspection
&lt;/h2&gt;

&lt;p&gt;When developing locally, comparing &lt;code&gt;dev.sqlite&lt;/code&gt; against &lt;code&gt;prod-snapshot.sqlite&lt;/code&gt; usually means dumping both schemas and squinting at &lt;code&gt;diff&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Schema &amp;amp; ERD Introspection (&lt;code&gt;schemaErd.ts&lt;/code&gt;):&lt;/strong&gt; LiteForge queries &lt;code&gt;PRAGMA table_info&lt;/code&gt;, &lt;code&gt;PRAGMA foreign_key_list&lt;/code&gt;, and &lt;code&gt;PRAGMA index_list&lt;/code&gt; across every user table to construct an &lt;code&gt;ErdGraph&lt;/code&gt; (tables, PKs, FKs, and indexes) rendered with native &lt;code&gt;--vscode-*&lt;/code&gt; CSS tokens and a strict nonce CSP—zero external CDNs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic 2-File Schema Diff (&lt;code&gt;dbDiff.ts&lt;/code&gt;):&lt;/strong&gt; Comparing two &lt;code&gt;.sqlite&lt;/code&gt; files inspects both schema models and emits classified &lt;code&gt;SchemaDiffItem&lt;/code&gt;s (&lt;code&gt;table_added&lt;/code&gt;, &lt;code&gt;table_removed&lt;/code&gt;, &lt;code&gt;column_added&lt;/code&gt;, &lt;code&gt;column_removed&lt;/code&gt;, &lt;code&gt;column_type_changed&lt;/code&gt;, &lt;code&gt;index_added&lt;/code&gt;, &lt;code&gt;index_removed&lt;/code&gt;), flagging destructive changes and generating a deterministic &lt;code&gt;fullMigrationSql&lt;/code&gt; script (&lt;code&gt;CREATE TABLE&lt;/code&gt;, &lt;code&gt;ALTER TABLE&lt;/code&gt;, &lt;code&gt;CREATE INDEX&lt;/code&gt;, &lt;code&gt;DROP INDEX&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  5. Free vs. Pro Split (Zero Login, Zero Telemetry)
&lt;/h2&gt;

&lt;p&gt;LiteForge keeps all everyday browsing, querying, and single-table exports &lt;strong&gt;Free Forever&lt;/strong&gt; with zero login and zero telemetry:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free ($0 Forever):&lt;/strong&gt; Pure WASM &lt;code&gt;sql.js&lt;/code&gt; custom editor for &lt;code&gt;.db&lt;/code&gt; / &lt;code&gt;.sqlite&lt;/code&gt; / &lt;code&gt;.sqlite3&lt;/code&gt;, paginated data grid with sorting/search and &lt;code&gt;NULL&lt;/code&gt; / BLOB hex / JSON cell inspector, multi-tab SQL Query Runner, single-table RFC-4180 CSV &amp;amp; JSON export, and native VS Code Light/Dark/High-Contrast theming.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pro ($19 Early Bird one-time / $5/mo):&lt;/strong&gt; Transactional inline cell &amp;amp; row editor with SQL diff preview and atomic write-back, visual Schema &amp;amp; Foreign-Key ERD inspector, local 2-file SQLite schema diff &amp;amp; migration SQL generator, and full transactional &lt;code&gt;.sql&lt;/code&gt; schema + data dump.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pro licensing uses Polar.sh (&lt;code&gt;api.polar.sh&lt;/code&gt;) with OS-keychain &lt;code&gt;SecretStorage&lt;/code&gt;, a 72-hour local cache, and a &lt;strong&gt;14-day offline grace window&lt;/strong&gt;—zero background phone-home in Free, and zero offline lockouts in Pro.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try LiteForge
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/liteforge" rel="noopener noreferrer"&gt;github.com/imgolamrabbani/liteforge&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Direct VSIX (&lt;code&gt;v1.0.0&lt;/code&gt;) for VS Code, Cursor, Windsurf &amp;amp; VSCodium:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/liteforge/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;GitHub Release v1.0.0&lt;/a&gt; (&lt;code&gt;code --install-extension liteforge-1.0.0.vsix&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Website &amp;amp; Docs:&lt;/strong&gt; &lt;a href="https://imgolamrabbani.github.io/liteforge/" rel="noopener noreferrer"&gt;imgolamrabbani.github.io/liteforge&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional Pro License:&lt;/strong&gt; &lt;a href="https://buy.polar.sh/polar_cl_evSGX7ncQzq8ajjg2Jecr1Mwm8IHGVYwW7mNC3QEvGc" rel="noopener noreferrer"&gt;$19 Early Bird One-Time (Lifetime v1.x)&lt;/a&gt; or &lt;a href="https://buy.polar.sh/polar_cl_ha0WLRlS412XLUtGag6MWwNYD6sLSgVncLqmM2CnVAo" rel="noopener noreferrer"&gt;$5/month&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you hit an edge case with &lt;code&gt;WITHOUT ROWID&lt;/code&gt; tables, strict tables, or custom &lt;code&gt;PRAGMA&lt;/code&gt; schemas, open an issue on GitHub—we're actively shipping v1.x updates.&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>sqlite</category>
      <category>webassembly</category>
      <category>typescript</category>
    </item>
    <item>
      <title>Why Your VS Code TODO Tree Broke on v1.122+ &amp; Remote-SSH (And How We Built a Ripgrep-Free Replacement in Pure Node 20)</title>
      <dc:creator>MD Golam Rabbani</dc:creator>
      <pubDate>Fri, 27 Nov 2026 09:56:21 +0000</pubDate>
      <link>https://dev.to/imgolamrabbani/why-your-vs-code-todo-tree-broke-on-v1122-remote-ssh-and-how-we-built-a-ripgrep-free-3g0n</link>
      <guid>https://dev.to/imgolamrabbani/why-your-vs-code-todo-tree-broke-on-v1122-remote-ssh-and-how-we-built-a-ripgrep-free-3g0n</guid>
      <description>&lt;p&gt;If you opened VS Code after updating to &lt;code&gt;v1.122+&lt;/code&gt;—or connected to a Remote-SSH, WSL, or DevContainer workspace—and saw &lt;code&gt;Todo-Tree: Failed to find vscode-ripgrep&lt;/code&gt;, you ran into a structural fragility in how legacy extensions locate native binaries.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Gruntfuggly.todo-tree&lt;/code&gt; (nearly 8M installs, unmaintained since 2023) shells out to VS Code's internal ripgrep binary. When VS Code migrated its internal binary packaging to &lt;code&gt;@vscode/ripgrep-universal&lt;/code&gt; and shifted where remote/extension host binaries live across platforms, hardcoded binary path resolution broke.&lt;/p&gt;

&lt;p&gt;Instead of patching another fragile path lookup, we built &lt;strong&gt;&lt;a href="https://imgolamrabbani.github.io/todopulse/" rel="noopener noreferrer"&gt;TodoPulse&lt;/a&gt;&lt;/strong&gt;: a 100% ripgrep-free comment &amp;amp; task scanner written in strict TypeScript using pure Node.js 20+ built-ins. Here is how it works under the hood.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Why &lt;code&gt;@vscode/ripgrep-universal&lt;/code&gt; Breaks Across Updates &amp;amp; Remotes
&lt;/h2&gt;

&lt;p&gt;Extensions that shell out to VS Code's bundled &lt;code&gt;rg&lt;/code&gt; binary inherit three brittle assumptions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Internal layout stability:&lt;/strong&gt; VS Code's &lt;code&gt;node_modules&lt;/code&gt; layout inside &lt;code&gt;resources/app/&lt;/code&gt; is an implementation detail, not a public extension API. Moving from &lt;code&gt;vscode-ripgrep&lt;/code&gt; to &lt;code&gt;@vscode/ripgrep-universal&lt;/code&gt; changes binary names and directory nesting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Host vs. Remote divergence:&lt;/strong&gt; On Remote-SSH, WSL, and DevContainers, the extension host runs inside &lt;code&gt;~/.vscode-server&lt;/code&gt; on the remote OS/architecture (e.g., &lt;code&gt;linux-arm64&lt;/code&gt; vs. local &lt;code&gt;darwin-arm64&lt;/code&gt;). Any fallback path that assumes local desktop paths fails silently or throws &lt;code&gt;ENOENT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subprocess spawn overhead &amp;amp; quoting:&lt;/strong&gt; Spawning a native process per incremental file save or passing complex custom tag regexes across shell boundaries introduces platform-specific escaping bugs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Eliminating the external binary entirely removes all three failure modes. If the VS Code Extension Host is running Node 20+, the scanner works identically on macOS, Windows, Linux, Remote-SSH, WSL, and DevContainers.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Pure Node 20+ Scanning: &lt;code&gt;.gitignore&lt;/code&gt;, NUL-Byte Skipping &amp;amp; Bounded Concurrency
&lt;/h2&gt;

&lt;p&gt;The common objection to a pure-JS/TS scanner is performance: &lt;em&gt;"Won't reading every file in Node stall on &lt;code&gt;node_modules&lt;/code&gt; or 50 MB minified bundles?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Only if you scan naively. In &lt;code&gt;scanner.ts&lt;/code&gt; and &lt;code&gt;ignoreMatcher.ts&lt;/code&gt;, TodoPulse keeps workspace scans fast and predictable with four layers of defense:&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1: &lt;code&gt;.gitignore&lt;/code&gt; &amp;amp; &lt;code&gt;.vscodeignore&lt;/code&gt; + Default Prune Sets
&lt;/h3&gt;

&lt;p&gt;Before touching file contents, &lt;code&gt;IgnoreMatcher.fromWorkspace()&lt;/code&gt; loads &lt;code&gt;.gitignore&lt;/code&gt; and &lt;code&gt;.vscodeignore&lt;/code&gt; rules (converting globs to anchored/unanchored &lt;code&gt;RegExp&lt;/code&gt;s via &lt;code&gt;globToRegExp()&lt;/code&gt;, including &lt;code&gt;!&lt;/code&gt; negation rules) alongside &lt;code&gt;DEFAULT_IGNORED_DIRS&lt;/code&gt; (&lt;code&gt;.git&lt;/code&gt;, &lt;code&gt;node_modules&lt;/code&gt;, &lt;code&gt;dist&lt;/code&gt;, &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;.next&lt;/code&gt;, &lt;code&gt;target&lt;/code&gt;, &lt;code&gt;.venv&lt;/code&gt;, &lt;code&gt;coverage&lt;/code&gt;) and &lt;code&gt;DEFAULT_IGNORED_FILES&lt;/code&gt; (lockfiles). Directory pruning happens &lt;strong&gt;before&lt;/strong&gt; descending into subdirectories, so &lt;code&gt;node_modules&lt;/code&gt; is never traversed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 2: Extension &amp;amp; Size Gates + 512-Byte NUL-Byte Binary Check
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;scanSingleFile()&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;BINARY_EXTENSIONS&lt;/code&gt; skips known binary formats (&lt;code&gt;.png&lt;/code&gt;, &lt;code&gt;.wasm&lt;/code&gt;, &lt;code&gt;.vsix&lt;/code&gt;, &lt;code&gt;.pdf&lt;/code&gt;, &lt;code&gt;.sqlite&lt;/code&gt;, etc.) before &lt;code&gt;stat()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;stat.size &amp;gt; options.maxFileSizeBytes&lt;/code&gt; (default &lt;code&gt;1_048_576&lt;/code&gt; bytes / 1 MB) skips huge generated or minified artifacts.&lt;/li&gt;
&lt;li&gt;For everything else, &lt;code&gt;bufferContainsNulByte(buf, 512)&lt;/code&gt; inspects the first 512 bytes for &lt;code&gt;0x00&lt;/code&gt;. Any binary file with an unfamiliar extension is aborted before UTF-8 decoding.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Layer 3: Single Compiled Comment-Prefix Regex
&lt;/h3&gt;

&lt;p&gt;Rather than running one regex per tag, &lt;code&gt;buildTagRegex()&lt;/code&gt; compiles a single alternation pattern anchored to comment prefixes (&lt;code&gt;//&lt;/code&gt;, &lt;code&gt;/*&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;#&lt;/code&gt;, &lt;code&gt;--&lt;/code&gt;, &lt;code&gt;&amp;lt;!--&lt;/code&gt;, &lt;code&gt;;&lt;/code&gt;, &lt;code&gt;%&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;pattern&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`(?:\\/\\/|\\/\\*|\\*|#|--|&amp;lt;!--|;|%)\\s*\\b(${alternation})\\b(?:\\([^)]+\\))?\\s*:?\\s*(.*)`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This matches &lt;code&gt;// TODO: fix&lt;/code&gt;, &lt;code&gt;# FIXME(auth): rotate key&lt;/code&gt;, &lt;code&gt;-- HACK&lt;/code&gt;, and &lt;code&gt;&amp;lt;!-- BUG --&amp;gt;&lt;/code&gt; in a single pass per line without false-positiving on identifiers like &lt;code&gt;todoList&lt;/code&gt; or &lt;code&gt;getTodoItems()&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 4: Bounded Concurrency Worker Pool &amp;amp; Incremental Save Rescanning
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;scanWorkspace()&lt;/code&gt; uses a 16-worker in-flight pool (&lt;code&gt;Promise.all&lt;/code&gt; over a shared cursor) so large repos saturate disk I/O cleanly without hitting &lt;code&gt;EMFILE&lt;/code&gt; file descriptor limits. After the initial workspace scan, saving a file only triggers &lt;code&gt;scanSingleFile()&lt;/code&gt; on that single URI and patches the in-memory index—zero full-workspace rescans on save.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Powering Local Tech-Debt Analytics via &lt;code&gt;git blame --porcelain&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Finding &lt;code&gt;TODO&lt;/code&gt;s is table stakes; knowing whether a &lt;code&gt;FIXME&lt;/code&gt; was written yesterday or three years ago is what makes it actionable.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;gitBlameService.ts&lt;/code&gt;, TodoPulse enriches &lt;code&gt;TodoItem&lt;/code&gt;s on demand using &lt;code&gt;execFile('git', ['blame', '--porcelain', '--', relPath])&lt;/code&gt; (note &lt;code&gt;execFile&lt;/code&gt;, not &lt;code&gt;exec&lt;/code&gt;, avoiding shell injection):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single call per file:&lt;/strong&gt; Items are grouped by &lt;code&gt;relativePath&lt;/code&gt; so &lt;code&gt;git blame&lt;/code&gt; runs at most once per file containing TODOs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mtime-keyed cache:&lt;/strong&gt; &lt;code&gt;CachedFileBlame&lt;/code&gt; stores &lt;code&gt;{ mtimeMs, lines: Map&amp;lt;number, GitBlameMeta&amp;gt; }&lt;/code&gt;. If a file hasn't changed on disk, re-opening the dashboard hits memory in &lt;code&gt;O(1)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Porcelain commit deduplication:&lt;/strong&gt; &lt;code&gt;parseGitBlamePorcelain()&lt;/code&gt; caches &lt;code&gt;{ author, authorEmail, authorTimeSec }&lt;/code&gt; by 40-char commit SHA as it streams the output, mapping 1-based Git line numbers to 0-based editor lines and flagging &lt;code&gt;00000000...&lt;/code&gt; hashes as &lt;code&gt;Uncommitted&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From there, &lt;code&gt;debtAnalytics.ts&lt;/code&gt; computes hotspot files, tag distributions, author breakdowns, and stale buckets (&lt;code&gt;&amp;gt;30d&lt;/code&gt;, &lt;code&gt;&amp;gt;90d&lt;/code&gt;), and &lt;code&gt;sprintExporter.ts&lt;/code&gt; exports clean Markdown tables, RFC-4180 CSV, or JSON for sprint planning.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Transparent Free vs. Pro Split (Zero Login, Zero Telemetry)
&lt;/h2&gt;

&lt;p&gt;We built TodoPulse so every core feature you relied on in &lt;code&gt;todo-tree&lt;/code&gt; is &lt;strong&gt;Free Forever&lt;/strong&gt; with zero login and zero telemetry:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free ($0 Forever):&lt;/strong&gt; Ripgrep-free pure Node 20+ scanner, Activity Bar TreeView (group by File, Tag, or Folder), unlimited custom tags/colors, &lt;code&gt;.gitignore&lt;/code&gt;/&lt;code&gt;.vscodeignore&lt;/code&gt; + binary skipping, inline gutter icons &amp;amp; editor highlights, incremental save rescanning, and a one-click &lt;code&gt;todo-tree.*&lt;/code&gt; settings migrator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pro ($12 Early Bird one-time / $4/mo):&lt;/strong&gt; Git-blame author &amp;amp; stale-age filtering (&lt;code&gt;&amp;gt;30d/&amp;gt;90d/&amp;gt;180d&lt;/code&gt;), branch/uncommitted diff filter, Local Tech-Debt Dashboard Webview, and Markdown/CSV/JSON sprint exports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pro licensing uses Polar.sh (&lt;code&gt;api.polar.sh&lt;/code&gt;) with OS-keychain &lt;code&gt;SecretStorage&lt;/code&gt;, a 72-hour local cache, and a &lt;strong&gt;14-day offline grace window&lt;/strong&gt;—zero background phone-home in Free, and zero lockouts when offline in Pro.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try TodoPulse
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/todopulse" rel="noopener noreferrer"&gt;github.com/imgolamrabbani/todopulse&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Direct VSIX (&lt;code&gt;v1.0.0&lt;/code&gt;) for VS Code, Cursor, Windsurf &amp;amp; VSCodium:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/todopulse/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;GitHub Release v1.0.0&lt;/a&gt; (&lt;code&gt;code --install-extension todopulse-1.0.0.vsix&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Website &amp;amp; Docs:&lt;/strong&gt; &lt;a href="https://imgolamrabbani.github.io/todopulse/" rel="noopener noreferrer"&gt;imgolamrabbani.github.io/todopulse&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional Pro License:&lt;/strong&gt; &lt;a href="https://buy.polar.sh/polar_cl_wsM9r9y1kBAy9ef0mBAL5EnlLwSt3E8MHYs5S0n7F0C" rel="noopener noreferrer"&gt;$12 Early Bird One-Time&lt;/a&gt; or &lt;a href="https://buy.polar.sh/polar_cl_yqypNcBuYHVgXcdoyuYAbtzASrxRsBHZ57HvH3B6efr" rel="noopener noreferrer"&gt;$4/month&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have a custom comment syntax or monorepo &lt;code&gt;.gitignore&lt;/code&gt; edge case, open an issue on GitHub—we're actively shipping v1.x updates.&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>typescript</category>
      <category>devtools</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Why We Built a Git-Native .http Studio in VS Code (With Zero Login and Pure Node 20+)</title>
      <dc:creator>MD Golam Rabbani</dc:creator>
      <pubDate>Fri, 27 Nov 2026 06:37:22 +0000</pubDate>
      <link>https://dev.to/imgolamrabbani/why-we-built-a-git-native-http-studio-in-vs-code-with-zero-login-and-pure-node-20-267m</link>
      <guid>https://dev.to/imgolamrabbani/why-we-built-a-git-native-http-studio-in-vs-code-with-zero-login-and-pure-node-20-267m</guid>
      <description>&lt;p&gt;Most developers using VS Code for API work eventually run into the same fork in the road:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;GUI API clients&lt;/strong&gt; that feel great on day one, then gradually lock local collections behind mandatory sign-in, cloud sync, or proprietary JSON blobs that turn every PR diff into noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plain-text &lt;code&gt;.http&lt;/code&gt; runners&lt;/strong&gt; (like &lt;code&gt;humao.rest-client&lt;/code&gt;) that keep requests clean and Git-reviewable, but haven't seen active maintenance in years and offer no visual builder for complex bodies, headers, or response inspection.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We built &lt;strong&gt;&lt;a href="https://imgolamrabbani.github.io/caliberhttp/" rel="noopener noreferrer"&gt;CaliberHTTP&lt;/a&gt;&lt;/strong&gt; to bridge that gap without asking for an account, running a background database, or shipping native C++ binaries. Your &lt;code&gt;.http&lt;/code&gt; and &lt;code&gt;.rest&lt;/code&gt; files remain the single source of truth in your repository, while a split-pane React 19 Webview gives you a two-way Visual Request Studio on top.&lt;/p&gt;

&lt;p&gt;Here is a look under the hood at how it works.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Why Plain-Text &lt;code&gt;.http&lt;/code&gt; + Local Visual UI Beats Cloud-Locked Clients
&lt;/h2&gt;

&lt;p&gt;When an API collection lives in a proprietary workspace store—or worse, a remote cloud account—several things break quietly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code reviews lose context:&lt;/strong&gt; Adding a header or changing a payload in a PR should be a 2-line diff in &lt;code&gt;api/auth.http&lt;/code&gt;, not an opaque export file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Localhost and VPN endpoints become second-class citizens:&lt;/strong&gt; Sending internal service metadata through a cloud-connected client is a non-starter for many teams.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tooling lock-in:&lt;/strong&gt; If an extension starts paywalling local collections or requiring login, your team's muscle memory and request history are held hostage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Treating &lt;code&gt;.http&lt;/code&gt; files as the canonical format solves all three. You can open a repository, click &lt;strong&gt;Send Request&lt;/strong&gt; from an inline CodeLens, or open the Visual Request Studio to edit query params, auth headers, and JSON/GraphQL bodies—and everything writes straight back to plain text.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Lossless &lt;code&gt;.http&lt;/code&gt; Parsing &amp;amp; Two-Way Sync
&lt;/h2&gt;

&lt;p&gt;The hardest part of building a GUI on top of &lt;code&gt;.http&lt;/code&gt; files is &lt;strong&gt;not destroying what the developer already wrote&lt;/strong&gt;. If a user has file-level &lt;code&gt;@baseUrl&lt;/code&gt; variables, comments explaining an edge case, or disabled headers (&lt;code&gt;# X-Debug: true&lt;/code&gt;), a naive serializer that overwrites the whole file on every keystroke will ruin the file.&lt;/p&gt;

&lt;p&gt;CaliberHTTP avoids this by treating each request block as an isolated slice in &lt;code&gt;httpParser.ts&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="na"&gt;@baseUrl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//127.0.0.1:4010&lt;/span&gt;
&lt;span class="na"&gt;@token&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;login&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;$&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;access_token&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;### Create Order
# @name create_order
# @assert status == 201
# @assert body.$.id exists
&lt;/span&gt;&lt;span class="no"&gt;POST&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;baseUrl&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;orders&lt;/span&gt;
&lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Bearer&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;token&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nc"&gt;Content&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;application&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="c1"&gt;# X-Idempotency-Key: test-only-disabled
&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="s2"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"caliber-pro"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"qty"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When &lt;code&gt;parseHttpDocument()&lt;/code&gt; scans the file, it records exact 0-based &lt;code&gt;lineStart&lt;/code&gt; and &lt;code&gt;lineEnd&lt;/code&gt; offsets for each &lt;code&gt;###&lt;/code&gt; request segment, extracts &lt;code&gt;@var = value&lt;/code&gt; declarations, parses &lt;code&gt;# @name&lt;/code&gt; and &lt;code&gt;# @assert&lt;/code&gt; directives, and preserves commented-out headers as &lt;code&gt;{ enabled: false }&lt;/code&gt; entries.&lt;/p&gt;

&lt;p&gt;When you edit a header, URL, or body in the Visual Studio Webview, &lt;code&gt;updateRequestInDocument()&lt;/code&gt; does &lt;strong&gt;not&lt;/strong&gt; re-serialize the entire document:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It re-parses the current &lt;code&gt;.http&lt;/code&gt; text to locate the matching block by &lt;code&gt;id&lt;/code&gt; (or &lt;code&gt;lineStart&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;It serializes only that single &lt;code&gt;HttpRequestBlock&lt;/code&gt; via &lt;code&gt;serializeRequestBlock()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It splices &lt;code&gt;[...beforeLines, ...serializedBlockLines, ...afterLines]&lt;/code&gt; back together.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Surrounding &lt;code&gt;@var&lt;/code&gt; declarations, comments outside the block, and every other request in the file remain byte-for-byte untouched. Conversely, editing the &lt;code&gt;.http&lt;/code&gt; file in VS Code's text editor updates the Webview live.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Pure Node 20+ Built-Ins: Schema Drift &amp;amp; &lt;code&gt;127.0.0.1&lt;/code&gt; Mock Serving
&lt;/h2&gt;

&lt;p&gt;We kept CaliberHTTP's runtime dependency footprint at zero external runtime packages—no Electron sidecars, no SQLite native bindings, no Python helpers. Everything runs on Node 20+ built-ins (&lt;code&gt;fetch&lt;/code&gt;, &lt;code&gt;node:http&lt;/code&gt;, &lt;code&gt;node:crypto&lt;/code&gt;, &lt;code&gt;node:fs/promises&lt;/code&gt;) bundled with &lt;code&gt;esbuild&lt;/code&gt; into a lean &lt;code&gt;.vsix&lt;/code&gt; (~140 KB).&lt;/p&gt;

&lt;h3&gt;
  
  
  Local JSON Schema Drift Inference
&lt;/h3&gt;

&lt;p&gt;API regressions rarely show up as 500s; they show up as a field silently changing from &lt;code&gt;integer&lt;/code&gt; to &lt;code&gt;string&lt;/code&gt; or disappearing from a nested object.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;schemaDrift.ts&lt;/code&gt;, CaliberHTTP implements a recursive structural type inferrer (&lt;code&gt;inferSchema()&lt;/code&gt;) that distills any JSON response into a lightweight AST:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Distinguishes &lt;code&gt;integer&lt;/code&gt; (&lt;code&gt;Number.isInteger(value)&lt;/code&gt;) from &lt;code&gt;number&lt;/code&gt;, &lt;code&gt;string&lt;/code&gt;, &lt;code&gt;boolean&lt;/code&gt;, &lt;code&gt;null&lt;/code&gt;, &lt;code&gt;array&lt;/code&gt; (inspecting item shape), and nested &lt;code&gt;object&lt;/code&gt; properties.&lt;/li&gt;
&lt;li&gt;Stores pinned baselines locally in &lt;code&gt;.caliber/snapshots/&amp;lt;requestId&amp;gt;.json&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;On subsequent runs, &lt;code&gt;compareSchemas()&lt;/code&gt; walks the baseline and current ASTs to classify drift:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;removed_field&lt;/code&gt; → &lt;strong&gt;breaking&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;type_changed&lt;/code&gt; → &lt;strong&gt;warning&lt;/strong&gt; if widening (&lt;code&gt;integer&lt;/code&gt; → &lt;code&gt;number&lt;/code&gt;), &lt;strong&gt;breaking&lt;/strong&gt; otherwise (e.g., &lt;code&gt;number&lt;/code&gt; → &lt;code&gt;integer&lt;/code&gt; or &lt;code&gt;string&lt;/code&gt; → &lt;code&gt;null&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;added_field&lt;/code&gt; → &lt;strong&gt;info&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;status_changed&lt;/code&gt; → &lt;strong&gt;breaking&lt;/strong&gt; (if crossing 2xx/non-2xx) or &lt;strong&gt;warning&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Local &lt;code&gt;127.0.0.1&lt;/code&gt; Mock Server
&lt;/h3&gt;

&lt;p&gt;Frontend and integration work often stalls waiting on a backend endpoint. CaliberHTTP's mock server (&lt;code&gt;mockServer.ts&lt;/code&gt;) spins up a &lt;code&gt;node:http&lt;/code&gt; server bound strictly to &lt;code&gt;127.0.0.1&lt;/code&gt; (default port &lt;code&gt;4010&lt;/code&gt;) directly from either:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Existing &lt;code&gt;.http&lt;/code&gt; fixture files (using each request's method, normalized path, body, and optional &lt;code&gt;X-Mock-Status&lt;/code&gt; header), or&lt;/li&gt;
&lt;li&gt;An OpenAPI 3.0/3.1 JSON spec (synthesizing example payloads from schema &lt;code&gt;example&lt;/code&gt; fields or primitive types).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Route matching supports &lt;code&gt;:param&lt;/code&gt;, &lt;code&gt;{param}&lt;/code&gt;, and &lt;code&gt;*&lt;/code&gt; path segments, responds to &lt;code&gt;OPTIONS&lt;/code&gt; preflight with permissive local CORS headers (&lt;code&gt;Access-Control-Allow-Origin: *&lt;/code&gt;), and keeps an in-memory ring buffer of the last 200 requests so you can inspect hits without leaving VS Code.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Transparent Free vs. Pro Breakdown (Zero Login, Zero Telemetry)
&lt;/h2&gt;

&lt;p&gt;We wanted the pricing boundary to feel fair and predictable—everything developers were frustrated about losing in other extensions stays free forever:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Free ($0 Forever)&lt;/th&gt;
&lt;th&gt;Pro ($19 Early Bird One-Time / $5/mo)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Local &lt;code&gt;.http&lt;/code&gt; / &lt;code&gt;.rest&lt;/code&gt; collections &amp;amp; Git-native sync&lt;/td&gt;
&lt;td&gt;Unlimited&lt;/td&gt;
&lt;td&gt;Unlimited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Visual Request Studio Webview (dark/light/high-contrast)&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inline CodeLens (&lt;code&gt;Send Request&lt;/code&gt; / &lt;code&gt;Open in Studio&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HTTP/REST + GraphQL-over-HTTP (query + variables)&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Environments (&lt;code&gt;caliber.env.json&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt;, &lt;code&gt;{{$uuid}}&lt;/code&gt;, &lt;code&gt;{{$timestamp}}&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Unlimited&lt;/td&gt;
&lt;td&gt;Unlimited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Local history (last 100 runs) &amp;amp; single cURL import/export&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;td&gt;Full&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multi-step &lt;code&gt;@assert&lt;/code&gt; chaining + JUnit / Markdown / JSON export&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JSON Response Snapshot &amp;amp; Schema Drift Detector&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Local &lt;code&gt;127.0.0.1&lt;/code&gt; Mock Server (&lt;code&gt;.http&lt;/code&gt; &amp;amp; OpenAPI 3.x)&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HAR-to-&lt;code&gt;.http&lt;/code&gt; batch importer &amp;amp; AES-256-GCM &lt;code&gt;.caliber/vault.enc&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Privacy &amp;amp; Offline Model:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero telemetry, zero analytics, zero login.&lt;/strong&gt; Outbound network calls only happen when you execute a request—or when you optionally activate/validate a Pro license key via Polar.sh.&lt;/li&gt;
&lt;li&gt;Pro licenses use a &lt;strong&gt;72-hour local cache&lt;/strong&gt; and a &lt;strong&gt;14-day offline grace window&lt;/strong&gt; stored in VS Code's OS-keychain-backed &lt;code&gt;SecretStorage&lt;/code&gt;. Transient network failures or air-gapped work will never lock you out.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try CaliberHTTP
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Install from VS Code Marketplace:&lt;/strong&gt; &lt;a href="https://marketplace.visualstudio.com/items?itemName=caliberhttp.caliberhttp" rel="noopener noreferrer"&gt;CaliberHTTP on VS Code Marketplace&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor / Windsurf / VSCodium (Direct &lt;code&gt;.vsix&lt;/code&gt;):&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/caliberhttp/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;GitHub Release v1.0.0&lt;/a&gt; (&lt;code&gt;code --install-extension caliberhttp-1.0.0.vsix&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docs &amp;amp; Storefront:&lt;/strong&gt; &lt;a href="https://imgolamrabbani.github.io/caliberhttp/" rel="noopener noreferrer"&gt;imgolamrabbani.github.io/caliberhttp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source Repository:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/caliberhttp" rel="noopener noreferrer"&gt;github.com/imgolamrabbani/caliberhttp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional Pro License:&lt;/strong&gt; &lt;a href="https://buy.polar.sh/polar_cl_npSDaxVmLTXH6L1DLkqhgS5PR8ASl9JpLa4u93CrKhy" rel="noopener noreferrer"&gt;$19 Early Bird One-Time (Lifetime v1.x)&lt;/a&gt; or &lt;a href="https://buy.polar.sh/polar_cl_Ketm5jzX0mRUKWHftGO2F8gYvmYPBQ53SFMbm1VUoXg" rel="noopener noreferrer"&gt;$5/month&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you hit any &lt;code&gt;.http&lt;/code&gt; parser edge cases or have requests for CI export formats, open an issue on GitHub—we're actively iterating on v1.x.&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>api</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why I Built a 337 KB Native Swift Port Manager Instead of Another 200 MB Electron App</title>
      <dc:creator>MD Golam Rabbani</dc:creator>
      <pubDate>Fri, 27 Nov 2026 06:08:10 +0000</pubDate>
      <link>https://dev.to/imgolamrabbani/why-i-built-a-337-kb-native-swift-port-manager-instead-of-another-200-mb-electron-app-43bi</link>
      <guid>https://dev.to/imgolamrabbani/why-i-built-a-337-kb-native-swift-port-manager-instead-of-another-200-mb-electron-app-43bi</guid>
      <description>&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%2F5whp6kumsvx0pco8siqa.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%2F5whp6kumsvx0pco8siqa.png" alt="PortPilot — Native macOS Menu-Bar Port Manager" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every full-stack developer hits the exact same friction multiple times a day:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: listen EADDRINUSE: address already in use :::3000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You stop what you're building, open a new terminal tab, run &lt;code&gt;lsof -nP -iTCP:3000 -sTCP:LISTEN&lt;/code&gt;, squint at the PID, run &lt;code&gt;kill -9 &amp;lt;pid&amp;gt;&lt;/code&gt;, and lose your flow. And if you look for a macOS menu-bar utility to handle it, half the options are &lt;strong&gt;200–350 MB Electron wrappers&lt;/strong&gt; eating 300 MB of RAM just to sit in your menu bar — or bundled into $10/month subscriptions.&lt;/p&gt;

&lt;p&gt;So I started &lt;strong&gt;&lt;a href="https://github.com/imgolamrabbani/kilobyte-labs" rel="noopener noreferrer"&gt;Kilobyte Labs&lt;/a&gt;&lt;/strong&gt; to compile tiny, native Apple Silicon Swift/AppKit menu-bar utilities with zero Electron and one-time pricing.&lt;/p&gt;




&lt;h2&gt;
  
  
  How PortPilot Fits in 337 KB
&lt;/h2&gt;

&lt;p&gt;Instead of shipping Chromium + Node.js, &lt;strong&gt;PortPilot&lt;/strong&gt; compiles directly to a stripped native ARM64 Mach-O binary (&lt;code&gt;swiftc -O -whole-module-optimization -parse-as-library -Xfrontend -disable-reflection-names -Xlinker -dead_strip -Xlinker -x&lt;/code&gt; + &lt;code&gt;strip -u -r&lt;/code&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Machine-parseable port scanning:&lt;/strong&gt; Uses &lt;code&gt;/usr/sbin/lsof -nP -iTCP -sTCP:LISTEN -F pcnT&lt;/code&gt; combined with a single batched &lt;code&gt;ps -ww -o pid=,rss=,args=&lt;/code&gt; lookup so process names with spaces never break parsing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart runtime tagging:&lt;/strong&gt; Automatically identifies Next.js (&lt;code&gt;:3000&lt;/code&gt;), Vite (&lt;code&gt;:5173&lt;/code&gt;), PostgreSQL (&lt;code&gt;:5432&lt;/code&gt;), Redis (&lt;code&gt;:6379&lt;/code&gt;), FastAPI/Django (&lt;code&gt;:8000&lt;/code&gt;), Ollama (&lt;code&gt;:11434&lt;/code&gt;), and protects macOS system daemons (&lt;code&gt;ControlCenter&lt;/code&gt;, &lt;code&gt;mDNSResponder&lt;/code&gt;, &lt;code&gt;rapportd&lt;/code&gt;) with a shield badge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-click actions right from the menu bar:&lt;/strong&gt; Open &lt;code&gt;http://localhost:&amp;lt;port&amp;gt;&lt;/code&gt;, Copy URL, Pin favorites, graceful &lt;code&gt;SIGTERM&lt;/code&gt; stop, right-click Force &lt;code&gt;SIGKILL&lt;/code&gt;, and &lt;strong&gt;Clean All Dev Ports&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline hardware-bound licensing:&lt;/strong&gt; Verifies once against the Gumroad License API and caches a &lt;code&gt;CryptoKit&lt;/code&gt; &lt;code&gt;HMAC-SHA256&lt;/code&gt; receipt bound to the Mac's native &lt;code&gt;IOKit&lt;/code&gt; &lt;code&gt;IOPlatformUUID&lt;/code&gt; so it works 100% offline afterward.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tool #2: SnapShrink (Offline ImageIO Compressor + GPS/EXIF Stripper)
&lt;/h2&gt;

&lt;p&gt;Right alongside PortPilot, I built &lt;strong&gt;SnapShrink&lt;/strong&gt; — a native macOS menu-bar utility powered by Apple's hardware-accelerated &lt;code&gt;ImageIO&lt;/code&gt; &amp;amp; &lt;code&gt;CoreGraphics&lt;/code&gt; (&lt;code&gt;CGImageSource&lt;/code&gt; / &lt;code&gt;CGImageDestination&lt;/code&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Shrinks bloated 4–8 MB macOS Retina screenshots and photos up to &lt;strong&gt;80% smaller&lt;/strong&gt; locally (also super useful for compressing screenshots before pasting into Claude, Cursor, or ChatGPT).&lt;/li&gt;
&lt;li&gt;Automatically strips hidden &lt;strong&gt;GPS coordinates, camera serial/model, TIFF, and IPTC EXIF metadata&lt;/strong&gt; with zero cloud uploads.&lt;/li&gt;
&lt;li&gt;Includes an optional &lt;strong&gt;Auto-Shrink Desktop Screenshots&lt;/strong&gt; watcher mode.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Check Out Both Apps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Showcase &amp;amp; Benchmarks:&lt;/strong&gt; &lt;a href="https://github.com/imgolamrabbani/kilobyte-labs" rel="noopener noreferrer"&gt;https://github.com/imgolamrabbani/kilobyte-labs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kilobyte Labs Storefront:&lt;/strong&gt; &lt;a href="https://imgolamrabbani.github.io/neon-agent-house/" rel="noopener noreferrer"&gt;https://imgolamrabbani.github.io/neon-agent-house/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PortPilot ($9 one-time):&lt;/strong&gt; &lt;a href="https://adorable48.gumroad.com/l/portpilot" rel="noopener noreferrer"&gt;https://adorable48.gumroad.com/l/portpilot&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SnapShrink ($7 one-time):&lt;/strong&gt; &lt;a href="https://adorable48.gumroad.com/l/snapshrink" rel="noopener noreferrer"&gt;https://adorable48.gumroad.com/l/snapshrink&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mac Power User Bundle ($12 for both — save 25%):&lt;/strong&gt; &lt;a href="https://adorable48.gumroad.com/l/mac-power-bundle" rel="noopener noreferrer"&gt;https://adorable48.gumroad.com/l/mac-power-bundle&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Full transparency:&lt;/em&gt; Both apps target macOS 14+ (Apple Silicon) and are currently ad-hoc signed indie builds while bootstrapping at $0 fixed cost (Right-Click → Open once on first launch).&lt;/p&gt;

&lt;p&gt;What other everyday macOS or developer friction deserves a sub-500 KB native Swift utility instead of a 250 MB Electron app? Let me know in the comments!&lt;/p&gt;

</description>
      <category>macos</category>
      <category>swift</category>
      <category>webdev</category>
      <category>indiedev</category>
    </item>
  </channel>
</rss>
