<?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: 지권</title>
    <description>The latest articles on DEV Community by 지권 (@wlrnjs).</description>
    <link>https://dev.to/wlrnjs</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%2F4144312%2F37a6545f-2b49-4735-b961-4907851cbad9.png</url>
      <title>DEV Community: 지권</title>
      <link>https://dev.to/wlrnjs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wlrnjs"/>
    <language>en</language>
    <item>
      <title>I built a Chrome extension that shows which Git branch is serving each localhost port</title>
      <dc:creator>지권</dc:creator>
      <pubDate>Sat, 26 Sep 2026 12:33:16 +0000</pubDate>
      <link>https://dev.to/wlrnjs/i-built-a-chrome-extension-that-shows-which-git-branch-is-serving-each-localhost-port-5afa</link>
      <guid>https://dev.to/wlrnjs/i-built-a-chrome-extension-that-shows-which-git-branch-is-serving-each-localhost-port-5afa</guid>
      <description>&lt;p&gt;I often run several Git worktrees at once, each with its own dev server. After a while, &lt;code&gt;localhost:3000&lt;/code&gt;, &lt;code&gt;3001&lt;/code&gt;, and &lt;code&gt;5173&lt;/code&gt; all look the same, and more than once I tested a fix in the wrong tab.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Branchport&lt;/strong&gt;, a Chrome extension that tells you which worktree and branch is behind every localhost page.&lt;/p&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%2F5n6ezwrbz0k64hxzto3a.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%2F5n6ezwrbz0k64hxzto3a.png" alt="Branchport label and popup on a localhost page" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A label on every localhost page&lt;/strong&gt; with the repo, worktree, and branch. Red means &lt;code&gt;main&lt;/code&gt;, orange means uncommitted changes, blue means a feature branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch names in tab titles&lt;/strong&gt;, and optional tab groups per worktree.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A popup with every local dev server&lt;/strong&gt;: port, PID, uptime, CPU, and memory. Open a server in your editor, terminal, or file manager, or stop it safely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A warning&lt;/strong&gt; when the same worktree is running on more than one port.&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%2Fw8ajf6u0vbs13mrqgtl7.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%2Fw8ajf6u0vbs13mrqgtl7.png" alt="Branchport popup listing three local servers" width="800" height="970"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;A Chrome extension can't see local processes, so Branchport comes with a small helper that runs on &lt;code&gt;127.0.0.1&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It finds which process is listening on each port.&lt;/li&gt;
&lt;li&gt;It reads that process's working directory.&lt;/li&gt;
&lt;li&gt;It asks Git for the repo, branch, and status of that directory.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The helper only answers requests from the extension, and nothing leaves your machine. It works on macOS, Linux, and Windows.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Add Branchport from the &lt;a href="https://chromewebstore.google.com/detail/branchport/lcfgllcanfffllgdbalehgdafanohngb" rel="noopener noreferrer"&gt;Chrome Web Store&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Install the helper once:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx branchport &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's free and MIT licensed. The code is on &lt;a href="https://github.com/jikwon-labs/branchport" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you juggle multiple worktrees or run several AI coding agents in parallel, I'd love to hear what you think.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>git</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
