Crates.io | votd |
lib.rs | votd |
version | 1.0.6 |
source | src |
created_at | 2023-07-11 00:06:16.862192 |
updated_at | 2024-09-16 18:16:00.832644 |
description | A command-line tool to lookup Bible verses |
homepage | https://crates.io/crates/votd |
repository | https://github.com/MWPuppire/votd |
max_upload_size | |
id | 913387 |
size | 51,580 |
A command-line utility to look up the Bible verse-of-the-day. Use votd
to get the current verse-of-the-day, or votd --help
for command-line flags.
You can install it via cargo:
$ cargo install votd
I consider this a finished program; it serves my needs, and I don't care to work more on it. I may address significant issues (e.g. major bugs, vulnerabilities, or if the API routes change), but if you want smaller changes made, feel free to make a fork.
It's written in Rust for performance; I include it in my .zshrc
file, so I want it to be pretty fast. It caches the verse-of-the-day for 6 hours; this should mean it always returns a current one (most people need at least that much sleep between days), but the cache can be manually refreshed with -r
, or disabled altogether with -n
if it isn't wanted.
To avoid using too much filesystem space, it doesn't cache any verses other than the verse-of-the-day. If you want an app to look-up local copies of any verse, you'd be better off downloading an actual Bible app anyways.
The code is released under the MIT license.