Live data from Hacker News

Termux

github.com

151–160 of 186 posts

Re: Termux

#151

Earlier quoted context omitted.

no, it's not, termux requires low level access to the OS that iOS protects against.

No, it does not have any more access than any other app, as it work on unrooted devices too. That said, it has to be compiled for older Android SDK level because newer levels prevent apps to run executables they downloaded on their own and not bundle with the APK, even isolated. Android may disable compatibility with the older SDK some day but for now it works.

sorry, it was my understanding that Android apps have lower level access to the Android OS than iOS apps allow, that essentially iOS apps are sandboxed? And that this was what was allowing Termux to do everything it did in Android.

Re: Termux

#152

Termux is the first app I install on every Android device I get my hands on. It's astonishingly capable. I have a Bluetooth keyboard case for my Android tablet. All the time, I use Termux to ssh into my Linux machine over my home network and code on it in Neovim from my couch. I don't bother with the default notes app on my phone. Termux + Neovim running vimwiki and syncing to a private GitHub repo is way better. Mos…

Not to get into an iOS vs Android thing, because that’s not the point (it’s okay to appreciate both or neither, you do you).

But this is one of the things I really would love to have on my iPhone that I’m jealous of the Android ecosystem for. I know there are alternatives for iOS and I’ve used them (no need to list them here, this thread isn’t about iOS). For me, a really good terminal/CLI with good integration with the OS would be killer. But I know I’m niche and unlikely to see such a thing outside of SSHing to a remote VM.

Re: Termux

#153
post #50

Termux is the first app I install on every Android device I get my hands on. It's astonishingly capable. I have a Bluetooth keyboard case for my Android tablet. All the time, I use Termux to ssh into my Linux machine over my home network and code on it in Neovim from my couch. I don't bother with the default notes app on my phone. Termux + Neovim running vimwiki and syncing to a private GitHub repo is way better. Mos…

I beleive Android 16 now comes with termux-like Linux environment that can be enabled via developer settings menu.

Even if you have Android 16 it's not guaranteed the terminal works. It's disabled by Samsung on my Galaxy A55 for some reason. Maybe the hardware doesn't support the feature.

Re: Termux

#154

Honest question, as a heavy desktop TUI user who has had Termux installed for years. A terminal (emulator) is a keyboard-based environment. How on earth are all you fans making it work with a tiny touchscreen?

What I use for my phone (Planet Computer Astro Slide) has a Psion 5-style physical keyboard built in.

Re: Termux

#155

Earlier quoted context omitted.

it is trash on the hw acceleration side, while termux has vulkan linux to vulkan android wrappers - which in future will probably do hw encode and decode as well

Using ffmpeg packages in termux you can already access the mediacodec apis for hw accelerated encode/decode

yeah that is cool but i meant for something like firefox

Re: Termux

#156
post #148

Earlier quoted context omitted.

> I execute it from within a Termux window... If you install Termux widgets, you can directly start the script from your Android launcher's Home screen.

Since this process happens just a couple times per year, I find it reassuring to edit the file on the phone, check its contents, run it first in dry-run (the default), grep the output to my leasure, and only then run it in anger.

The widget would be overkill. My tasks were more frequent - several times weekly. The scripts were a hacked-up first step towards cron automation, and occasionally needed to be re-run. Everything is now in a neat, cron-triggered Home Assistant automation with events instead of questionable 'sleep' lines.

Re: Termux

#157

Earlier quoted context omitted.

In iOS we can only use something like ish.app which emulates x86 and runs full Linux distro instead, with predictably much lower performance than Termux (due to JIT being banned in iOS apps), but without any restrictions Android has on the executables

iSH is great as an ssh client. It has a good font out of the box, so it displays tmux and neovim properly. a-Shell should be faster than iSH for local stuff since the tools are compiled natively, but nothing on iOS, as far as I know, compares to Termux on Android.

a-Shell looks amazing, thanks for mentioning it

Re: Termux

#158
One downside of Termux is the package management as described here [1].

Some new phones have access to Android Linux Terminal [2]. It is similar to Windows Subsystem for Linux. Like WSL, Android Linux Terminal lets one use apt directly.

[1] https://wiki.termux.com/wiki/Package_Management

[2] https://deepakness.com/blog/android-linux-terminal/

Re: Termux

#159

Earlier quoted context omitted.

Do you have instructions somewhere for getting this to work? I've tried installing julia on termux a few times with no success.

I just downloaded the archive (from the usual Julia downloads page) for ARM on the phone and put a link to the binary in /usr/local/bin — same as on Linux desktop. But I did this in the proot Debian environment.

Ah I see. Even after installing proot Debian I couldn't get juliaup to work, but I'll have to give it a shot manually installing the binary and linking to /usr/local/bin

Re: Termux

#160
post #103

Since no one makes Android devices with hardware keyboards anymore, I almost never use this kind of software anymore. After getting burned by a couple of Kickstarter phones hampered by half-baked software and total lack of updates, the only thing I could rationally conclude is that Android as a productivity platform is a lost cause. When Android was new, I very frequently used Termux and ConnectBot with my first few…

I have a tiny but very comfy bluetooth keyboard, though 90% of the time I use a keyboard with android I'm using my tablet (and it's easy to forget it's not a laptop).
Post reply on HN