9 releases (4 breaking)
0.6.3 | Apr 9, 2019 |
---|---|
0.6.2 | Apr 9, 2019 |
0.4.0 | Jan 4, 2019 |
0.3.0 | Jan 4, 2019 |
0.1.1 | Dec 16, 2018 |
#12 in #cowsay
22 downloads per month
10KB
118 lines
buddhasay
______________________________________
/ \
| If you are swayed by things of the |
| world, how regrettable that is. |
| Things of the world are fleeting and |
| impermanent. |
\______________________________________/
\
\ ___
\ (-_-)
_) (_
/ \
_( \_ _/ )_
(_____\_____)
Like Cowsay, but with a Buddha and Buddhism related sentences.
How can install this?
If you're running Arch Linux, it is available in the AUR.
You can also install it from crates.io with cargo install buddhasay
.
If none of this works for you, then just checkout the source or one of the tags and build it with
cargo build --release
. The binary will be under ./target/release/buddhasay
.
Why are you doing this?
- To have some fun while learning Rust;
- To have more inspiring messages whenever I open terminals;
Hey, I have some Buddhism related sentences as well, can I get buddhasay
to also say my sentences?
Probably, open a PR with your sentences and their sources and let's take it from there.
What about other Linux distributions and other OSs?
Even though Arch is the best, I do plan to make buddhasay
available in other distros and OSs.
So what things are you planning next?
Mostly exercises for me to continue learning Rust and systems; in no particular order:
fortune
andcowsay
compatibility mode. Right nowbuddhasay
does the equivalent tofortune | cowsay
. It should be possible to runbuddhasay | cowsay
,fortune | buddhasay
orbuddhasay
.- Packages for other Linux distros;
- Package for homebrew;
Split sentences out of the code;- Add tags to the sentences (zen, theravada, book, etc), authors and source;
- One release script to rule them all;
- Align naming conventions and naming style;
- Tests and separate modules;
Dependencies
~1.1–2MB
~37K SLoC