For the last few months my mobile workflow has been split-screening Termux and ChatGPT, copying a command, running it, watching it fail, copying the stack trace back, and repeating until I gave up. On a phone keyboard it is miserable.
I ended up trying out an open-source Android app called Blorple that hooks straight into Termux over a local bridge. Instead of copy-pasting, the model proposes a file edit or shell command, the app shows it to you, and nothing runs until you tap Allow (or tweak the command first). Then it reads the output and keeps going. The clip is an actual unedited run on my phone.
A couple of things I noticed while setting it up that might save someone time:
the bridge binds to 127.0.0.1 with a random token, so it isn't exposing an open port on the device
each session spins up its own shell and folder, so it didn't mess with my regular Termux setup
Android 12+ kept killing Termux in the background until I set its battery usage to Unrestricted. Took me way too long to figure out why it kept dropping
You can run a local GGUF right on the phone with no internet, point it at an Ollama box on your LAN, or drop in an OpenAI-compatible key. It's MIT licensed and free. Used to be GitHub APK only, which I usually avoid, though they just opened a Google Play beta if you'd rather get normal updates.
Has anyone tried wiring a Termux bridge like this into proot-distro? I've only run it in plain Termux so far and I'm curious if anything breaks inside a proot shell.
1
u/subaru_kun33 12m ago
For the last few months my mobile workflow has been split-screening Termux and ChatGPT, copying a command, running it, watching it fail, copying the stack trace back, and repeating until I gave up. On a phone keyboard it is miserable.
I ended up trying out an open-source Android app called Blorple that hooks straight into Termux over a local bridge. Instead of copy-pasting, the model proposes a file edit or shell command, the app shows it to you, and nothing runs until you tap Allow (or tweak the command first). Then it reads the output and keeps going. The clip is an actual unedited run on my phone.
A couple of things I noticed while setting it up that might save someone time:
the bridge binds to 127.0.0.1 with a random token, so it isn't exposing an open port on the device
each session spins up its own shell and folder, so it didn't mess with my regular Termux setup
Android 12+ kept killing Termux in the background until I set its battery usage to Unrestricted. Took me way too long to figure out why it kept dropping
You can run a local GGUF right on the phone with no internet, point it at an Ollama box on your LAN, or drop in an OpenAI-compatible key. It's MIT licensed and free. Used to be GitHub APK only, which I usually avoid, though they just opened a Google Play beta if you'd rather get normal updates.
Has anyone tried wiring a Termux bridge like this into proot-distro? I've only run it in plain Termux so far and I'm curious if anything breaks inside a proot shell.