zlacker

Termux

submitted by tosh+(OP) on 2026-02-02 11:03:44 | 360 points 180 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
3. dharma+u8[view] [source] 2026-02-02 12:25:17
>>tosh+(OP)
An experiment of using Python Textual to implement a phone app intended to run in Termux:

https://youtu.be/sTj1FalZMVw?si=oq7uXCofjTGZO1F4

6. mg+Y9[view] [source] 2026-02-02 12:35:24
>>tosh+(OP)
Is Termux still needed, now that new Android phones have a full Linux available?

I keep reading on https://www.reddit.com/r/androidterminal/ about user experiences with it and it seems pretty great.

7. haunte+3a[view] [source] 2026-02-02 12:35:37
>>tosh+(OP)
One of my favorite piece of software was made by the guy with Termux on his phone [0], absolute insane https://github.com/9001/copyparty

0, https://www.youtube.com/watch?v=15_-hgsX2V0&t=885s

◧◩
10. Tiberi+Sa[view] [source] [discussion] 2026-02-02 12:41:05
>>tetris+s8
Modern Emacs isn't really meant to be used in a TUI, it has a very capable GUI. And there's a fully native Android port of that GUI.

https://sourceforge.net/projects/android-ports-for-gnu-emacs...

https://mstempl.netlify.app/post/emacs-on-android/ https://kristofferbalintona.me/posts/202505291438/

12. timono+gb[view] [source] 2026-02-02 12:43:27
>>tosh+(OP)
I have webserver in Termux which is viewed in a watch.

Kinda difficult to explain. But Copilot says:

Provide a single-line weather summary (temperature, wind direction name + degrees, wind speed, symbol text) for use elsewhere (repo name suggests it’s for a clock/display).

https://github.com/timonoko/Supersaa_kelloon

◧◩
16. Erenay+Ub[view] [source] [discussion] 2026-02-02 12:46:45
>>mystif+Ia
You can use an easier way for yt-dlp:

https://github.com/deniscerri/ytdlnis

33. bear33+nh[view] [source] 2026-02-02 13:20:08
>>tosh+(OP)
I also really like Termux. When I was developing https://github.com/nuwainfo/ffl (a tool similar to croc, but the receiver uses a browser and doesn't need to install anything), it was because I wanted an easy way to get things off my phone. I actually packaged ffl—which is pure Python—into an APE just to make it compatible with Termux. Although many people here use ssh, rsync, or solutions like copyparty, I prefer my own minimalist solution: just one binary to transfer whatever I want. Anyway, Termux is cool.
41. Rygian+Qi[view] [source] 2026-02-02 13:29:57
>>tosh+(OP)
My usecase for Termux: most pictures get backed up properly into the home NAS, but the sync process sometimes skips a few [1] (which is exasperating, but here we are still not migrated to Immich).

So I have a python script in the NAS that calculates the MD5 checksum of every photo and video, and generates a shell script that, when executed on the phone, will calculate the MD5 on the local device, and delete if it is equal to the NAS.

The generated shell script gets sent to the phone, then I execute it from within a Termux window, pointing at the DCIM folder.

I can free up tens of GB of memories with reliability in the face of a misbehaving sync algorithm.

[1] https://help.nextcloud.com/t/auto-upload-is-skipping-random-...

◧◩◪◨⬒
45. dudewh+ek[view] [source] [discussion] 2026-02-02 13:37:51
>>nasret+Wh
Apple somewhat lifted the emulator restrictions on the App Store which means you can install UTM from here: https://apps.apple.com/us/app/utm-se-retro-pc-emulator/id156...
57. boneit+Rl[view] [source] 2026-02-02 13:48:38
>>tosh+(OP)
Another nifty utility to use in tandem is scrcpy[0].

Inside or outside of Termux, it allows you to interact with your android device in general from the comfort of your main computer/laptop over ADB.

It becomes a super multiplier for Termux when I don't want to deal with the hassle of connecting a separate keyboard to my android phone/tablet.

(A heads up, I have to use the `--render-driver=software` switch in order for scrcpy to work at all on my laptop.)

[0]: https://en.wikipedia.org/wiki/Scrcpy

◧◩
58. cess11+dm[view] [source] [discussion] 2026-02-02 13:50:58
>>blueba+de
I use PentiKeyboard, it can send basically all the byte sequences I'm accustomed to having available plus it has a shortcut for sending ctrl+b to tmux.

https://play.google.com/store/apps/details?id=de.software_la...

Either that or I connect a wireless physical keyboard.

Edit: The killer feature of Penti is that it is transparent and allows you to put the 'buttons' where it is convenient to place the fingertips. Unlike regular software keyboards which hide half the screen and have 'buttons' that are pretty much thumbs-only. Since I code a lot I'm not particularly keen on mainstream next-word-guessing either.

◧◩
63. mjmas+On[view] [source] [discussion] 2026-02-02 13:59:53
>>blueba+de
I have Unexpected Keyboard which gives me most keys including Alt, Ctrl and Esc as well as F-keys.

https://github.com/Julow/Unexpected-Keyboard

