Skip to content

Running telnet server on Android

Eliran Wong edited this page May 15, 2021 · 19 revisions

Running on Android

We now have an Android mobile app: https://github.com/eliranwong/UniqueBible/wiki/Android-iOS-Version. The current mobile version has much less functions than the desktop one. That's why we have a hybrid version to fill the gap, but the hybrid version is still under development.

If you like command line interface, you may consider running UBA desktop version on Android via an Android app called "Termux"

Running UBA telnet-server with Termux

"Termux is an Android terminal emulator and Linux environment application that works directly with no rooting or setup required." Read more about Termux at: https://wiki.termux.com/wiki/Main_Page

With Termux, you can simply run UBA telnet-server on Android devices. You may read below for setup and startup.

Setup of UBA telnet-server on Android

  1. Download "Termux" from standard Play Store.

  2. Open "Termux" app after installed.

  3. Run the following commands on your Termux app to get everything ready:

pkg install root-repo

pkg install python

pkg install git

pkg install telnet

git clone https://github.com/eliranwong/UniqueBible

Startup of UBA telnet-server

Open Termux app and run:

Remarks: It takes time for one-off automatic setup the first time UBA is launched. UBA should start up much faster after the first run.

cd UniqueBible

python uba.py telnet-server & disown

(Note: use "& disown" above, to enable you to connect to the server on the same Termux session. Read more below.)

Connect UBA

You can use the following command to connect UBA telnet-server on the same device.

telnet localhost 8888

Run a command

e.g. Go to a passge

John 3

e.g. Change bible version

text:::NET

e.g. Open commentary

commentary:::John 3

e.g. search bible with regular expression

regexsearch:::Jesus.*?love

e.g. documentation of available commands

.help

Adding more resources

You can expand the library by adding resources to the folder "UniqueBible/marvelData"

More about UBA telnet-server

https://github.com/eliranwong/UniqueBible/wiki/Remote-CLI

Clone this wiki locally