votd

Crates.iovotd
lib.rsvotd
version1.0.6
sourcesrc
created_at2023-07-11 00:06:16.862192
updated_at2024-09-16 18:16:00.832644
descriptionA command-line tool to lookup Bible verses
homepagehttps://crates.io/crates/votd
repositoryhttps://github.com/MWPuppire/votd
max_upload_size
id913387
size51,580
Ben Kelley (MWPuppire)

documentation

README

VotD

Crates.io MIT License

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

Maintenance

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.

Performance

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.

License

The code is released under the MIT license.

Commit count: 8

cargo fmt