BIB[le] V2.0
A command-line Bible verse lookup program written in FreeBASIC.
Description
BIB[le] V2.0 is an interactive terminal-based Bible reader that allows you to quickly search and read Bible verses from multiple translations. The program uses a CSV database of Bible texts and provides an intuitive keyboard-driven interface.
Requirements
- FreeBASIC compiler (
fbc)
- Bible database file:
bibles.csv (must be located at /usr/bin/bibles.csv)
- Linux/Unix environment with standard utilities (
grep, cut, cat)
Compilation
To compile the program:
bash
fbc -lang qb bib20.bas
This will produce an executable named
bib20 (or
bib20.exe on Windows).
Usage
Run the compiled program:
bash
./bib20
Supported Bible Translations
The program supports 9 different Bible translations:
KJV - King James Version
ASV - American Standard Version
DRB - Douay-Rheims Bible
DBT - Darby Bible Translation
ERV - English Revised Version
WBT - Webster's Bible Translation
WEB - World English Bible
YLT - Young's Literal Translation
AKJ - American King James Version
Keyboard Controls
| Key | Function |
|---|
< / > (Left/Right Arrow) | Change Bible translation |
H | Display home screen/help |
ENTER | View the currently selected verse |
L | Look up verse (prompts for Book, Chapter, Verse) |
B | Set book |
C | Set chapter |
V | Set verse |
0-9 | Set context lines (shows verses before/after) |
ESC | Exit program |
Examples
Default Start:
The program starts at Genesis 1:1 in the KJV translation
Look up a specific verse:
Press L
Enter: John,3,16
Change book, chapter, or verse individually:
Press B and type Psalm to change book
Press C and type 23 to change chapter
Press V and type 1 to change verse
Press ENTER to view
View context:
Press 3 to see 3 verses before and after the selected verse
Press 0 to return to single verse view
Switch translations:
Use < and > arrow keys to cycle through translations
File Format
The program expects a tab-delimited CSV file (
bibles.csv) with the following format:
Book<TAB>Chapter:Verse<TAB>KJVtext<TAB>ASVtext<TAB>DRB_text<TAB>...
Example:
Gen 1:1 In the beginning God created... In the beginning God created... ...
Author
Page Telegram
License
Creative Commons Attribution.