惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
量子位
雷峰网
雷峰网
宝玉的分享
宝玉的分享
V
Visual Studio Blog
博客园_首页
小众软件
小众软件
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built tmuxhop So I Could Keep Coding From the Toilet
Kavan Chan · 2026-04-25 · via DEV Community

A small local-first browser tool for hopping back into the same tmux session from your phone.

I didn’t build tmuxhop because I needed full remote access.

I built it because I was deep in a coding flow, had to step away from my desk for a few minutes, and didn’t want that flow to break.

Sometimes that means food. Sometimes that means taking a short break. Sometimes that means going to the toilet.

If you spend enough time vibe coding, you probably know the feeling: your terminal, editor, prompts, agent output, and half-finished thoughts are all lined up perfectly. You do not want to lose that state just because life interrupts for ten minutes.

My phone was already in my pocket. I just wanted the same session, on another screen, with as little friction as possible.

That is why I built tmuxhop.

The real problem was not remote access

At first glance, this sounds like a remote terminal problem.

But for me, it wasn’t.

There are already plenty of ways to SSH into a machine from a phone. Some of them are good. Some have mobile apps. Some support more features than tmuxhop probably ever will.

The problem was the friction.

For a short desk-to-phone hop, the usual setup felt too heavy:

  • install a phone app
  • configure SSH
  • manage keys
  • deal with client-specific setup
  • think about security hardening
  • then finally reconnect to the machine

That is all reasonable if your goal is “serious mobile remote access.”

That was not my goal.

My goal was much simpler:

I want to continue the same tmux session from my phone, immediately, in a browser.

That changes the product a lot.

What I actually wanted

I wanted something that felt like this:

  • I am coding on my desktop
  • my work is already inside tmux
  • I need to get up for a bit
  • I open my phone
  • I open a browser
  • I land in the same session
  • I continue telling the AI what to do
  • I stay in flow

That was the whole idea.

Not a full remote desktop. Not a secure internet-facing shell service. Not a general-purpose mobile terminal platform.

Just a fast continuation path.

That “continue easily” part became the real product idea.

Why tmux made this possible

The key insight was that I was already using tmux.

That meant I didn’t need to invent session persistence. I didn’t need to sync shell history. I didn’t need to make mobile and desktop behave like separate environments.

tmux was already doing the important part: keeping the session alive.

So tmuxhop only needed to do one job:

expose that existing tmux session in a phone-friendly browser UI.

That is why the name made sense to me:

  • tmux = the session continuity layer
  • hop = jump to another device and keep going

The tradeoff I chose on purpose

I made tmuxhop local-first on purpose.

That means:

  • no built-in auth
  • no public internet story
  • no “secure your shell for the world” pitch
  • intended for same machine, LAN, or VPN only

Some people will look at that and say it is too limited.

That is fair.

But the limitation is also what keeps the product simple.

If I had tried to solve “mobile terminal access from anywhere securely,” I would have built a very different tool. The complexity would go up fast. The setup would get heavier. The product would become more about infrastructure than continuity.

I did not want that.

I wanted:

  • open browser
  • same session
  • keep going

Sometimes a product gets better by not trying to solve the bigger problem.

What tmuxhop optimizes for

tmuxhop is optimized for a very specific workflow:

  • you already live in the terminal
  • you already use tmux
  • you are often working with agents or long-running coding sessions
  • you do not want to lose context during short interruptions
  • you care more about continuity than perfect mobile-native terminal features

It is not optimized for:

  • internet-facing access
  • multi-user collaboration
  • replacing desktop terminal tools
  • being a full remote ops platform

That focus helped a lot.

The more I worked on it, the clearer it became that tmuxhop is not really a “mobile terminal app.”

It is a flow continuity tool.

Building it also reminded me how rough mobile terminal UX is

A normal desktop terminal is easy to take for granted.

A mobile browser terminal is not.

Once I started building tmuxhop, I ran into a lot of weird details:

  • font rendering
  • Nerd Font support
  • terminal sizing across laptop and phone
  • keyboard pop-up behavior
  • viewport scrolling
  • control placement on small screens
  • the awkwardness of text input inside mobile browser terminals

A lot of the work was not glamorous. It was small UX friction everywhere.

That also changed how I think about developer tools.

The core idea can be simple and correct, but if the interaction details are annoying, the tool still feels broken. Especially on mobile.

Who I think this is for

If you:

  • code in the terminal a lot
  • keep your work in tmux
  • use AI tools heavily
  • work in bursts of deep focus
  • hate losing context during short breaks

then tmuxhop might make sense to you too.

If you need a hardened remote shell product, it probably does not.

And that is fine.

I think it is good for tools to know what they are for, and what they are not for.

Final thought

I like building tools that remove tiny amounts of friction from real life.

tmuxhop is one of those tools.

It is not trying to be the biggest or most complete solution. It is just trying to solve one specific problem well:

keep the same coding flow alive when you have to step away from your desk.

If that sounds familiar, you can check it out here, appreciated if you can leave a star:

tmuxhop on GitHub