#bible #reading #cli

bin+lib lectio

Searches the given bible readings for a specific date

5 releases

Uses new Rust 2024

0.1.4 Jan 31, 2026
0.1.3 Jul 2, 2025
0.1.2 Jun 30, 2025
0.1.1 Jun 21, 2025
0.1.0 Jun 21, 2025

#21 in #reading

MIT license

785KB
3.5K SLoC

Python 1.5K SLoC // 0.2% comments Rust 1.5K SLoC // 0.1% comments JavaScript 164 SLoC // 0.0% comments RPM Specfile 34 SLoC TypeScript 21 SLoC // 0.5% comments

lectio

Fetches the daily bible reading

Ideas: parsebible.cpp is used to parse a bible.txt into a more "efficient" data structure. I was thinking a parsed file to look as so:

GENESIS
1:1 In the beginning...
1:2 But the earth...
...
50:26 he died, having completed...
^
EXODUS
1:1 These are the names...
...
^
LEVITICUS
...

And so on. Each chapter will end with the delimiter ^. This will allow us to read just the name of the chapter, and if it is not the desired chapter, we simply .ignore() until the delimiter '^'.

Dependencies

~3–19MB
~199K SLoC