67. twism+uo[view] [source] 2026-02-02 14:05:00
>>tosh+(OP)
I've tried Termux but use the old irssiconnectbot (https://github.com/irssiconnectbot/irssiconnectbot) but with slight modifications over the years since its open source... along with an also modified hackerkeyboard (https://github.com/klausw/hackerskeyboard) to support my workflow which is heavy on emacs and GNU Screen.

The colors/graphics seem to be better on irssi and can also handle all the emacs and gnu screen keyboard chords and escape sequences.

I try every android terminal but nobody is really thinking about running more than simple commands.

◧◩◪
77. fmajid+tr[view] [source] [discussion] 2026-02-02 14:21:12
>>harvie+Hk
It's extremely flaky and unreliable, however:

https://social-cdn.vivaldi.net/system/media_attachments/file...

78. leephi+ds[view] [source] 2026-02-02 14:25:30
>>tosh+(OP)
I use it to run Julia on my phone: https://lee-phillips.org/juliaOnPhone.jpg
◧◩◪
88. ktm5j+Vt[view] [source] [discussion] 2026-02-02 14:34:14
>>dizhn+kq
I really like SeaFile for this kind of thing. It follows the "do one thing and do it well" philosophy. It's just file sync with some basic document editing features (markdown, .doc I think). Super fast and dependable, highly recommend.

https://www.seafile.com/en/home/

96. berghe+qx[view] [source] 2026-02-02 14:55:21
>>tosh+(OP)
With how AI based dev is going, I'm guessing more and more people will discover and start using termux, tmux and the like.

Typing on a phone sucks, but at least modal modes (vim) and unexpected keyboard[1] makes it somewhat tolerable.

1: https://github.com/Julow/Unexpected-Keyboard

◧◩
104. yjftsj+HC[view] [source] [discussion] 2026-02-02 15:23:29
>>bear33+nh
May I also recommend >>46855265
◧◩
116. crtasm+iI[view] [source] [discussion] 2026-02-02 15:53:27
>>pxc+UA
There's two upcoming I look forward to seeing reviews of:

https://www.androidauthority.com/unihertz-titan-2-elite-qwer...

https://www.engadget.com/mobile/smartphones/clicks-is-bringi...

117. goodbu+WI[view] [source] 2026-02-02 15:56:45
>>tosh+(OP)
You can now run Docker images in Termux with Udocker/proot[0], the disk IO can be a bottleneck for large databases when using proot.

Tailscale works with "--tun=userspace-networking" [1].

I had it running on an old phone as a Frigate server with a solar powerbank in remote area, using the 4G as a failover. The uptime is almost a week without solar. Attiny hooked to the power button and a photodiode on the phone flash [2] (blink per minute) used as a watchdog for shutdowns/hangs to hardware reset. The button cap is removed without disassembling the phone.

Old phones are still more efficient than most off the shelf SBCs, especially under load. ~3W compared to 12W with a Pi5 in the same performance ballpark.

[0]: https://github.com/George-Seven/Termux-Udocker https://github.com/indigo-dc/udocker

[1]: https://tailscale.com/kb/1112/userspace-networking

[2]: https://wiki.termux.com/wiki/Termux-torch

◧◩◪
120. zahlma+dQ[view] [source] [discussion] 2026-02-02 16:26:04
>>mitkeb+ft
You might be interested in a previous HN submission about it: >>45984864 including the author's commentary: >>46056869
◧◩◪
123. haunte+ST[view] [source] [discussion] 2026-02-02 16:46:31
>>pks016+YR
It's incredibly good and runs on pretty much everything.

There is a read only demo here https://a.ocv.me/pub/demo/

152. bhelke+9H1[view] [source] 2026-02-02 20:37:52
>>tosh+(OP)
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/

◧◩◪
162. ratroc+SZ1[view] [source] [discussion] 2026-02-02 22:00:00
>>kid64+j01
Last things first: on my phone I only run syncthing "on demand", so I can't actually answer your question. Maybe someone else can chime in? From the little I've brushed up against the issue you're referring to, I think there's a way to have it not get killed, but it seems like it might be a little bit of a hassle.

On the transfer, here is what I could dig up:

The github issue about it was deleted, but archive.org has copies: https://web.archive.org/web/20251215062049/https://github.co...

HN discussion of same (with another link to the syncthing forum): >>46184730

Lobsters discussion: https://lobste.rs/s/urbcpw/potential_security_breach_syncthi...

(and here is the announcement that the official android syncthing app was being discontinued: https://forum.syncthing.net/t/discontinuing-syncthing-androi...)

No shortage of reading if you have the time! I'm quite happy to be running just the "standard" package (although, yeah, I should've pointed out that I don't run in continuously on my phone...)

◧◩
163. cfigge+142[view] [source] [discussion] 2026-02-02 22:14:41
>>r17n+Gh
I'm an enthusiastic enjoyer of the Janet programming language.[0] Sometimes people ask questions about how to do something in the Janet Zulip instance, and I like to help if I know the answer. But I'm most likely to see those messages first on my phone.

Termux makes it super easy to pull up a Janet REPL on my phone and try some things out before I reply. You could do the same with node or Python or anything else with a CLI REPL.

[0] https://janet-lang.org

◧◩◪
175. nisidd+UC3[view] [source] [discussion] 2026-02-03 09:18:58
>>Erenay+Ub
Even simpler is https://github.com/JunkFood02/Seal
[go to top]