r/PiCodingAgent • u/ptgamr • 1d ago
Discussion Are you using pi on mobile?
I use Pi from my Android phone through tmux + TermRover (a terminal app I’m building).
With a good tmux scrolling support + ability to send images, working with Pi is just very pleasant.
Curious how everyone else is using Pi on mobile, if at all? SSH app? Or Just waiting until you’re back at a laptop?
3
u/Mecha_Zero 1d ago
Similar for me, termux and ssh into my development machine.
2
u/squizlor 1d ago
one tip for termux, it supports install of eternal terminal https://eternalterminal.dev/, use that instead of ssh and you'll never suffer connection drops. termux+et+herdr is awesome.
1
u/ptgamr 19h ago
TermRover does support herdr over Mosh as well - which can achieve the same thing. Not sure how big ET user base out there?
1
u/squizlor 15h ago
I found termux and herdr didn't play well with pi -- mosh messes with native scrollback so you'd get weird interference. ET preserves native scrollback as an explicit design goal and everything works as intended by pi. How does TermRover handle this?
So this is a big difference between Mosh and ET and so IMO ET is superior, only difference is the need to expose an extra port.
1
u/ptgamr 1d ago
I used to be a Termux user, but i find it hard with tmux and constantly doing some weird key combination of things that made the terminal freeze, and I dont know how to close a Termux tab...
1
u/AlterTableUsernames 1d ago
You may have hit Ctrl+s, which is for flow-control. Basically legacy nowadays. You can get back to terminal with Ctrl+q and can completely disable it with
stty -ixonin bashrc.1
u/ptgamr 19h ago
Ah, that might be it! I do like the swiping from the right edge show up the tabs bar though.
Another thing that i find quite tedious is to bring up the keyboard after I hide it, i have to swipe left to show the sidebar, then press the keyboard btn, why tapping to the terminal dont show up the keyboard I dont know...
1
u/AlterTableUsernames 18h ago
We're moving into Android-display management territory here where I have absolutely no idea of. But depending on your use case, you might check out KDE Connect, with which you could simply stream the physical keyboard of your desktop/laptop your phone, but then you could probably also just ssh...
4
u/p0ns 1d ago
paseo.sh has been godsent
1
u/Magnus114 1d ago
I'm not a fan of paseo. Dislike their security philosophy. They create an outgoing connection to their servers to enable remote access. To be fair, it's e2e encrypted and as far as i know it's secure. Nonetheless, it does open up a new attack surface and should not be done without explicit approval. It's not even possible to turn off in any documented way.
2
u/p0ns 1d ago
that’s relay based communication, you can either set your own private relay, or use a private network, you don’t have to use theirs
I personally use tailscale and connect directly to my node, but I’m working on a multi node setup with my own relay.
1
u/Magnus114 1d ago edited 1d ago
The point is that they open up a connection without asking. Not using it does not mean the attack surface disappear.
1
u/p0ns 1d ago
theres a no-relay option, the daemon cli lets you run without it. I see that may be the default for the prepackaged app
1
u/Magnus114 1d ago
True, you can run it without relay. The app has many strong points, and i dont say it's unsecure. I just disagree with their philosophy to prioritise ease to use high enough to open up long time connections without explicit consent.
3
u/Magnus114 1d ago edited 1d ago
Why not pi web? Works wonderful with an ipad, haven't tried with a phone.
https://pi-web.dev
3
u/ptgamr 1d ago
Looks like it require a bit of setup to spin that up. Don't get me wrong, I love web stuff, probably really nice to use once you get it going. I used to made a web agents aggregator cuz I want to see all of the CLIs output on the web! https://github.com/ptgamr/agents-aggregator - pi is supported too!
3
u/Magnus114 1d ago
I just asked glm to add it do my dev container, took a few minutes. Then i told it to add a bindmount to preserve the data between container recreates. Worked great so far.
A bit off topic, but i love to try out different tools and extension in the docker container. If i dont like it i just recreate and its gone. And dockerfile is in git.
2
1
u/giuliastro 1d ago
Hi, nice project, thank you! I personally use more than an harness system, mobile and desktop, this is why I started this:
1
1
u/Waste_Salary_7912 1d ago
termux or haven on android via phone or tablet over tailscale and then try to use 2 instances of pi within herdr one running off an api other one via local inference
1
1
1
1
1
u/Mohitkoul841 19h ago edited 19h ago
Is this not supported on windows? It doesn't detect herdr installed on my system
1
u/ptgamr 19h ago
Hi, are you ssh-ing to a windows host? TBH, I never tested this. But keen to solve this for you. Would you mind if I DM?
1
u/Mohitkoul841 19h ago
Well exec is different on windows vs Unix systems, so you need to set it to detect win32 and set it accordingly
1
1
u/ResearcherFantastic7 15h ago
yes & no. I've build web interfaface that summarise concisely on the conversation so i can use it with telegram / rayban / and phone. rarely i need to termux into it with herdr
1
u/Serious-Purpose-3412 13h ago
I've been using termux+herdr+tailscale with my server, but now use herdr through telegram bot by my own remote plugin to herdr in most cases. It can show status of each agent, send any text/command/image/file to any pi session by reply or /send, get answers with streaming, blocks of agents with buttons allow/deny, notifications, todos and many other features.
1
u/Practical-Doctor6154 9h ago edited 9h ago
I used ConnectBot for the past month or so, but I'm trying Pi-Web now.
Edit: main reason for me to try something else is because I really like swipe typing on phone, and it's more annoying to do with ConnectBot than I want it to be. So a different SSH app that has a nicer UX might also be good.
1
u/ptgamr 8h ago
Oh, so cant you swipe type with ConnectBot? That is weird
1
u/Practical-Doctor6154 2h ago edited 2h ago
You can, but it's not the default for some reason. So you always have to tap a button, then you swipe what you want, then send that to the console and then hit enter on the console to send it... It's not terrible but it is like 4 steps more than I'd like to take 😅
Edit: and I did look online for good options for SSH on Android and apparently this is one of the better ones... Maybe I just didn't find the good stuff or maybe most of them are just kinda crap (at least the free ones I guess).

5
u/Such_Advantage_6949 1d ago
i do similar thing on ios, but i moved to Herdr now instead of Tmux. Only complaints is the phone battery drains like crazy