I use Termux:Boot, Termux:API, plus root to disable the green dot notification for location access. It’s a little cleaner than going through Tasker since the Secure Settings plugin isn’t maintained anymore.
Oh you just gave me an idea. I have the old pc of my grandma wich i wanted to turn into a personal server for various use cases. With ssh i could control it from my phone
Would that actually be decent? Even 6b models feel way too rudimentary after experiencing 33+b models and/or chatgpt. I haven’t tried those really scaled down and optimized models, though!
They’re decent for text completion purposes, e.g. generating some corpspeak for an email, or generating some “wikipedia”-like text. You have to know how to write good prompts, don’t try to treat it like ChatGPT.
For example if i want to know about the history of Puerto Rico I would put:
“The history of puerto rico starts in about 480BC when”
lamacpp is kind of this. you give it a path to a model and a prompt. download a smallish model GGUF file by thebloke. lamacpp main exec has an interactive mode too which can function like a chatbot. i never built it on android though maybe you need android NDK
That’s pretty much where I’m at too, and I find it easier to get to the file(s) I want to send through the cli. No judgement to anyone who prefers the gui though!
Termux yeah. I use it everyday. So here is a (long) list
Use ffmpeg to convert videos or even edit it(with current 6.x version, mediacoded hwaccel is availiable)
yt-dlp
Use vim and emacs, maybe code something
Integrate it with other plugin apps like Termux:API(lots of system apis), Termux:Boot, Termux:Float(floating terminal), Termux:Widget, even Termux:X11 For running gui apps
You can run gui apps with other X servers like XSDL
Compile and run programs that is not availiable for arm(Worst thing, but i still does it. Much hassle and error prone, but fine for smaller programs)
Use ssh to connect to other devices
Install x11-repo and thus install xfce and firefox desktop(for fun)
Install proot-distro and use distros like debian, arch, ubuntu, manjaro, void, fedora, etc. which is cli only by default but you can install any DE.(You can combine display server from XSDL)
Use git, clone a repo, make changes, use it or push commit, whatever you do with git
Use your normal standard linux commands to browse thru your filesystem and make changes
neofetch, cpufetch, rxfetch, htop, gotop, cmatrix and hollywood for lolz
tmux, byobu or gnu screen
Tar, gzip and all coreutils
cryptomining(DON’T do that)
Test your webpage locally (php -S localhost:port)
Ahem I wasted a lot of time making this list i think i have to go now lol
I actually am currently trying to ssh into my main pc and hopefully in the future into my server i started to setup today but i am struggling with the use of keys. Got any good tutorials you can recommend?
I don’t usually use manual keys but uses password to connect to ssh servers. Like ssh -p port user@ip and it promts to trust it then you have to enter your password. I have barely set up ssh servers but have connected ssh servers many times
I am thinking about setting up a local HTTP web server with something and HTTP proxy to share my VPN connection easily. But to be honest I am also kinda lazy. Ok, alot.
Maybe NGINX for web server and Privoxy for the proxy server. Or tinyproxy. I don’t know to be honest. When I’ll have too much extra time at school I can look into that.
Anyway, there’s also ffmpeg. Pretty useful.
And since you can run GUI in it, noaa-apt for decoding APT imagery from the last NOAA satellites still broadcasting APT at 137MHz. (NOAA-15, 18 and 19. NOAA-15 currently has broken AVHRR scan motor, but it’s not the first time.)
Hi, could you explain a bit more about how you’re planning to share your VPN connection with a proxy? Interested to know how the networking will work. Thanks!
Also. I use it with school computers like that.
But also to go around VPN device limit. For example, I use free Proton VPN which limits me to 1 connection at a time. And that 1 device can be the device running proxy server, and now I increased the limits.
Definitely try running a full Linux distro with it, it’s pretty fun and a self-rewarding task, even if you don’t end up actually doing anything with it. But you may still find it useful in some ways, for instance, you could run a full fledged desktop Firefox with support for ALL addons, use it to inspect and debug web pages etc.
And if you feel like it you could take it a step further and install Zink and Box86 to play Windows games.
Just as a tip: you can run every Add-on on Firefox nightly. You can add your own add-on collection and select from that. You have to go into dev mode though. Yo do taht by tapping the Firefox logo in the about section like 5-10 times. You have to have a Firefox account though. Or you could use my fairly small add-on list:
I ssh into my desktop and do a watch sensors while I’m gaming, sometimes. Then I can make sure temps are good without taking screen real estate with mangohud or similar.
There is a project for Debian too, but I don’t have root so I did it in proot. Works, but I couldn’t manage to start a VNC server for the life of me due to a complete lack of proper permissions and the lack of an init system.
It may be broken or not work on some APKs, getting it running on Termux is kinda weird, but you could then use a better output of APKSigner to read signatures and verify APKs on first install.
Apksigner on its own was pretty useless for me, thats why it uses a workaround. Apks are zips, so it renames the file, decompresses and reads some file where the signer is actually mentioned with Name and all. Then it deletes it.
Iirc there was some bug with Termux and the unpack thing, because Android sucks I guess. On Linux it works fine.
Add comment