bibletui
v0.1.0
Published
A riced-out CLI tool for reading the Bible with interactive TUI, themes, search, and bookmarks
Maintainers
Readme
📖 Bible CLI
A command-line tool and interactive terminal UI for reading the Bible, complete with themes, search, bookmarks, and more.
Features
- Interactive terminal UI with book, chapter, and verse navigation
- Single-shot commands for verse, chapter, search, and random verses
- Random verse generator:
-r, --random - Bookmarks with optional notes
- Theming system (default, dark, light, sepia, black-metal-gorgoroth, etc.)
- Whole-chapter view option in the Verses panel
- Configuration stored locally in
config.json - Keyboard-driven bookmark management in TUI (add with
a, view withb, delete withd) - Random verse jump in TUI (
rkey) - Quit only via
qorCtrl-C;Escnow only closes the help dialog
Installation
Via npm (recommended)
npm install -g biblecliFrom source
git clone https://github.com/drousseau/bible-cli.git
cd bible-cli
npm install
npm linkQuick Commands
bible -rorbible --random
Show a random verse.bible verse <Book> <Chapter> <Verse>
E.g.bible verse John 3 16.bible chapter <Book> <Chapter>
E.g.bible chapter Psalms 23.bible search "<query>"
E.g.bible search "In the beginning".bible bookmark <Book> <Chapter> <Verse> ["Note"]
Add a bookmark.bible bookmarks
List all bookmarks.bible theme <theme>
Change theme (default, dark, light, sepia, black-metal-gorgoroth).bible demo
Run a non-interactive demo.
Interactive TUI
Simply run:
bible- Tab to switch panels (Books, Chapters, Verses).
- Enter to select.
- In the Verses panel, the top entry Whole chapter shows the entire chapter.
- s to search, a to add a bookmark for the current verse, b to view bookmarks (
dto delete), r for a random verse, t to pick theme. - h to toggle help; Esc closes help; q or Ctrl-C quits the app.
Configuration
A config.json in the project root stores:
theme: current theme nametranslation: Bible JSON key (e.g. "kjv")fontSize: font size setting (unused in TUI)showVerseNumbers: toggle verse numbers (unused in TUI)bookmarks: array of{book,chapter,verse,note}objects
You can edit config.json by hand or via the CLI commands.
Contributing
Pull requests welcome! Please:
- Fork the repo and create a feature branch
- Write tests and update docs
- Run
npm test - Open a pull request
License
MIT
