Run full Linux distros or specific applications on top of Android
github.com
github.com
Termux wiki: https://wiki.termux.com/wiki/Main_Page Termux repo: https://github.com/termux/termux-app Subreddit: https://www.reddit.com/r/termux/
I've been using this for years and it's the primary reason I really enjoy Android. Another comment mentioned iSH for iPhone, but the comparison between iSH and Termux is no contest - Termux on my 6-year-old Motorola Photon Q runs much better than iSH on my 6S. Plus the Photon has a full keyboard!
edit: Not only that, I attempted to run UserLAnd before, and it does not do well on my old phones with slow, small storage. UserLAnd is fun for playing around, but Termux is, for me, where the real action happens. It's my most-used Android app.
Especially when combined with Hacker's Keyboard[1].
[0] https://play.google.com/store/apps/details?id=org.connectbot
[1] https://play.google.com/store/apps/details?id=org.pocketwork...
The virtual keyboard integration is neat:
* Volume keys do ctrl and alt
* You can type into an intermediate text area to use the usual glide typing and spell checking.
Stuff that caught me out:
The root apps repository needs to be manually enabled. `pkg install root-repo`
Swiping from the left edge lets you manage multiple sessions.
My only problem is not being able to fully use an external SD card.
Edit : My devices are rooted.
As far as I know you can only use a specific path like described here: https://github.com/termux/termux-app/issues/954#issuecomment...
But a specific path is not a big deal once you get accustomed to it.. the external sdcard is anyway mostly a FAT serial number path so going a few levels deeper is not a big deal.
btw: Just finished a rsync transfer to sdcard with Termux today ;)
Q: Does anyone use a somewhat recent smartphone, Termux, and a bluetooth keyboard? How well does it work for ad-hoc systems administration over SSH, or command-line tasks like text processing using awk/sed/vim? My beloved LG V20 phone is still pretty much perfect for me and I don't want to give it up any time soon!
Main problem is tmux doesn't work well on it. Otherwise vim is pretty great, for example. It's actually even pretty usable without the Bluetooth keyboard thanks to the volume keys being a fn layer and ctrl
the keyboards lack esc, tab etc. but since they have a ctlr key yoiu can work around most of that. If you can still find, the best keyboard layout and performance is the priv model. avoid the Key2LE.
It's on my phone though I don't really do much besides to play around. It's pretty awesome if you have a bluetooth keyboard.
1. https://support.google.com/chromebook/answer/9145439?hl=en
It works pretty well until you start to run many processes, and then proot starts to be a bottleneck. It's not multithreaded, so every syscall ends up going through a single loop. Any multithreaded code that makes a lot of syscalls will be reduced to being effectively singlethreaded.
You're looking for MaruOS. I've been following development for a while and it had come a long way. While it might not be this project in particular, I feel it's the future of computing.
What you need is a standard dock that can break out HDMI, USB ports for input and I/O, and a gigabit NIC. As it turns out, people make those for Macbooks right now.
Work in progress though.
No one was buying Windows Phones, and no one was making apps for Windows Phones, and this had gone on for many years, and not for lack of trying on Microsoft's part.
How could they not abandon mobile? What options were left to them?
I'm entirely used to one of them (SwiftKey) and I've tried several others as well. They've all offered amazing user experience, but I'm just not comfortable using Microsoft's Launcher for example.
This Thursday, I signed up for coder.com (featured here on HN) and was able to write some Go code using VS Code in the browser. It was a pretty solid experience.
Performance was fine. I had my email and a podcast player going in the background and, honestly, I could probably do a lot of my day-to-day work with this and an EC2 box for running sites.
But it was glitchy, because Android hasn't really invested in this use case. The Taskbar home screen replacement would close the start menu as soon as it opened 90% of the time. There was a black space at the bottom of the screen which would change height almost randomly. Large windows conflicted with the notification bar and I'd end up opening my notifications when I wanted a new tag in Chrome. Right clicking maps to the back arrow in Chrome for some reason.
But the point is, between modern phone hardware and the cloud, we're not far from a performance perspective. We just have to decide that's where we want to go and commit to it.
I think we are there for performance, now it's a question of whether anyone gets the software right enough to make it practical. That includes the possibility of making a restorable image of everything on the phone so you can be up and running in an hour if you lose or break it. I have not used dex, so maybe they are already basically there.
Going the emulation root like iSH seems nuts to me.
Running Vim, mutt, ffmpeg, imagemagic, httpd, etc, at full speed would be sweet.
Things like [1] [2] seem either dead or not getting much traction.
[1] https://github.com/louisdh/openterm
[2] https://github.com/ColdGrub1384/LibTerm/blob/master/README.m...
"For a long time, Apple's App Store review guidelines prohibited apps from downloading executable code from the Internet. The company's original stance resulted in IDEs that couldn't sync scripts and programs across multiple devices – a serious limitation for the emergent movement of programmers embracing the iPad Pro as a portable workstation.
Fortunately, Apple started relaxing their rules earlier this year, allowing "apps designed to teach, develop, or test executable code" to download and run code."
As an example of what's possible, in Pythonista 3[2] on my iPad Pro I installed StaSH[3] (bash-like shell implementation), youtube-dl using pip, and then wrote a simple script[4] to let me save YouTube videos with a long-press on a link -> Share -> Run Pythonista 3 Script...
1: https://www.macstories.net/linked/pythonista-3-2-syncs-scrip...
2: https://omz-software.com/pythonista/
3: https://github.com/ywangd/stash
4: https://gist.github.com/solarfl4re/0a3647788f8ec2f375f2da3db...
Android is natively Linux, so launching a chroot isn’t really all that hard.
On iOS things are very different and you’ll need to fake the whole stack. (Also Apple policies blah blah)
But to run a proper, Linux-environment, a mainstream distro, you can't rely on what iOS natively provides. At least not with some rather decent intermediate layers.
Edit: Found an HN discussion about it: https://news.ycombinator.com/item?id=18421016
You can always remap the dot key to be only be triggered when pressed with super or fn key (and that can also work with shift).
mainly used juicessh in the past, use connectbot occasionally, both are excellent, but I'm confused what I can use with Termux
if I can miracast the screen to a tv or pc monitor(if the phone provides a hdmi-out), along with a bluetooth keyboard, then I have a portable little computer that I can use anywhere?? that is fantastic.
for now, can termux add chromecast?
Android is running linux kernel, so in theory, if you have like sh executable compiled for android you would be able to run it inside of a terminal emulator on android.
The additional packages are compiled with android ndk. There is a repository used to build and configure the basic set of packages [1].
[1] https://github.com/termux/termux-packages/tree/master/packag...
Since I have a handful of PowerShell modules I regularly use, this will be useful.
It's like calling your app “An Executable.” The name means a concept in the same problem domain. ‘A program in userland’ is already a thing.