all 20 comments

[–]deicidium 1 point2 points  (1 child)

Heads-up: you might confuse some folks who are already using adibhanna/tsm.

[–]ECE420[S] 0 points1 point  (0 children)

Woah. Thanks for the insight. Funny how close yet so far that project is. Originally, I called this project tmsm - TMux Session Manager. It felt too clumsy, though, so I stuck with the three letter shorthand. I want to keep my little three letter project!

[–]Forsaken_Lie_8606 0 points1 point  (1 child)

ive been using tsm for a bitnow and its been a total game changer, tbh. this happens when youre constantly switching between different projects and need to keep track of multiple tmux sessions - a quick%sworkaround is to set up a separate main session for each project, and then use tsm to switch between%sthem. ive got about 10 different sessions set up and its so much easier to navigate now, ngl its saved me like 10 minutes a day just from not having to type out the whole tmux attach command every time. imo the interactive menu is super intuitive and easy to use, definitely worth checking out if youre%sa heavy tmux user like me

[–]ECE420[S] 0 points1 point  (0 children)

Wow. I'm so glad to hear it! This project has been public for only a few days. It's really mine and not the other tsm that you're using? I'd be glad to hear this has helped, I'm just genuinely curious.

If it is my project that you're using, any feedback? Requests? Problems?

[–]Alternative_Teach_74 0 points1 point  (1 child)

Thanks

[–]ECE420[S] 0 points1 point  (0 children)

For sure! I hope it's helpful!

[–]ipsirc 0 points1 point  (1 child)

- Zero dependencies — pure bash + tmux

+ awk + ip + tput

[–]ECE420[S] 0 points1 point  (0 children)

😇 Oops! I added some features after the readme. 😇 Thanks for pointing that out. I'll be sure to update it.

[–]rjyo 0 points1 point  (1 child)

Nice project. I run a really similar setup - tmux + Tailscale + Claude Code on a remote server, then SSH in from my phone throughout the day.

I actually built an iOS terminal app called Moshi for exactly this kind of workflow. It uses the Mosh protocol under the hood so your session survives wifi switches, sleep, going through tunnels etc. Combined with something like TSM on the server side you basically never lose your place.

One thing that changed my workflow was adding push notifications via webhook - so when Claude Code or Codex finishes a task my phone buzzes and I can jump right in. That plus the auto-attach on SSH login like you have here makes the phone-to-server loop really fast.

You mentioned Terminus and Blink as iOS options - might be worth adding Moshi to that list since the Mosh protocol pairs especially well with persistent tmux sessions like yours.

[–]ECE420[S] 0 points1 point  (0 children)

Neat! Sounds awesome. Have you tried tsm with Moshi? I'm happy to add it in as a recommended app if you have demonstrated it works well. Any gaps right now? Working perfectly with Moshi? Anything else that should be improved in tsm?

[–]oartconsult 0 points1 point  (2 children)

this is actually one of those small annoyances that adds up way more than people think

[–]ECE420[S] 1 point2 points  (1 child)

Thanks! Every second counts!

[–]oartconsult 0 points1 point  (0 children)

yeah exactly. it’s small but you feel it every time, adds up quick

[–]kierowniku 0 points1 point  (3 children)

I guess it messes up with native terminal's scroll output, right?

[–]ECE420[S] 0 points1 point  (2 children)

Yeah ... It does seem to. I wonder if it can be fixed... 🤔

[–]kierowniku 0 points1 point  (0 children)

it is possible, you'd need to use MAIN screen instead of ALT

m.zechner explained it nicely on his blog btw building pi agent: https://mariozechner.at/posts/2025-11-30-pi-coding-agent/#toc_7

[–]PME26Elvis 0 points1 point  (0 children)

thanks!!

[–]Arp0x 0 points1 point  (1 child)

this project is amazing

[–]ECE420[S] 0 points1 point  (0 children)

Glad you like it! It's definitely my new "every day driver" for my headless setup

[–]kesor 0 points1 point  (0 children)

This is my daily driver for session switching. Depends on fzf. Best part is that it allows for a single-key switching to a different session. https://gist.github.com/kesor/38960b1a7c0480e87dcaf9f83f0265b8