Cowsay, but full of love
Project description
━━━━━━ ❖ ━━━━━━
❖ Information
lovesay is a simple python script that displays a quote from a loved one based on the day of the month or a quote passed in through the cli arguments.
❖ Requirements
Note: These requirements only apply if using you're using lovesay to print a different quote for each day of the month.
- A quotes file stored in
$HOME/.config/lovesay/ - Each quote must be on a new line, see the example quotes file in
.example/quotes - (optional) A partner to write you 31 lines full of love, one for each day of the month
❖ Installation
Install from pip
pip3 install lovesay
Install from source
- First, install poetry
git clone https://github.com/dotzenith/lovesay.git
cd lovesay
poetry build
pip3 install ./dist/lovesay-0.3.10.tar.gz
❖ Usage
lovesay can be used in a similar fashion to cowsay
lovesay "Hello World"
if there's a quotes file in $HOME/.config/lovesay/, lovesay can be used without any arguments
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
export LOVESAY_PATH="~/path/to/file"
lovesay can also be used with a variety of different color schemes.
lovesay uses catppuccin(mocha) as it's default color scheme, but a different one can be specified using the
--coloroption.
For example:
lovesay # uses catppuccin
lovesay -c nord # uses nord
Supported color schemes as of now:
- catppuccin - latte, frappe, macchiato, mocha
- nord
- dracula
- gruvbox
- onedark
- tokyonight
- ayu
- palenight
- gogh
by default, lovesay checks for the quotes file at $HOME/.config/lovesay/quotes if there is nothing there and no quote is given using the cli args, it will just print out a heart with no quote
❖ About lovesay
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)
❖ What's New?
0.3.11 - Updates to the heart emoji
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lovesay-0.3.11.tar.gz.
File metadata
- Download URL: lovesay-0.3.11.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ecee229d92b0c81d56315f86a9f729a16c0bf6a7b5b2e26e37638266f1a3c0
|
|
| MD5 |
1c28c769ff85382d6251986def209bde
|
|
| BLAKE2b-256 |
8f181dd0159b16f7cfac4e81a6521619a5e4fffc4de364790da94badd99962fc
|
File details
Details for the file lovesay-0.3.11-py3-none-any.whl.
File metadata
- Download URL: lovesay-0.3.11-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a6922285668d4298e3da8ba77c494b4f3b60d3e9e861dcb4335d40e1417588
|
|
| MD5 |
43557e774898ca8eab82c00e1e7ef803
|
|
| BLAKE2b-256 |
70ed25d13ae70e36ee57d211ce201a016709f14ccac94b9ddf01154c79b9f4b7
|