any cool ideas what i could do with termux?

SaltyIceteaMaker@lemmy.ml to Linux@lemmy.ml – 325 points –
115

You are viewing a single comment

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

Using termux for SSH as well. Haven't heard about croc before. Are there advantages over copying files with ssh (scp) for example?

The main advantages for me are:

  1. You don't need to swap ssh keys, which makes it great for setting up new systems I haven't connected to everything else yet (or don't plan to)
  2. It's cross platform
  3. The devices don't need to be on the same network (it NAT busts too)

croc is best to use the android app instead of croc in termux

Why install another app when croc is available from termux?

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!

Does croc relay pass only metadata about the client addresses, or is the data itself sent via the relay?

As far as I know the relay just NAT busts, after that it's encrypted p2p.