top 50 comments

sorted by: hot top controversial new old
[–] 44 points 2 years ago (3 children)

you could use Termux::API to get stats (battery percentage, notifications, calls, some other stuff) of your phone from your PC.

this video gives good examples

  • source
  • hideshow 4 child comments
  • load more comments (2 replies)
    [–] 39 points 2 years ago (3 children)

    SSH into my PC, from there pretty much anything is possible. Neovim works pretty well.

  • source
  • hideshow 6 child comments
  • [–] [S] 14 points 2 years ago (1 child)

    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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 36 points 2 years ago

    Cowsay is a vital program. I've never understood why it isn't installed by default in every distro.

  • source
  • [–] 23 points 2 years ago (7 children)

    Compile llama.cpp, download a small GGML LLM model and you will have a quite intelligent assiatant running into your phone.

  • source
  • hideshow 8 child comments
  • load more comments (6 replies)
    [–] 22 points 2 years ago (7 children)

    Termux is awesome! I use it for a bunch of things:

    • sshing into servers and my home when I'm out and about
    • using croc to transfer files
    • making videos I'm going to send people smaller with ffmpeg
    • downloading stuff with yt-dlp
    • giving myself access to the sandbox + /sdcard from other computers by running an ssh server
    • scripting phone stuff (like taking photos) with the api
    • running weechat locally, which I can then connect to with weechat android
    • using vim
    • probably a bunch of other things I'm forgetting
  • source
  • hideshow 7 child comments
  • load more comments (7 replies)
    [–] 20 points 2 years ago

    I basically use it to ssh to my server.

  • source
  • [–] 17 points 2 years ago* (2 children)

    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

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 17 points 2 years ago* (1 child)

    You could install YouTube revanced by running one command

    curl -sL "https://raw.githubusercontent.com/decipher3114/Revancify/main/install.sh" | bash

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 16 points 2 years ago (5 children)

    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.)

    Lame screenshot from Termux desktop:

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 13 points 2 years ago (1 child)

    also didn't know you could pipe text into lolcat like that

  • source
  • hideshow 2 child comments
  • [–] 13 points 2 years ago* (2 children)

    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.

  • source
  • hideshow 3 child comments
  • [–] 11 points 2 years ago (1 child)
    load more comments (1 reply)
    [–] 9 points 2 years ago*

    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.

  • source
  • [–] 9 points 2 years ago (1 child)

    chroot into an ARM64 distribution is a must.

  • source
  • hideshow 2 child comments
  • [–] 8 points 2 years ago (1 child)

    rsync

    hourly chime

    pull local weather from weather underground

    integrate with tasker and klwp

  • source
  • hideshow 2 child comments
  • [–] 8 points 2 years ago

    Try to use my apkverify tool.

    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.

  • source
  • [–] 7 points 2 years ago (4 children)

    @SaltyIceteaMaker I installed miniflux, a rss reader, on it. Sadly android constantly kills the internet connecting when the screen turns off, so I can't use it as a server to access it from my other devices. I have tried everything I could find to prevent that from happening.

  • source
  • hideshow 4 child comments
  • load more comments (4 replies)
    [–] 7 points 2 years ago

    Try installing Linux on it. Check out AnLinux. I'm running Debian with KDE on mine.

  • source
  • [–] 7 points 2 years ago (1 child)

    host a Minecraft server for your friends

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 6 points 2 years ago

    neovim, works amazingly well

  • source
  • [–] 6 points 2 years ago

    @SaltyIceteaMaker I think you can use bash scripts and combine that with termux-widget addon to do some amazing stuff. I wrote a script around ytfzf to search and download YouTube videos using termux-dialog addon.

  • source
  • [–] 5 points 2 years ago

    Run nodejs off it

  • source
  • load more comments
    view more: next ›