<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bealu Girma on Medium]]></title>
        <description><![CDATA[Stories by Bealu Girma on Medium]]></description>
        <link>https://medium.com/@gbealu8?source=rss-e67dfc63c1f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uo374G5UnRZ72FVsQD2B2Q.jpeg</url>
            <title>Stories by Bealu Girma on Medium</title>
            <link>https://medium.com/@gbealu8?source=rss-e67dfc63c1f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:24:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gbealu8/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Get a Free SSL Domain for VPS Deployments]]></title>
            <link>https://medium.com/@gbealu8/how-to-get-a-free-ssl-domain-for-vps-deployments-d02d7ad46d38?source=rss-e67dfc63c1f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d02d7ad46d38</guid>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[domains]]></category>
            <category><![CDATA[free]]></category>
            <category><![CDATA[vps]]></category>
            <dc:creator><![CDATA[Bealu Girma]]></dc:creator>
            <pubDate>Tue, 28 Jul 2026 07:57:39 GMT</pubDate>
            <atom:updated>2026-07-28T07:57:39.875Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FfMyZIjmSVKIqUD7zB7qdw.jpeg" /></figure><p>Deploying a backend to a VPS only to have the browser block your HTTP requests due to HTTPS mixed content restrictions? Getting a valid SSL certificate for a bare IP address is a dead end, and clients rarely have their domain ready during staging. Here is how to get a free subdomain with a valid SSL certificate and route it securely to your VPS in under 10 minutes.</p><h3>What Is a Cloudflare Tunnel?</h3><p>A Cloudflare Tunnel connects your local VPS service directly to the Cloudflare network over a secure, outbound-only connection. Instead of opening public inbound ports or exposing your IP address, a local daemon (cloudflared) routes traffic directly, automatically handling SSL encryption at the edge.</p><h3>The Problem</h3><p>Here’s where modern web security gets in the way of development.</p><p>When you deploy a staging backend on a VPS bare IP (like http://123.45.67.89:3000), a frontend hosted on HTTPS (like Vercel or Netlify) cannot talk to it. Browsers block these requests due to mixed content security policies, and standard SSL providers (like Let&#39;s Encrypt) won&#39;t issue certificates for raw IP addresses.</p><p>Blocker Detail / Impact <strong>Mixed Content Restrictions</strong> https://my-app.vercel.app cannot fetch from http://123.45.67.89:3000. <strong>No SSL on Raw IP</strong> You cannot obtain a standard, trusted SSL certificate for a bare IP address. <strong>CORS Origins</strong> Aligning origins for cookies or credentials fails without matching domains.</p><p>Without a valid domain name, you are locked out of testing your app in a realistic staging environment.</p><h3>What I Tried First</h3><ul><li><strong>Self-Signed Certificates</strong> — Browsers flag them as untrusted, which completely blocks programmatic API calls from the frontend anyway.</li><li><strong>Freenom Free Domains (.tk, .ml)</strong> — The service is shut down, and most remaining “free” TLDs are blacklisted by Cloudflare or Let’s Encrypt.</li><li><strong>Port Forwarding with DynDNS</strong> — Requires opening VPS firewall ports and manually configuring Nginx and Let’s Encrypt renewal cron jobs.</li></ul><p>If you’ve been here, you’re not missing something obvious.</p><h3>The Insight</h3><p><strong>You can bypass nameserver verification limits on Cloudflare by registering a free subdomain from a DNS provider that permits custom nameservers, then exposing the local port using an outbound Cloudflare Tunnel.</strong></p><p><a href="https://domain.digitalplat.org/">DigitalPlat</a> provides free .dpdns.org subdomains and allows you to delegate nameserver control to Cloudflare. By pairing this with cloudflared, Cloudflare automatically handles the SSL/TLS termination and routes the traffic directly to your VPS&#39;s localhost port.</p><p>That’s it. The rest is just implementation.</p><h3>The Tools</h3><h4>DigitalPlat</h4><p>A free domain registration service that provides subdomains (like .dpdns.org) with full nameserver delegation. We use it to get a free domain and hand its DNS controls over to Cloudflare.</p><h4>Cloudflare Tunnel (cloudflared)</h4><p>A lightweight daemon running on your VPS that establishes an encrypted tunnel to Cloudflare. It handles domain routing and SSL termination automatically, allowing traffic to reach your backend without exposing VPS ports.</p><h3>The Setup</h3><h4>Step 1 — Register a Free Subdomain on DigitalPlat</h4><p>Go to <a href="https://domain.digitalplat.org/">DigitalPlat</a>. Once you register and log in, your dashboard provides slots for registering free domains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZrpZJ95OwjDvlQe0B0pTg.png" /></figure><p>Select <strong>Register</strong> in the sidebar.</p><ol><li>Choose <strong>.dpdns.org</strong> from the TLD dropdown.</li><li>Enter your domain name (e.g., nextgamekkslot) and check availability.</li><li>Agree to the terms and register it.</li></ol><blockquote>Recommend choosing `.dpdns.org`. Cloudflare easily recognizes it when adding it as a site, whereas other TLDs (like `.us.kg` or `.xx.kg`) might fail to verify or consume paid slots on DigitalPlat.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-hOw-_SaJeC5RbrW4NU_g.png" /></figure><h4>Step 2 — Add the Domain to Cloudflare</h4><p>Once your subdomain is registered on DigitalPlat, you need to point its DNS management to Cloudflare.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9tJ5avS_qDUxwJ57A63J2Q.png" /></figure><ol><li>Open the Cloudflare Dashboard and click <strong>Connect a domain</strong> or <strong>Add a site</strong>.</li><li>Enter your registered subdomain (e.g., nextgamekkslot.dpdns.org).</li><li>Copy the Cloudflare nameservers provided.</li><li>Go back to DigitalPlat, navigate to your domain settings, and replace the default nameservers with Cloudflare’s nameservers.</li><li>Wait for Cloudflare to verify the domain (usually takes a few minutes).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*slfrMDPwUbmVRVHrNFPHRA.png" /></figure><h4>Step 3 — Install cloudflared on the VPS</h4><p>With your domain configured in Cloudflare, download and install the Cloudflare Tunnel daemon (cloudflared) on your VPS.</p><pre># Download the latest deb package<br>curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb -o cloudflared.deb</pre><pre># Install the package<br>sudo dpkg -i cloudflared.deb</pre><p><strong>What’s happening here:</strong></p><ul><li>curl -L — downloads the cloudflared Debian package directly from Cloudflare&#39;s GitHub releases page.</li><li>dpkg -i — installs the package onto your system, adding the cloudflared command to your PATH.</li></ul><h4>Step 4 — Authenticate cloudflared</h4><p>Log in to your Cloudflare account from your VPS to authorize the tunnel daemon.</p><pre># Start the login process<br>cloudflared tunnel login</pre><p><strong>What’s happening here:</strong></p><ul><li>cloudflared tunnel login — generates a unique authentication URL. Copy and paste this URL into your browser, log in, and authorize access for your registered subdomain (nextgamekkslot.dpdns.org).</li></ul><h4>Step 5 — Create the Tunnel</h4><p>Create the named tunnel that will route traffic to your VPS backend.</p><pre># Create the tunnel (replace platform-tunnel with your desired name)<br>cloudflared tunnel create platform-tunnel</pre><p><strong>What’s happening here:</strong></p><ul><li>cloudflared tunnel create — creates the tunnel configuration on Cloudflare&#39;s servers and downloads a credentials JSON file containing the Tunnel ID to your VPS. Take note of this Tunnel ID.</li></ul><h4>Step 6 — Configure Ingress Rules</h4><p>Configure the ingress rules to map your subdomain to the local backend port.</p><pre># Create configuration directory<br>sudo mkdir -p /etc/cloudflared</pre><pre># Edit the config.yml file<br>sudo vi /etc/cloudflared/config.yml</pre><p>Paste the following configuration into /etc/cloudflared/config.yml:</p><pre>tunnel: platform-tunnel<br>credentials-file: /home/youruser/.cloudflared/&lt;TUNNEL_ID&gt;.json</pre><pre>ingress:<br>  - hostname: api.nextgamekkslot.dpdns.org<br>    service: <a href="http://localhost:3000/">http://localhost:3000</a><br>  - service: http_status:404</pre><p>Note</p><p>Replace youruser and &lt;TUNNEL_ID&gt; with your actual system username and the Tunnel ID generated in Step 5. Do not share your credentials file or raw Tunnel ID in public repositories.</p><p><strong>What’s happening here:</strong></p><ul><li>tunnel — specifies the name of the tunnel you created.</li><li>credentials-file — points to the JSON credentials file that authenticates your daemon.</li><li>ingress — lists the mapping rules. Traffic arriving at api.nextgamekkslot.dpdns.org is forwarded to http://localhost:3000. The final - service: http_status:404 serves as a catch-all rule for other requests.</li></ul><h4>Step 7 — Route DNS to the Tunnel</h4><p>Route the DNS traffic from your subdomain to the tunnel.</p><pre># Route DNS traffic<br>cloudflared tunnel route dns platform-tunnel api.nextgamekkslot.dpdns.org</pre><p><strong>What’s happening here:</strong></p><ul><li>cloudflared tunnel route dns — automatically adds a CNAME record to your Cloudflare DNS settings, routing traffic for api.nextgamekkslot.dpdns.org through the tunnel.</li></ul><p>![Cloudflare DNS records](../Screenshot 2026–06–09 at 10.17.36 AM.png)</p><h4>Step 8 — Start the Tunnel Service</h4><p>Install and start cloudflared as a persistent system service.</p><pre># Install the systemd service<br>sudo cloudflared service install</pre><pre># Enable and start the service<br>sudo systemctl enable cloudflared<br>sudo systemctl start cloudflared</pre><p><strong>What’s happening here:</strong></p><ul><li>sudo cloudflared service install — installs the daemon as a systemd service using the config file in /etc/cloudflared/config.yml.</li><li>systemctl enable &amp; start — configures the service to run automatically on V PS boot.</li></ul><h4>Step 9 — Verify the Connection</h4><p>Verify that your tunnel is up and accepting traffic.</p><pre># Check the status of the service<br>sudo systemctl status cloudflared</pre><p><strong>What’s happening here:</strong><br> You should see active (running) in the status output. You can now test the setup by visiting https://api.nextgamekkslot.dpdns.org in your browser. Cloudflare terminates the SSL certificate at their edge and forwards traffic securely to your VPS local port 3000.</p><h3>One Thing to Watch Out For</h3><p>Using the --url flag when attempting to run a custom-configured tunnel will override your ingress rules.</p><p>If you want to test the tunnel manually, do not include the --url flag. Run the command with only the tunnel name so it respects your /etc/cloudflared/config.yml configuration:</p><pre>cloudflared tunnel run platform-tunnel</pre><h3>Bonus: Running via Docker Compose</h3><p>If the rest of your backend stack is containerized, you can run the tunnel as a Docker service instead of installing it on the host OS.</p><p>Add the following service to your docker-compose.yml file:</p><pre>version: &#39;3.8&#39;</pre><pre>services:<br>  tunnel:<br>    image: cloudflare/cloudflared:latest<br>    restart: always<br>    command: tunnel run<br>    volumes:<br>      - /etc/cloudflared:/etc/cloudflared</pre><p>This keeps your host VPS clean and ensures the tunnel restarts automatically with your backend services.</p><h3>Wrapping Up</h3><ul><li><strong>Zero-Cost SSL</strong> — Obtain a fully valid HTTPS endpoint without buying a domain or managing Certbot/Nginx certificates.</li><li><strong>Outbound Security</strong> — No need to open port 3000 or configure inbound firewall rules. The tunnel communicates outbound to Cloudflare.</li><li><strong>No Mixed Content Blocks</strong> — Your HTTPS frontend can now call your HTTPS backend securely, solving mixed content and origin alignment issues.</li></ul><p>I hope this helps you unblock your staging deployments and test your APIs under production-like conditions. Happy hacking!</p><p><em>Have questions about configuring Cloudflare Tunnels or running them in production? Let me know in the comments below! 🚀</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d02d7ad46d38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Use Skills and MCPs to Make AI Agents Actually Useful]]></title>
            <link>https://medium.com/@gbealu8/how-i-use-skills-and-mcps-to-make-ai-agents-actually-useful-616a1f2ee618?source=rss-e67dfc63c1f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/616a1f2ee618</guid>
            <dc:creator><![CDATA[Bealu Girma]]></dc:creator>
            <pubDate>Thu, 04 Jun 2026 12:06:42 GMT</pubDate>
            <atom:updated>2026-06-04T12:06:42.826Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TeCozdAtUBlUE9ZppXbZNA.png" /></figure><p>Most AI agent demos look clean because the task is clean.</p><p>In reality, you’re hired as a frontend developer, then the same week you’re debugging backend responses, checking UI polish, testing edge cases, writing docs, reviewing security basics, and explaining why the app broke after someone skipped QA.</p><p>That’s where agents either help a lot or waste your time. The difference isn’t the model alone. It’s whether you give the agent repeatable ways to work and useful tools to work with.</p><p>That’s what Skills and MCPs are for.</p><h3>What Are Skills and MCPs?</h3><p><strong>Skills</strong> are task-specific instruction packs. A good skill tells the agent how to approach a repeatable job: what standards to follow, what files or scripts matter, and what the output should look like.</p><p><strong>MCPs</strong> (Model Context Protocol) give an agent access to external tools and live context — databases, design files, browser automation, docs, issue trackers, local project tools, or anything else exposed through a server.</p><p>Skills are the playbook. MCPs are the hands.</p><h3>The Problem</h3><p>Agents fall apart when you ask them to be “smart” without giving them a workflow.</p><p>That’s the mistake most people make. They open an agent and ask something broad:</p><pre>Build this feature and make it good.</pre><p>It sounds normal, but it lacks structure — so the agent guesses. Sometimes the guess is fine. Sometimes it writes code that works locally but doesn’t fit your project. Sometimes it gives a clean explanation and misses the one command that would’ve proven the fix.</p><p>This gets worse for indie developers and small teams. Companies want the final product, not the invisible work behind it: test coverage, code quality, deployment checks, security review, documentation, maintainability. When something breaks later, the blame still lands on the developer.</p><p>The problem isn’t “AI is bad at coding.” The problem is that one agent conversation is often asked to carry the weight of an entire delivery process.</p><h3>What I Tried First</h3><ul><li><strong>Prompting harder</strong> — I wrote longer prompts with more instructions. It helped for one task, then disappeared in the next conversation.</li><li><strong>Keeping one giant rules file</strong> — It got noisy. The agent was reading rules for testing, writing, security, frontend, backend, and docs even when the task only needed one of them.</li><li><strong>Manually pasting context every time</strong> — It worked, but it was slow. Any workflow that depends on copy-paste discipline is a workflow I’ll eventually skip.</li></ul><p>If you’ve been here, you’re not missing something obvious. A general-purpose agent needs a system around it.</p><h3>The Insight</h3><p><strong>Don’t make the agent remember your whole process. Give it small workflows and real tools at the moment it needs them.</strong></p><p>A skill narrows the behavior. It says: for this kind of task, follow this process, use these checks, produce this kind of output.</p><p>An MCP expands the agent’s reach. It says: for this kind of task, you can inspect the design file, run the browser, query the database, read project docs, or call a tool instead of guessing.</p><p>That’s it. The rest is implementation.</p><h3>The Setup</h3><h3>Step 1 — List the Jobs You Actually Do</h3><p>Don’t start by collecting tools. Start by naming the work.</p><p>For example:</p><pre>- frontend implementation<br>- API debugging<br>- database migration review<br>- UI polish<br>- test writing<br>- release checklist<br>- article writing<br>- security review</pre><p>This matters because “make my agent better” is too vague. “Make my agent better at reviewing Flutter PRs” is a workflow. When the job is clear, you can decide whether it needs a skill, an MCP, or both.</p><h3>Step 2 — Turn Repeatable Behavior Into Skills</h3><p>Create or install skills for work that has a repeatable process.</p><p>Examples:</p><pre>code-review/<br>  SKILL.md</pre><pre>flutter-patterns/<br>  SKILL.md</pre><pre>article-writing/<br>  SKILL.md</pre><pre>seo/<br>  SKILL.md</pre><p>A useful skill should answer four questions:</p><ul><li>What kind of task activates this skill?</li><li>What process should the agent follow?</li><li>What standards should the output meet?</li><li>What should the agent avoid?</li></ul><p>For example, a writing skill might include rules like:</p><pre>- Lead with the concrete problem.<br>- Cut generic transitions.<br>- Use the requested article structure.<br>- Don&#39;t invent facts or credibility.</pre><p>That’s much better than telling the agent “write well” every time. Activation rules prevent every skill from loading for every task. Quality gates make the output checkable before you publish or ship it.</p><h3>Step 3 — Add MCPs Where Guessing Is Expensive</h3><p>Use MCPs when the agent needs live context or tool access.</p><p>For example:</p><pre>Design task        -&gt; Figma MCP<br>Browser test       -&gt; Playwright MCP<br>Database debugging -&gt; Postgres or Supabase MCP<br>Flutter analysis   -&gt; Dart tooling MCP<br>Issue planning     -&gt; GitHub or tracker MCP</pre><p>Without tools, the agent says:</p><pre>This component should probably match the design.</pre><p>With the right MCP, it can inspect the design, compare spacing, check text, and tell you exactly what changed.</p><p>That’s the difference between a chat assistant and a working agent.</p><p>A few good places to browse when you’re looking for what’s available:</p><ul><li><a href="https://www.skills.sh/">skills.sh</a> — npm package for installing skills</li><li><a href="https://skillsmp.com/">skillsmp.com</a> — agent skills marketplace</li><li><a href="https://mcpservers.org/">mcpservers.org</a> — MCP server directory</li></ul><p>Don’t install everything that looks useful. Start with the painful jobs you repeat every week.</p><h3>Step 4 — Pair Skills and MCPs Together</h3><p>The best setup is usually not one or the other.</p><p>Task Skill MCP Fix a UI bug Frontend patterns Browser or Figma Review a PR Code review Git, language tooling Write an article Article writing Local files, docs search Debug auth Backend / security Database, logs, docs Create issues Issue breakdown GitHub or tracker</p><p>The skill tells the agent what good work looks like. The MCP gives it enough access to prove the work. This is where the setup starts paying off — you stop managing every tiny instruction and start asking for outcomes with guardrails already in place.</p><h3>Step 5 — Keep a Small Default Stack</h3><p>Don’t build a giant agent cockpit on day one.</p><p>Start lean:</p><pre>1. One skill for your main language or framework<br>2. One skill for code review<br>3. One skill for writing docs or issues<br>4. One MCP for browser testing<br>5. One MCP for your most important external system</pre><p>That’s the sweet spot: enough structure to cover real work, not so much setup that every task becomes tool maintenance.</p><p>Once a workflow repeats three or four times, turn it into a skill. Once the agent keeps guessing about the same external system, add the MCP.</p><h3>Bonus: Role-Based Agent Workflows</h3><p>A useful pattern is to think in roles rather than tasks.</p><p>For example:</p><pre>Frontend Agent:<br>- frontend skill<br>- accessibility checklist<br>- browser MCP<br>- Figma MCP</pre><pre>Backend Agent:<br>- backend skill<br>- database migration skill<br>- Postgres or Supabase MCP<br>- API docs access</pre><pre>Reviewer Agent:<br>- code review skill<br>- test runner access<br>- git tooling</pre><p>You may still be using one actual agent interface, but the workflow changes based on the job. That keeps each request focused and prevents the agent from trying to be everything at once.</p><h3>Wrapping Up</h3><ul><li>Use skills when the agent needs a repeatable way to work.</li><li>Use MCPs when the agent needs access to real tools or external context.</li><li>Combine them when the task needs both judgment and verification.</li></ul><p>This setup won’t remove responsibility from you. You still review the output, run the tests, and decide what ships. But it does reduce the amount of invisible process you have to hold in your head — and for an indie developer covering too many roles, that’s the whole point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616a1f2ee618" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Developer Workflow Using Neovim & Ghostty]]></title>
            <link>https://medium.com/@gbealu8/my-developer-workflow-using-neovim-ghostty-8f7787729b0d?source=rss-e67dfc63c1f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f7787729b0d</guid>
            <dc:creator><![CDATA[Bealu Girma]]></dc:creator>
            <pubDate>Wed, 20 May 2026 09:12:10 GMT</pubDate>
            <atom:updated>2026-05-20T09:12:10.815Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCTGbrczewTsd-Onu-N7lQ.png" /></figure><p>I’ve tried a lot of development setups over the years. Most of them were resource-heavy, hard to customize, and worst of all — they expected me to reach for a mouse. That’s a dealbreaker for me. I want to live in the keyboard as much as possible (the one exception being Figma, because, well, you kind of have to). I’m also a heavy terminal guy — I even once tried listening to music from the terminal… okay, I’m trolling. But after a lot of trial and error, I landed on a workflow that genuinely works for me. For context, I work heavily in TypeScript and Dart.</p><p>Here’s what my setup looks like.</p><h3>Persistent Terminal Sessions with tmux</h3><p>tmux is a terminal multiplexer that lets you run multiple persistent terminal sessions and return to them without losing any running processes. Close your laptop, open it back up, and your workspace is exactly where you left it — running processes and all. It also lets you manage multiple windows and panes within a session, which makes context-switching between tasks much smoother. And with TPM (tmux Plugin Manager), extending it becomes just as easy.</p><h3>Tmuxinator</h3><p>Tmuxinator sits on top of tmux and lets you define and restore full project sessions from a simple config file. Instead of manually opening windows and panes every time I start working, I just run a single command and my entire environment comes back up — editor, terminal splits, server — all of it.</p><pre>tmuxinator start project</pre><p>One line. That’s it.</p><h3>Editor — Neovim</h3><p>I used VSCode from the very first day I started learning to code. It’s a great editor, but eventually I made the jump to <strong>Neovim</strong> — and I haven’t looked back.</p><p>Neovim is a modern reimagining of Vim, and it’s become my favorite editor for two main reasons: speed and customizability. Every bit of configuration is written in Lua, which is a small, readable language that’s easy to pick up even if you’ve never used it. More importantly, Neovim keeps my hands on the keyboard — no mouse, no toolbar. The customizability goes really deep too: I can strip out anything I don’t want, add what I do, and wire up exactly the LSPs I need. If you don’t want to start from scratch, there are already well-configured distros like LazyVim or AstroNvim that get you productive out of the box.</p><p>VSCode does have Vim motions, but it’s not nearly as smooth as actual Neovim. It’s a different experience entirely.</p><p>One thing worth mentioning for mobile developers: debugging tooling in Neovim can be a bit of a challenge. That said, I use Flutter and <a href="https://github.com/akinsho/flutter-tools.nvim">flutter-tools.nvim</a> works really well for me. If you’re on Swift or Android/Java, you might have a harder time — worth researching before you fully commit to the switch.</p><h3>Shell — Fish</h3><p>Since my last workflow post (where I was on zsh), I’ve switched to <strong>fish</strong>. It’s a modern shell that comes with autosuggestions, syntax highlighting, and a lot of quality-of-life features out of the box — no plugins required. What really sold me is its web-based configuration UI, which makes customizing your shell and previewing changes surprisingly easy.</p><h3>CLI Tools</h3><p>These are the tools that make the terminal feel fast and modern:</p><p><strong>exa</strong> — A replacement for ls with icons, colors, and git status integration. It makes browsing a directory feel a lot more informative at a glance. I use the same aliases I&#39;ve had for a while.</p><p><strong>zoxide</strong> — A smarter cd. It tracks your most-visited directories and lets you jump to them with just a few characters. Once you use it, plain cd feels painfully slow.</p><p><strong>fzf</strong> — Fuzzy finder for everything: files, shell history, running processes. Plug it into almost anything and it instantly gets more useful.</p><p><strong>ripgrep</strong> — Blazing-fast search across an entire codebase. I use it constantly when I need to find where something is defined or referenced.</p><p><strong>fd</strong> — A modern, faster alternative to find. Simpler syntax, respects .gitignore by default.</p><p><strong>GitHub CLI (gh)</strong> — This has become essential. I use it for creating repos, cloning, managing PRs, and a bunch of other GitHub tasks without ever leaving the terminal. If you’re not using it, brew install gh and thank me later.</p><h3>AI Tools</h3><p>AI has become a real part of my day-to-day coding. Here’s what I reach for:</p><p><strong>Opencode CLI</strong> — My go-to. It integrates well with a terminal-first workflow and handles most of what I throw at it.</p><p><strong>Codex CLI</strong> — OpenAI’s terminal coding assistant. Useful for quick generation and iteration directly from the command line.</p><p><strong>Kiro CLI</strong> — A newer one I’ve been exploring. Still getting a feel for it, but promising so far.</p><p><strong>Gemini / Antigravity CLI</strong> — I use this occasionally, mostly to cross-check things or get a second opinion from a different model.</p><p>That’s the full stack. It’s lean, keyboard-driven, and — most importantly — it stays out of my way. If you’re curious about any of these or want the dotfiles, I’m happy to share.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f7787729b0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Configure a Telegram Mini App for Development Across Multiple Ports]]></title>
            <link>https://medium.com/@gbealu8/how-to-setup-telegram-mini-app-for-development-for-multiple-ports-49e93bc7441c?source=rss-e67dfc63c1f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/49e93bc7441c</guid>
            <category><![CDATA[caddy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[telegram-mini-app]]></category>
            <category><![CDATA[ngrok]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Bealu Girma]]></dc:creator>
            <pubDate>Sat, 16 May 2026 20:22:24 GMT</pubDate>
            <atom:updated>2026-05-20T09:29:02.373Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*OGzG3aY7ThT95CBZuxkA-g.jpeg" /></figure><p>BotFather won’t accept your localhost URL. You’ve spent hours trying beta versions, test servers, and dev mode workarounds. Here’s the setup that actually works — a local reverse proxy through Caddy, tunneled to the internet through ngrok.</p><h3>What Are Telegram Bots and Mini Apps?</h3><p><em>If you’re already familiar, skip ahead. If not, here’s the short version.</em></p><blockquote><strong><em>Bots</em></strong><em> are programs that interact with Telegram’s API on your behalf. They can respond to messages, send notifications, manage groups, and more. They communicate with Telegram either through </em>webhooks<em> (Telegram pushes updates to your server) or </em>polling<em> (your server repeatedly asks Telegram “anything new?”).</em></blockquote><blockquote><strong><em>Mini Apps</em></strong><em> are a newer Telegram feature — essentially full web applications that run inside the Telegram client. From the user’s perspective they feel native; under the hood they’re just websites rendered in a WebView. You register them through BotFather and they launch from a bot’s menu button or inline keyboard.</em></blockquote><h3>The Problem</h3><p>Here’s where development gets painful.</p><blockquote><em>When you register a Mini App URL in BotFather, it only accepts </em>https://<em> URLs with a valid SSL certificate, This is a security requirement on Telegram’s end — they don’t want Mini Apps served over unencrypted connections. Reasonable in production. A headache in development.</em></blockquote><p>The real problem compounds when you have a monorepo or multi-service setup. A typical project might look like this:</p><p>Service Port API / Backend 3000 Web (Mini App) 5174 Admin Panel 5175 Telegram Bot polling — no port needed</p><p>Your Mini App lives on 5174. Your frontend calls the API on 3000. But to share a single HTTPS URL with BotFather, you need <strong>one port</strong> exposed to the internet — not three.</p><h3>What I Tried First</h3><p>Before landing on this solution, I went through the usual rabbit holes:</p><ul><li><strong>Telegram Beta</strong> — installed the beta client hoping for relaxed URL validation. No luck.</li><li><strong>Test servers</strong> — Telegram provides a test environment accessible via @BotFather on test.telegram.org. It has quirks and the login flow is non-obvious. I couldn&#39;t get it working reliably.</li><li><strong>Dev mode workarounds</strong> — there are some flags and workarounds floating around online. None of them consistently bypassed the HTTPS requirement for Mini App URLs.</li></ul><p>If you’ve been down the same paths, you’re not missing something obvious. The requirement is enforced.</p><h3>The Insight</h3><p>The fix is simple in hindsight: <strong>funnel all your ports through one port with a reverse proxy, then expose that single port to the internet.</strong></p><p>Instead of dealing with three separate ports, you create a single gateway — one port that routes traffic to the right service based on the URL path. Then you point ngrok at that one port and get a single HTTPS URL that covers everything.</p><p>That’s the whole idea. The rest is just implementation.</p><h3>The Tools</h3><h3>Caddy</h3><p><a href="https://caddyserver.com/">Caddy</a> is a modern web server and reverse proxy written in Go. What makes it great for local development is its simplicity — configuration is a single human-readable file (Caddyfile) with almost no boilerplate. No XML, no YAML sprawl, no nginx syntax puzzles.</p><p>For our purposes, Caddy will sit in front of all three services and route incoming requests by path:</p><ul><li>/api/* → forward to your backend on port 3000</li><li>/admin/* → forward to your admin panel on port 5175</li><li>everything else → forward to your Mini App on port 5174</li></ul><h3>ngrok</h3><p><a href="https://ngrok.com/">ngrok</a> creates a secure tunnel from a public URL to a port on your local machine. When you run ngrok http 8080, it gives you something like:</p><pre>https://throat-precook-resistant.ngrok-free.app → http://localhost:8080</pre><p>That public URL has a valid SSL certificate, which means Telegram accepts it. The free tier gives you one tunnel and a randomly generated subdomain — good enough for development.</p><h3>The Setup</h3><h3>Step 1 — Install the tools</h3><p><strong>Caddy:</strong></p><pre># macOS<br>brew install caddy</pre><pre># Ubuntu / Debian<br>sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https<br>curl -1sLf &#39;https://dl.cloudsmith.io/public/caddy/stable/gpg.key&#39; | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg<br>curl -1sLf &#39;https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt&#39; | sudo tee /etc/apt/sources.list.d/caddy-stable.list<br>sudo apt update &amp;&amp; sudo apt install caddy</pre><pre># Windows (via Chocolatey)<br>choco install caddy</pre><p><strong>ngrok:</strong></p><p>Download from <a href="https://ngrok.com/download">ngrok.com/download</a> or:</p><pre># macOS<br>brew install ngrok/ngrok/ngrok</pre><pre># Snap (Linux)<br>snap install ngrok</pre><p>Sign up for a free account and authenticate:</p><pre>ngrok config add-authtoken YOUR_AUTH_TOKEN</pre><h3>Step 2 — Create your Caddyfile</h3><p>In the root of your project, create a file named Caddyfile (no extension):</p><pre>:8080 {<br>    handle /api* {<br>        uri strip_prefix /api<br>        reverse_proxy localhost:3000<br>    }</pre><pre>    handle /admin* {<br>        uri strip_prefix /admin<br>        reverse_proxy localhost:5175<br>    }</pre><pre>    handle {<br>        reverse_proxy localhost:5174<br>    }<br>}</pre><p><strong>What’s happening here:</strong></p><ul><li>:8080 — Caddy listens on port 8080</li><li>handle /api* — any request starting with /api gets the /api prefix stripped and forwarded to your backend on port 3000. So https://your-ngrok-url.ngrok-free.app/api/users becomes <a href="http://localhost:3000/users">http://localhost:3000/users</a></li><li>handle /admin* — same pattern for your admin panel on 5175</li><li>handle (no path) — the catch-all; everything else goes to your Mini App on 5174</li><li>uri strip_prefix — this is important. Without it, your backend would receive /api/users instead of /users, which likely won&#39;t match your routes</li></ul><h3>Step 3 — Start your services</h3><p>Make sure all three services are running on their respective ports before starting Caddy. How you do this depends on your stack — npm run dev, go run ., whatever applies.</p><h3>Step 4 — Run Caddy</h3><p>From the directory containing your Caddyfile:</p><pre>caddy run</pre><p>Or if you want it in the background:</p><pre>caddy start</pre><p>Caddy will log that it’s listening on port 8080. You can verify it’s routing correctly by visiting http://localhost:8080, http://localhost:8080/api, and http://localhost:8080/admin in your browser.</p><h3>Step 5 — Open the ngrok tunnel</h3><pre>ngrok http 8080</pre><p>You’ll see output like this:</p><pre>Forwarding  https://throat-precook-resistant.ngrok-free.app -&gt; http://localhost:8080</pre><p>Your three services are now reachable at:</p><pre>https://throat-precook-resistant.ngrok-free.app           → Mini App (5174)<br>https://throat-precook-resistant.ngrok-free.app/api       → Backend API (3000)<br>https://throat-precook-resistant.ngrok-free.app/admin     → Admin Panel (5175)</pre><h3>Step 6 — Register the URL with BotFather</h3><p>Open Telegram, find @BotFather, and update your Mini App URL:</p><pre>/mybots → select your bot → Bot Settings → Menu Button → Edit Menu Button URL</pre><p>Paste your ngrok HTTPS URL. BotFather accepts it. You’re done.</p><h3>Bonus: Telegram Dev Mode and Web Inspection</h3><p>Telegram has a hidden developer mode that enables right-click inspection inside Mini Apps — invaluable for debugging network requests and console logs without printf-driven development.</p><p><strong>To activate it:</strong></p><p>On <strong>Android</strong> or <strong>Windows</strong>: Go to your Telegram profile → tap the version number <strong>10 times</strong> rapidly.<br> On <strong>macOS</strong>: Same, but <strong>5 taps</strong>.</p><p>Once activated, go to <strong>Settings → Advanced → Experimental</strong> and toggle on <strong>Enable WebView Inspection</strong> (the exact label varies by platform).</p><p>Now open any Mini App, right-click anywhere inside it, and you’ll see an <strong>Inspect</strong> option. This opens a full browser DevTools panel — network tab, console, sources, everything.</p><p>This alone saves significant debugging time when something isn’t working right in the Mini App context.</p><h3>Wrapping Up</h3><p>The core constraint — Telegram requires HTTPS for Mini App URLs — isn’t going away, but working around it locally is straightforward once you know the pattern:</p><ol><li>Route all services through one port with <strong>Caddy</strong></li><li>Expose that port to the internet with <strong>ngrok</strong></li><li>Hand the resulting HTTPS URL to BotFather</li></ol><p>It’s a setup you configure once per project and forget about. Hope it saves you the hours of trial and error it took me.</p><p><em>If you found this useful or hit a snag with your setup, feel free to reach out. Happy building. ❤️</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49e93bc7441c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>