ultra,

Transfer files with netcat

mexicancartel,

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

SaltyIceteaMaker,

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?

mexicancartel,

I found this from a search.

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

k5nn,

Run nodejs off it

marcdw,

Can use it as a launcher also I guess. Termux Expert Launcher.

https://lemmy.ml/pictrs/image/92f62ee7-0b19-4a05-b680-f265dfbfce81.jpeg

krimsonbun,
@krimsonbun@lemmy.blahaj.zone avatar

how

marcdw,

Oops, sorry. 😬

TEL

If one decides to mess with it, some notes. Last release was awhile back. I don’t use Android 12/13 so no idea how well it works there.

Tel and Tel:API have same package names as Termux and Termux:API. Meaning there should be no trace of Termux on system before trying.

Not really battery friendly when using the default status info up top.

Powerful command line environment. Recommend that one is familiar / comfortable with the CLI.

WuTang,
@WuTang@lemmy.ninja avatar

can you make a phone call, sms or even photo with GrapheneOS? :)

terminal comes at the 10th place in my wish list for a linux or freeOfGoogle phone.

SaltyIceteaMaker,

All of the above. Phone call, sms photo video. Everything. You can also just install corresponding apps from the playstore or any other store. It’s basically stock android but with more granular control over permissions, and with sandboxed google services

hillosipuli,

Real shame that GrapheneOS only supports google pixels since they are kinda expensive.

SaltyIceteaMaker,

With enough knowledge you could just port it to your phone. Or choose an alternative

neveraskedforthis,

Only thing I can’t do is use McDonald’s app because apparently they take security more serious than every bank app.

binboupan,

Yeah, I also noticed this and it’s ridiculous. No junk food for me then :)

isVeryLoud,

Don’t use fast food apps, their only and sole purpose is to collect your data.

The McD app doesn’t run on Graphene because it can’t get info to sell off so it can fund the discounts you get from using the app.

That’s the economics of it. Your data gets sold at 100% value, you get discounts worth 60% of that value, they pocket the difference.

On another note, be careful of any loyalty program these days, even if it’s not digital. They use it to track exactly what you buy and at which location, e.g. grocery stores, and give you discounts in exchange. Sometimes it’s just for inventory and stock management, but some less scrupulous companies will sell off your consumer data for an extra buck, especially if you tied a name or address to your loyalty program membership.

waspentalive,
@waspentalive@lemmy.one avatar

Then there is the story of the guy who went several years on a grocery store loyalty card. One day he slipped and fell from a spill on the floor. When he spoke up about his injuries the store’s lawyer said “We see in your loyalty record you buy a lot of alcohol, were you drunk that day?” Just a story I read- might not be true, but it could be.

Ascend910,

host a Minecraft server for your friends

Interstellar_1,
@Interstellar_1@pawb.social avatar

XD

KIM_JONG,

Have it kill slack and zoom when their buggy ass resource leaking shit grinds your system to a halt.

SaltyIceteaMaker,

Luckily i never had to use them for school as my government recognized thier insecurities, and i prob won’t need to use them for my job as i am a mechanic (albeit for construction machinery)

pikachu_sensei,

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

circuitfarmer,
@circuitfarmer@lemmy.sdf.org avatar

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.

kmacmartin,

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
jason123santa,

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

hottari,

Why install another app when croc is available from termux?

kmacmartin,

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!

ouch,

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

kmacmartin,

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

noddy,

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

kmacmartin,

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)
NoName,

You can use desktop enveironments on your phonetutorialwiki.termux.com/wiki/Graphical_Environment

marcdw,

Been awhile since I did that but it was really cool. An Xfce desktop from the phone onto my TV. Time to revisit that and play around some.

chemicalwonka,
@chemicalwonka@discuss.tchncs.de avatar

Can u wget in a site using termux? Do I need Root on my device?

IlliteratiDomine,
@IlliteratiDomine@infosec.pub avatar

Yes, wget is available, along with pretty much everything else you’d expect from a linux environment.

No, root isn’t required.

SaltyIceteaMaker,

Termux does not need root but it would give you more freedom.

And yes you can wget. Used it to download some files from termux

daniskarma,

I basically use it to ssh to my server.

user224,
@user224@lemmy.sdf.org avatar

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:
https://i.imgur.com/14CpVwH.jpg

MigratingtoLemmy,

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!

user224,
@user224@lemmy.sdf.org avatar

I mean, just run the proxy server on the phone. Then the traffic simply goes through VPN. Currently I just use this app, but I want to do it properly.

MigratingtoLemmy,

Ah, I see. Is this for devices that can connect to a proxy but can’t connect to a VPN?

I suppose one could share their Wi-Fi connection using this too

user224,
@user224@lemmy.sdf.org avatar

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.

MigratingtoLemmy,

Thanks, that’s a good idea!

ooterness,

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines