Command Line Bibles

I've made a couple very useful command-line accessible Bibles for a quick and scriptable lookup of Bible verses and passages. They exist not only in English, but for Latin and Greek as well.

  1. English King James Version (including Apocrypha) — Github, Gitlab
  2. Latin Vulgate — Github, Gitlab
  3. Greek Septuagint & New Testament — Github, Gitlab

Installation

git clone https://github.com/lukesmithxyz/kjv.git
cd kjv
sudo make install

Or just replace kjv with vul for the Latin version or grb for the Greek.

Usage

Single run

Run the program name followed by a passage. The text will appear to you in your pager. Arrows or vim-keys to scroll, q to quit.

kjv rev 3:9
Revelation
3:9     Behold, I will make them of the synagogue of Satan, which say they are
        Jews, and are not, but do lie; behold, I will make them to come and
        worship before thy feet, and to know that I have loved thee.

Note that you may also give whole books or chapters. kjv genesis will give you all of Genesis. kjv mat 1:1-10 will show only Matthew 1:1-10. Note also that you can usually abbreviate books.

Searching

/ searches for patterns. For example, kjv /offering will search the whole Bible for the word "offering." You may specify a book/location before it to search only that book.

Interactive mode

Just type kjv (or vul or grb) alone to enter interactive mode. You can then just type verses/books without prefixing them with the command name each time if you prefer.

Origin

I forked the original software from this repository which is an incomplete English King James Version (without the Apocrypha). With the use of coreutils and vim, I found online texts of the Apochrypha, Vulgate, Septuagint and the SBL New Testament and formatting them to function with this program.

Read related articles:
Tradition · Religion · Software