Remote CLI - eliranwong/UniqueBible GitHub Wiki

Remote CLI

UBA can be run as a telnet server and accessed via command line.

UBA telnet server

Start up UBA as a Remote CLI telnet server by:

python uba.py telnet-server <port>

By default, it uses port 8888 as a telnet server. If a port is provided, it will use that instead. When UBA is started as a server, no GUI will be opened. To stop the server, press Ctrl-C.

Access UBA telnet server

You can access the server by a telnet client.

telnet <ip> <port>

You can access it from any computer that is on the same network as the UBA server.

The following commands are available on the client:

.help
.quit
BIBLE:::KJV:::John 3:16
BIBLE:::KJV:::Jn 3:16; Rm 5:8; Deu 6:4
PARALLEL:::NIV_KJV:::John 3:16
SHOWSEARCH:::KJV:::omnipotent
ADVANCEDSEARCH:::KJV_WEB:::Book = 1 AND Scripture LIKE '%love%'
WORDS:::Gen 1:1

In-app UBA command reference

From version 22.64, UBA offers in-app reference on UBA commands:

A window showing UBA commands is accessible through menu under "Information" or "About" section.

On cli [local or telnet], users can enter ".help" to view documentation on UBA commands.

⚠️ **GitHub.com Fallback** ⚠️