<?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: Antonios Papadopoulos</title>
    <description>The latest articles on DEV Community by Antonios Papadopoulos (@mrpap).</description>
    <link>https://dev.to/mrpap</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%2F4268493%2F4d1ba922-93eb-4270-b59f-c5cec4d8839b.png</url>
      <title>DEV Community: Antonios Papadopoulos</title>
      <link>https://dev.to/mrpap</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrpap"/>
    <language>en</language>
    <item>
      <title>I got tired of juggling cloudflared processes, so I built tuinnel-plus</title>
      <dc:creator>Antonios Papadopoulos</dc:creator>
      <pubDate>Fri, 27 Nov 2026 08:55:53 +0000</pubDate>
      <link>https://dev.to/mrpap/i-got-tired-of-juggling-cloudflared-processes-so-i-built-tuinnel-plus-k38</link>
      <guid>https://dev.to/mrpap/i-got-tired-of-juggling-cloudflared-processes-so-i-built-tuinnel-plus-k38</guid>
      <description>&lt;p&gt;I run a handful of small services at home and expose them on subdomains of my own domains through Cloudflare Tunnel. It works great, but every service means a cloudflared process, a tunnel and a DNS record. Over time I ended up with processes I'd forgotten about, tunnels I couldn't tell apart, and leftovers in the Cloudflare dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkblaf96dc1psx3jpu73s.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkblaf96dc1psx3jpu73s.gif" alt="The tuinnel-plus web UI: tunnel overview, live logs and metrics" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it started
&lt;/h2&gt;

&lt;p&gt;I found &lt;a href="https://github.com/NickDunas/tuinnel" rel="noopener noreferrer"&gt;tuinnel&lt;/a&gt; by Nick Dunas: a terminal dashboard that maps a local port to a subdomain in one step. It creates the Cloudflare tunnel and DNS record for you, and removes both when you delete it. That was most of what I wanted.&lt;/p&gt;

&lt;p&gt;What I missed was everything around it. The tunnels lived as long as the terminal did, and I wanted to check on them from a browser, not only from a terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I changed
&lt;/h2&gt;

&lt;p&gt;So I forked it into &lt;strong&gt;tuinnel-plus&lt;/strong&gt; and added:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A background service&lt;/strong&gt; that owns all tunnels. The terminal dashboard, the CLI and the web UI are just clients of it, so closing any of them leaves your tunnels running. Tunnels that were running come back after a reboot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A web UI&lt;/strong&gt; with a live tunnel list, logs and metrics, and buttons to add, edit, start, stop and delete. It's password-protected and listens on &lt;code&gt;127.0.0.1:8484&lt;/code&gt; by default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional remote access&lt;/strong&gt;: publish the web UI itself on a subdomain through its own tunnel, behind your password.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;service install&lt;/code&gt;&lt;/strong&gt; to run it at login on macOS or as a systemd user service on Linux.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;purge&lt;/code&gt;&lt;/strong&gt; to find tunnels Cloudflare still has but you no longer use, and &lt;strong&gt;&lt;code&gt;doctor&lt;/code&gt;&lt;/strong&gt; to check your token, permissions and network.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;You need Node.js 20+, macOS or Linux, and a Cloudflare account with a domain.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install -g tuinnel-plus

&lt;span class="c"&gt;# Open the terminal dashboard (the first run walks you through setup)&lt;/span&gt;
tuinnel-plus

&lt;span class="c"&gt;# Or start a tunnel for port 3000 straight away&lt;/span&gt;
tuinnel-plus 3000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;a href="http://127.0.0.1:8484" rel="noopener noreferrer"&gt;http://127.0.0.1:8484&lt;/a&gt; for the web UI; on your first visit you choose a password. To keep it running at login or boot:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tuinnel-plus service install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No Cloudflare account? &lt;code&gt;tuinnel-plus up 3000 --quick&lt;/code&gt; gives you a random &lt;code&gt;trycloudflare.com&lt;/code&gt; URL.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;It's early (v0.1.4) and I use it every day for my own tunnels. The roadmap is in the repo, and I'd love to hear what's missing or what breaks for you:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/mrpap/tuinnel-plus" rel="noopener noreferrer"&gt;https://github.com/mrpap/tuinnel-plus&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I built tuinnel-plus with help from Claude Code. I directed the design, review the changes and run it on my own setup every day.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>opensource</category>
      <category>node</category>
      <category>cloudflare</category>
    </item>
  </channel>
</rss>
