Settings

Theme

Cargo Install Friend

crates.io

8 points by DavidCanHelp 23 days ago · 6 comments

Reader

e12e 20 days ago

Seems overly complicated if the goal was a "simpler fortune" - a self-contained shell-script is perfectly capable of echoing random lines (I should know, I had one for generating email signatures).

On the other hand, if all one wants is a set of fortune cookies - there's no need for the new client - fortune-mod exists:

https://www.shlomifish.org/open-source/projects/fortune-mod/

  • e12e 20 days ago

    That said, I appreciate a trivial rust program that does a simple job - as someone not quite having taken the time to learn rust yet?).

    I would probably not bother with the built-in cookies - if anything - have an option to "seed" ~/.config/friend/fortunes.txt or whatever is the proper xdg path.

    https://docs.rs/crate/friend/0.1.0/source/src/main.rs

DavidCanHelpOP 23 days ago

https://github.com/DavidLiedle/Friend

sigmonsays 20 days ago

why waste the cargo namespace on stuff like this. it's not even very thoughtful.

josefritzishere 20 days ago

Why?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection