News for hackers. Stuff that matters.
Re:Termux on Android 5 or 6 by lynndotpy on Monday November 21, 2022 @09:42AM (#33692977)
I've had three main use cases:

1. Running an HTTP server in a directory, so people can connect to my hotspot and get a listing of the files. (I've done this twice, for sharing movies.) This is easy enough to do with `python -m http.server 12345`, and this lets you get a file on nearly any single device with a webbrowser in it.

2. SSHing into my various servers, or getting a file off my home machine that I forgot that I need.

3. Python is a general-purpose calculator for me, so I primarily use Termux instead of a calculator app.

Re:Termux on Android 5 or 6 by seanw444 on Monday November 21, 2022 @10:56AM (#33693967)
I have to concur with #1 primarily. I do this all the time.

#2 and #3 I do less frequently myself, but I use qalc instead of Python for a calculator (handles units and algebra).

Re:Termux on Android 5 or 6 by folmar on Monday November 21, 2022 @06:51PM (#33699884)
You can use the BSD-licensed "Share via HTTP" app that does the same thing but interacts nicely with Android share menu.

https://f-droid.org/en/packages/com.MarcosDiez.shareviahttp/