Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app

termux.dev

1–10 of 174 posts

Re: Termux is an Android terminal emulator and Linux environment app

#5
Termux is one of my favorite mobile app. Especially because I can run basically whatever I want to it as long as it's in text mode. X11 support is there but honestly that too janky for me and I'm more comfortable with cli any ways. There are some bonkers things we can do with this. Like running dwarf fortress on it[1]. My favorite thing is running Julia+Pluto so I can do stupid toys on it.

I sometimes wonder what kind of stress I'm putting on my phone by doing this.

[1] https://www.reddit.com/r/dwarffortress/comments/r80m7y/dwarf...

Re: Termux is an Android terminal emulator and Linux environment app

#6

I’ve put this on a 20$ android phone that I got on eBay and was so impressed it made me consider switching from iOS to android.

That's the neat part about this. Need a Linuxy ARM SBC to run python, or a tiny web server, or home automation hub or something like that but Raspberry PIs are unavailable or overpriced in your area and alternative products are too sketchy and unsupported? No problemo.

Just get an old Android flagship off the second hand market that can be had dirt cheap, flash some FOSS de-Googled ROM on it, and use that instead. You now have the power of Linux and Android ecosystems for much less than a Pi and it comes with a display and battery! Need GPIO too? You can connect an external GPIO board via USB-OTG to the phone and control that via Python just like with a Raspberry PI.

Re: Termux is an Android terminal emulator and Linux environment app

#8
I update my website by writing it in the Squircle CE editor and then run my static sitegenerator, commit and push to the server by pressing a termux homescreen shortcut. Works great. Images are a bit of an issue, but I have another termux script that's run when use the android "open with" menu and select termux on an image.

If anyone has a better idea how I can get images into the filesystem from an editor in android, let me know.

PS: Some light ChatGPT copy paste coding also works great. My foldable keyboard mouse setup means I could code everywhere.

Re: Termux is an Android terminal emulator and Linux environment app

#9
Termux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed, Google policies have been aligning closer to Apple's. I don't like having to stay on a previous generation OS just to make sure I don't lose "power user" fuctionality. Just recently I had to install a root mod to allow apps complete access to SD cards, a recent update caused me to get the dreaded "To protect your privacy, choose another folder" while trying to give a gallery app permissions. I am grateful for Termux devs for working hard to maintain functionality via workarounds.

https://github.com/termux/termux-app/issues/2366

Re: Termux is an Android terminal emulator and Linux environment app

#10
post #8

I update my website by writing it in the Squircle CE editor and then run my static sitegenerator, commit and push to the server by pressing a termux homescreen shortcut. Works great. Images are a bit of an issue, but I have another termux script that's run when use the android "open with" menu and select termux on an image. If anyone has a better idea how I can get images into the filesystem from an editor in android…

You can use any file browser that supports android's document api to browse termux's filesystem. If you are using something like samsung oneui it can't do that, but you can install Anemo and use its shortcut to open android's default "Files" instead of samsung's
Post reply on HN