Register - Login
Views: 96156254
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
12-12-18 12:39:16 AM

Jul - Computers and Technology - The greatest Android app New poll - New thread - New reply
Next newer thread | Next older thread
Lucidiot
User
Level: 6


Posts: 15/22
EXP: 581
For next: 326

Since: 11-10-18

Pronouns: he/him
From: France

Since last post: 13 days
Last activity: 3 days

Posted on 11-16-18 05:14:12 PM Link | Quote
A terminal.



Anyone here doing things with Termux on Android? Got myself a Bluetooth keyboard today just to make using this terminal much easier. It basically becomes a Raspberry Pi! You can even get your own window manager running in there.

This evening, I dumped my french blog's MySQL database over SSH, downloaded a awk script to convert it to a SQLite database, and started a new Python project to map that database to an ORM. All of that just on my phone.

The goal of this thing is to generate Markdown files with specific metadata so that I can use the Pelican static site generator instead of a PHP codebase I no longer want to maintain. That way, all I will have to do is write some markdown, push that to GitLab, and *poof* here's a site. Why am I doing this on my phone? Because why not.
Jamie
140
Level: 24


Posts: 117/143
EXP: 69513
For next: 8612

Since: 06-03-14


Since last post: 9 days
Last activity: 9 days

Posted on 11-17-18 03:10:57 AM Link | Quote
Wow that's really nice!! I didn't think that'd be possible on Android
Lucidiot
User
Level: 6


Posts: 17/22
EXP: 581
For next: 326

Since: 11-10-18

Pronouns: he/him
From: France

Since last post: 13 days
Last activity: 3 days

Posted on 11-17-18 03:52:45 AM Link | Quote
Well, Android is basically a Linux distro on ARM. You can even get Android running under VirtualBox using androidx86.

Termux uses its own binaries and libraries so that nothing messes up with Android but you can still access system binairies at /system/bin. Be careful with setting up your environment variables, and write scripts carefully as well, because nothing is a standard directory. There is no /tmp, use $TMPDIR; there is no /usr/bin, use $PREFIX/bin, etc. Apart from that, you can do a lot of things. The wiki is well documented and there is a GitHub repository somewhere where you can ask for packages if they do not exist.
nym
Member
Level: 17


Posts: 54/58
EXP: 22068
For next: 2675

Since: 02-11-12

Pronouns: none
From: Cartoon Heck

Since last post: 6 days
Last activity: 6 days

Posted on 11-28-18 10:11:36 PM (last edited by nym at 11-28-18 10:12:36 PM) Link | Quote
When I had my Blackberry Priv, I was an avid Termux user, because I had a keyboard attached to the phone. Now that I'm back to being a virtual keyboard scrub, I've found it less useful. I do have a blutooth keyboard I sometimes use, but it's just more of a hassle, and I'd rather pull out a real laptop or something similar if I were going to do something linuxy.

That said, termux is pretty rad.
Next newer thread | Next older thread
Jul - Computers and Technology - The greatest Android app New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 6fc366a [2018-12-11]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

29 database queries, 1 query cache hits.
Query execution time: 0.182999 seconds
Script execution time: 0.009053 seconds
Total render time: 0.192052 seconds