More Syntax - Tasty Web Development Treats episodes

1023: Mosh, Caddy & Tailscale: A Remote Dev Deep Dive thumbnail

1023: Mosh, Caddy & Tailscale: A Remote Dev Deep Dive

Published 22 Jul 2026

Duration: 00:48:56

"Remote development workflows offer benefits like continuous processing and multi-device access but face challenges like rogue processes and secure local environment exposure, with tools like Tmux, Herder, and Tailscale discussed for managing sessions and networking."

Episode Description

Running your dev process off your main machine doesn't have to mean the cloud. Scott and Wes break down how to host projects on a box you can reach fr...

Overview

The podcast discusses workflows and tools for remote development, emphasizing the benefits of running processes on remote machines rather than local devices. Key advantages include improved battery life, the ability to close laptops while tasks continue running, and secure HTTPS in development for accessing browser APIs. Tools like Mosh, Tailscale, and Caddy are highlighted for stable remote access, secure networking, and automatic SSL provisioning, respectively. The setup often involves using a central server (e.g., a Mac Mini) accessed via SSH or Mosh, with projects managed remotely using editors like Zed that support seamless remote coding.

A significant focus is placed on terminal-based workflows and session management using tools like Herder and Tmux, with a preference for the former due to its user-friendly interface and persistent sessions. The discussion covers challenges such as managing rogue processes, exposing local environments securely, and limitations in mobile or GUI-based tools. There's also exploration of agent management, multiplexers for AI coding assistants, and the use of work trees in Git for feature development. Additional topics include the use of headful browsers for better agent visibility, anti-bot detection challenges, and experimentation with alternative input methods like the Elgato foot pedal for workflow automation. The overall emphasis is on efficient, stable, and flexible development environments built around remote infrastructure and terminal-centric tooling.

What If

  • What if you offloaded all local development to a remote machine and accessed it seamlessly from any device?

    • Move: Set up a headless Mac Mini or cloud server (e.g., exe.dev) running your projects, secured via TailScale, and access it via Zed or Mosh + Herder.
    • Why Now?: Tools like Zed and Mosh now support persistent, responsive remote workflows - avoiding laptop battery drain, device lock-in, and enabling HTTPS dev servers securely.
    • Expected Upside: Work from phone/tablet/laptop interchangeably; run long-lived processes (agents, servers) uninterrupted; gain secure HTTPS for testing browser APIs locally.
  • What if you replaced fragile SSH sessions with persistent terminal workspaces managed like IDEs?

    • Move: Switch from raw SSH + Tmux to Herder (or Mosh + Herder) for managing persistent, named terminal sessions with tabs, panes, and agent visibility.
    • Why Now?: Herder's UI improvements (click/drag, sidebar monitoring, workspace recovery) solve real pain points in agent-based workflows that Tmux can't offer out-of-the-box.
    • Expected Upside: Resume work instantly after disconnects; track running agents visually; reduce context-switching overhead - especially valuable when managing autonomous coding agents.
  • What if you used TailScale Funnel + Caddy to share secure, public links to local dev environments - without Cloudflare Tunnel complexity?

    • Move: Use TailScale Funnel to expose a local dev server via HTTPS, paired with Caddy as a reverse proxy to assign clean domains (e.g., project.yourname.ts.net).
    • Why Now?: TailScale Funnel now offers a simpler, more reliable alternative to Cloudflare Tunnel with better local network integration and zero-config HTTPS.
    • Expected Upside: Instantly share secure dev previews with clients or testers; eliminate reverse proxy misconfigurations; avoid dependency on flaky third-party tunnel services.

Takeaway

  • Set up a remote development environment using a headless server (e.g., Mac Mini or cloud instance) with SSH/Mosh access to keep long-running processes alive even when your local machine is closed or asleep.
  • Use Tailscale to securely connect to your remote development machine and assign human-readable names to devices, eliminating the need to remember IPs and simplifying access across your personal network.
  • Deploy Caddy as a reverse proxy on your remote server to automatically serve projects over HTTPS with custom domains (e.g., project.localhost), enabling secure browser APIs and seamless local testing.
  • Adopt Herder or a similar terminal multiplexer with persistent sessions and workspace isolation to manage AI agents and development tasks efficiently, reducing context switching and avoiding session loss.
  • Equip your workflow with a programmable foot pedal (e.g., Elgato) configured to trigger common actions like dictation, text input, or agent switching, reducing keyboard dependency and streamlining repetitive tasks.

Recent Episodes of Syntax - Tasty Web Development Treats

20 Jul 2026 1022: Bun re-written in Rust, Zig team big mad

"TypeScript 7.0 delivers a 10x speed boost, network upgrades include 2G speeds and SFP fiber, AI updates cover GPT 5.6 and Grok concerns, while tech news highlights acquisitions, language releases, and personal tech setups."

13 Jul 2026 1020: Do You Read The Code?

"Explored React's stagnation, AI-generated repetitive code, debates on reading code, soccer critiques, social media algorithm issues, AI-assisted workflows, a new HTTP 'query' method, and the Gea UI framework's performance advantages."

8 Jul 2026 1019: LGTM, Ship It: The AI Code Review Problem

The text explores AI-generated code challenges like complexity and stylistic differences, suggests improvements through comments and strict prompts, contrasts backend vs. UI reliability, highlights over-reliance concerns, technical debt, refactoring limits, and covers local models, Delta DB, CSS quirks, alternative Git tools, pricing, and AI-integrated robots for education.

6 Jul 2026 1018: Google fires Workspace CLI Creator

Corporate challenges in innovation, security, and scalability are explored through bureaucratic hurdles, tech industry events like Google's CLI tool termination, AI model updates (GPT 5.6 variants), open-weight models, robotics, privacy tools, and Cloudflare's AI deployment features, highlighting tensions between enterprise constraints and technological progress.

More Syntax - Tasty Web Development Treats episodes