by dredmorbius · 7y ago · 0 comments
I've got an actual userland Linux shell and package ecosystem, with 1,231 available packages (compare against ~6k for Red Hat / CentOS, 70k for Debian), including standard shell tools, editors, and scripting languages, plus several Android-specific tools and APIs. The scripting tools open up broader archives via pip (python), npm (node.js), and cpan (perl). Many of the "Linux" shell and scripting examples I've posted to HN over recent years have actually been run on and via Termux.
This replaces other Android tools, including console, SSH, audioplayer (mpv/mps), backgroundable and playlistable YouTube audio (mpv, mps-youtube), remote sync (rsync, scp, mc), editors (vim, emacs, nano, etc), and other tools. An sshd daemon allows remote (ssh-key-only) access to the tablet itself, useful for admin and substantial tasks at a bigger screen and better keyboard.
The develooment is active, response to bugs (I've found several) prompt and satisfactory, and growth in packages available (~500 when I first installed Termux) impressive and assuring.
This is by no means a full Linux system replacement, for numerous reasons, but it very much, and more than any single other feature, makes Android Not Completely and Utterly Suck (which it otherwise largely does).
Coupled with a Bluetooth keyboard (another long tale of frustration), a tablet becomes a surprisingly capable (albeit still frustrating) laptop adjunct. The biggest frustrations remain Android-imposed: Lack of full filesystem access and unpredictable process termination, by Android.
The lack of an equivalent IOS feature utterly kills that platform for me. I'm very much looking forward to Purism's tablet offerings.
"Have you ever sat on a bus and wondered exactly which arguments tar accepts?"
"Can you imagine a more powerful yet elegant pocket calculator than a readline-powered Python console?"
https://inventingsituationsdotnet.files.wordpress.com/2014/0...
Does seem quite preliminary though, yet.
Point remains that availability of similar capabilities to Termux does not really yet exist on iOS.
I do appreciate knowing about the tool thogh, thanks.
These days, though, there are apps and websites to do everything under the sun. If you need the power, why do the heavy lifting locally? Just use these cloud-friendly devices to connect to an SSH server via Panic’s Prompt app, or use the Shortcuts app to run Pythonista or an SSH-executed command via Siri or at a certain time (prompted). If you need something more advanced than Pythonista can support, perhaps for push notifications, you’ll probably have to use a third party app, or write your own with a Mac to set it up, but iOS is really more extensible with each new release.
For starters.
The apps often aren't all that, and search costs alone in trying to find one exceed time to complete of a typical task. With no additional overhead for bugs, incompleteness, ToU, privacy policy, or EoL / business continuity concerns.
As is direct interaction with your own device via CLI environment.
Sometimes being there is the best way to be there.
I’ve even used AWS Workspace app in a pinch with my iPad.
Settings - Battery - Battery Optimization (dropdown menu upper right, three dots)
Change it for the apps you don't want Android to terminate.
It allows me to have mostly the same toolkit on my phone and on my home server, which is nice.
mps-youtube (mpsyt) is another streaming tool, which gives the option to interactivley request, search (by title, description, genre, or channel) YouTube (only, this time) content, and create, save, and recall local playlists. A great way to explore topics or speakers, or music. No ads :-)
youtube-dl,mpv, and mps-youtube have been transformative.