rv-bible-cli 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -56
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,20 +2,50 @@
|
|
|
2
2
|
|
|
3
3
|
A fast, study-grade terminal Bible reader for the Recovery Version. Offline-first, footnote-aware, cross-reference deep-linking, clipboard-friendly.
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
### 1. Install Node.js (if you don't have it)
|
|
10
|
+
|
|
11
|
+
**Mac:**
|
|
12
|
+
```bash
|
|
13
|
+
# Option A: Download the installer from https://nodejs.org (pick LTS)
|
|
14
|
+
# Option B: Using Homebrew
|
|
15
|
+
brew install node
|
|
5
16
|
```
|
|
17
|
+
|
|
18
|
+
**Windows:**
|
|
19
|
+
1. Go to [https://nodejs.org](https://nodejs.org)
|
|
20
|
+
2. Download the **LTS** installer
|
|
21
|
+
3. Run the installer — accept the defaults
|
|
22
|
+
4. Restart your terminal (PowerShell or Command Prompt)
|
|
23
|
+
|
|
24
|
+
To verify Node.js is installed, open a terminal and run:
|
|
25
|
+
```bash
|
|
26
|
+
node --version # should print v18 or higher
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 2. Install rvb
|
|
30
|
+
|
|
31
|
+
Open your terminal and run:
|
|
32
|
+
```bash
|
|
6
33
|
npm install -g rv-bible-cli
|
|
7
|
-
rvb
|
|
8
34
|
```
|
|
9
35
|
|
|
10
|
-
|
|
36
|
+
That's it. Now type `rvb` to launch.
|
|
37
|
+
|
|
38
|
+
> **Windows note:** In PowerShell, use `rvb` (not `rv`). On Mac/Linux, both `rv` and `rvb` work.
|
|
11
39
|
|
|
12
40
|
## Quick Start
|
|
13
41
|
|
|
14
42
|
```bash
|
|
15
|
-
rvb
|
|
43
|
+
rvb # home screen — browse all 66 books
|
|
44
|
+
rvb john 3 # read a chapter
|
|
16
45
|
rvb john 3:16 # read a single verse
|
|
17
|
-
rvb search grace #
|
|
18
|
-
rvb
|
|
46
|
+
rvb search grace # search the Bible
|
|
47
|
+
rvb continue # resume where you left off
|
|
48
|
+
rvb help # see all commands
|
|
19
49
|
```
|
|
20
50
|
|
|
21
51
|
## Features
|
|
@@ -23,7 +53,7 @@ rvb help # see all commands and shortcuts
|
|
|
23
53
|
### Reading
|
|
24
54
|
|
|
25
55
|
```bash
|
|
26
|
-
rvb john 3 # chapter mode — opens
|
|
56
|
+
rvb john 3 # chapter mode — opens interactive pager
|
|
27
57
|
rvb john 3:16 # single verse
|
|
28
58
|
rvb john 3:16-18 # verse range
|
|
29
59
|
rvb john 3:16,18,20 # specific verses
|
|
@@ -45,14 +75,13 @@ rvb note john 3:14-16 # footnotes for a range
|
|
|
45
75
|
|
|
46
76
|
### Search
|
|
47
77
|
|
|
48
|
-
Concordance-first for known words (1,129 curated entries),
|
|
78
|
+
Concordance-first for known words (1,129 curated entries), full-text for everything else.
|
|
49
79
|
|
|
50
80
|
```bash
|
|
51
81
|
rvb search grace # concordance lookup
|
|
52
82
|
rvb search grace in romans # scoped to a book
|
|
53
83
|
rvb search "only begotten" # phrase match
|
|
54
84
|
rvb search eternal life # multi-word AND
|
|
55
|
-
rvb search grace --fts # force raw FTS5
|
|
56
85
|
rvb search grace --all # show all results (default: 20/page)
|
|
57
86
|
```
|
|
58
87
|
|
|
@@ -63,9 +92,9 @@ Add `--copy` to any read command. Output displays normally AND goes to clipboard
|
|
|
63
92
|
```bash
|
|
64
93
|
rvb john 3:16 --copy # "John 3:16 For God so loved..."
|
|
65
94
|
rvb john 3:16 --copy --no-ref # plain text only
|
|
66
|
-
rvb john 3:16 --copy --numbered #
|
|
95
|
+
rvb john 3:16 --copy --numbered # verse number prefix
|
|
67
96
|
rvb john 3:16 --copy --md # markdown block quote
|
|
68
|
-
rvb search grace --copy # copy all results
|
|
97
|
+
rvb search grace --copy # copy all search results
|
|
69
98
|
```
|
|
70
99
|
|
|
71
100
|
### Navigation
|
|
@@ -75,74 +104,76 @@ rvb # home screen — browse books, pick chapters
|
|
|
75
104
|
rvb continue # resume last-read chapter
|
|
76
105
|
```
|
|
77
106
|
|
|
78
|
-
## Pager
|
|
107
|
+
## Interactive Pager
|
|
79
108
|
|
|
80
|
-
|
|
109
|
+
When you read a chapter in a terminal, rvb opens a full-screen interactive reader — like a book in your terminal.
|
|
81
110
|
|
|
82
|
-
###
|
|
111
|
+
### Reading Mode
|
|
83
112
|
|
|
84
113
|
| Key | Action |
|
|
85
114
|
|-----|--------|
|
|
86
115
|
| `j` / `k` / arrows | scroll up/down |
|
|
87
116
|
| `Space` / `b` | page down/up |
|
|
88
|
-
| `g` / `G` | top / bottom |
|
|
89
|
-
|
|
|
90
|
-
| `f` | toggle footnotes |
|
|
91
|
-
| `o` | toggle outline |
|
|
92
|
-
| `+` / `-` | adjust text width
|
|
93
|
-
| `0` | reset width to default |
|
|
117
|
+
| `g` / `G` | jump to top / bottom |
|
|
118
|
+
| left / right | prev / next chapter (even across books) |
|
|
119
|
+
| `f` | toggle footnotes on/off |
|
|
120
|
+
| `o` | toggle outline on/off |
|
|
121
|
+
| `+` / `-` | adjust text width |
|
|
94
122
|
| `d` | enter study mode |
|
|
95
123
|
| `c` | enter copy mode |
|
|
96
|
-
| `/` |
|
|
97
|
-
| `:` |
|
|
98
|
-
| `[` / `]` | back / forward (
|
|
99
|
-
| `H` | home screen |
|
|
100
|
-
| `q`
|
|
124
|
+
| `/` | find text in current chapter |
|
|
125
|
+
| `:` | jump to any book — type `rom 8`, `jn 3`, etc. |
|
|
126
|
+
| `[` / `]` | go back / forward (like browser history) |
|
|
127
|
+
| `H` | go to home screen |
|
|
128
|
+
| `q` | quit |
|
|
129
|
+
|
|
130
|
+
> **Tip:** To make the text bigger or smaller, use your terminal's font size shortcut: `Cmd +/-` on Mac, `Ctrl +/-` on Windows/Linux.
|
|
101
131
|
|
|
102
132
|
### Study Mode (`d`)
|
|
103
133
|
|
|
104
|
-
|
|
134
|
+
Deep-dive into footnotes and cross-references. Press `d` while reading any chapter.
|
|
135
|
+
|
|
136
|
+
- A cursor highlights the current verse
|
|
137
|
+
- The bottom panel shows all footnotes for that verse with numbered cross-references
|
|
138
|
+
- **Type a number** to follow a cross-reference — you'll jump to that chapter and land on the exact verse
|
|
139
|
+
- Press `[` to go back to where you were
|
|
140
|
+
- Study mode stays active as you navigate — it's designed for chaining through references
|
|
105
141
|
|
|
106
142
|
| Key | Action |
|
|
107
143
|
|-----|--------|
|
|
108
|
-
| up/down | move
|
|
109
|
-
| left/right | prev / next chapter |
|
|
110
|
-
| type number | follow a
|
|
111
|
-
| `v` |
|
|
112
|
-
| `c` | copy verse
|
|
113
|
-
| `f` | toggle footnotes |
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
| `[` / `]` | back / forward |
|
|
118
|
-
| `d` / `Esc` | exit study mode |
|
|
119
|
-
|
|
120
|
-
Study mode persists across navigation — follow a cross-ref and you stay in study mode, landing on the exact target verse. Press `[` to go back.
|
|
144
|
+
| up / down | move between verses |
|
|
145
|
+
| left / right | prev / next chapter |
|
|
146
|
+
| type number | follow a cross-reference |
|
|
147
|
+
| `v` then up/down then `c` | select a range and copy |
|
|
148
|
+
| `c` | copy current verse |
|
|
149
|
+
| `f` / `o` | toggle footnotes / outline |
|
|
150
|
+
| `/` | find text |
|
|
151
|
+
| `:` | jump to a book |
|
|
152
|
+
| `d` or `Esc` | exit study mode |
|
|
121
153
|
|
|
122
154
|
### Copy Mode (`c`)
|
|
123
155
|
|
|
156
|
+
Select and copy verses to your clipboard without leaving the pager.
|
|
157
|
+
|
|
124
158
|
| Key | Action |
|
|
125
159
|
|-----|--------|
|
|
126
|
-
| up/down | move verse cursor |
|
|
127
|
-
| `v` | start range
|
|
128
|
-
| `Enter`
|
|
160
|
+
| up / down | move verse cursor |
|
|
161
|
+
| `v` | start selecting a range |
|
|
162
|
+
| `Enter` or `c` | copy to clipboard |
|
|
129
163
|
| `Esc` | cancel |
|
|
130
164
|
|
|
131
165
|
### Home Screen
|
|
132
166
|
|
|
133
|
-
|
|
167
|
+
Run `rvb` with no arguments, or press `H` from the pager.
|
|
134
168
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
| `Enter` | select book, then pick chapter |
|
|
140
|
-
| `Space` | continue last-read chapter |
|
|
141
|
-
| `q` | quit |
|
|
169
|
+
- Arrow keys navigate the book grid (Old Testament + New Testament)
|
|
170
|
+
- Type a letter to jump to matching books (press again to cycle)
|
|
171
|
+
- `Enter` selects a book, then pick a chapter
|
|
172
|
+
- `Space` continues where you left off
|
|
142
173
|
|
|
143
|
-
##
|
|
174
|
+
## What's Included
|
|
144
175
|
|
|
145
|
-
The bundled
|
|
176
|
+
The entire Recovery Version Bible is bundled offline — no internet needed, no accounts, no setup.
|
|
146
177
|
|
|
147
178
|
| Content | Count |
|
|
148
179
|
|---------|-------|
|
|
@@ -153,12 +184,11 @@ The bundled SQLite database (`rv.db`, 43 MB) contains:
|
|
|
153
184
|
| Section headers | 2,907 |
|
|
154
185
|
| Concordance entries | ~110,000 |
|
|
155
186
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
## Requirements
|
|
187
|
+
## Updating
|
|
159
188
|
|
|
160
|
-
|
|
161
|
-
|
|
189
|
+
```bash
|
|
190
|
+
npm install -g rv-bible-cli@latest
|
|
191
|
+
```
|
|
162
192
|
|
|
163
193
|
## License
|
|
164
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rv-bible-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Fast, offline terminal Bible reader for the Recovery Version. Footnotes, cross-references, concordance search, interactive pager.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|