lovesay.rs is a port of lovesay in rust. It is a simple rust program that displays a quote from a loved one based on the day of the month or a quote passed in through the cli arguments.
Note: These requirements only apply if using you're using lovesay to print a different quote for each day of the month.
$HOME/.config/lovesay/
.example/quotes
Install from pip
sh cargo install lovesay
Install from source - First, install rust
sh git clone https://github.com/dotzenith/lovesay.rs.git cd lovesay.rs cargo build --release ./target/release/lovesay
lovesay can be used in a similar fashion to cowsay
sh
lovesay Hello World
if there's a quotes
file in $HOME/.config/lovesay/
, lovesay can be used without any arguments
sh
lovesay
if you'd like to use a quotes stored somewhere other than the path above, the LOVESAY_PATH
env variable can be used as such
sh
export LOVESAY_PATH="~/path/to/file"
This is just a silly little rust port, but the reasoning for the original is below:
I wrote lovesay because I got tired of seeing neofetch or pfetch every time I opened my terminal. I wanted something more personal.
Seeing words full of love from my partner is a lot better than any other command I could possibly run. It makes my terminal feel cozy, welcoming, and as is the case with most things my partner touches, it makes my terminal feel like home.
I hope that someone else finds a use for this little script as well. Love is a wonderful thing, and we could all use a little bit more of it in our lives (especially arch linux users)
0.1.0 - It's rust time