Crates.io | gensoquote |
lib.rs | gensoquote |
version | 0.4.1 |
source | src |
created_at | 2024-03-31 07:13:18.745652 |
updated_at | 2024-03-31 07:13:18.745652 |
description | Like fortune, but in Gensokyo and memory safe. |
homepage | https://github.com/dmyTRUEk/gensoquote |
repository | https://github.com/dmyTRUEk/gensoquote |
max_upload_size | |
id | 1191490 |
size | 179,836 |
Like fortune, but in Gensokyo and memory safe™.
"I'm the strongest!"
-- Cirno, "Phantasmagoria of Flower View"
"... She was supposed to be strong? Wait, she's your shikigami? Aren't you a shikigami yourself?"
-- Reimu Hakurei, "Perfect Cherry Blossom, Extra Stage"
"It ain't magic if it ain't flashy. Danmaku's all about firepower."
-- Marisa Kirisame, "Perfect Memento in Strict Sense"
"Read your mind? I've already closed my satori eye. Reading people's minds only makes you depressed, there's nothing good about it."
-- Koishi Komeiji to Reimu Hakurei, "Subterranean Animism, Extra Stage"
-c
or --character
option)-f
or --format
option)Available as AUR package 🎉
Install rustup
using your preferred package manager
or follow the official installation tutorial.
git clone https://github.com/dmyTRUEk/gensoquote
cd
in it:cd gensoquote
cargo build --release
./target/release/gensoquote
.
You can copy it to ~/.local/bin/
for convenient use.Simply run gensoquote
to get random quote.
Run gensoquote -h
or gensoquote --help
to get help.
Select character who's random quote you want to get by running
gensoquote -c koishi
or gensoquote --character 'Koishi Komeiji'
.
Or pipe it to fumosay for even more funkyness:
gensoquote | fumosay
.
Rumors say that piping it to lolcat generates unforgettable experience:
gensoquote | fumosay | lolcat
.
All the rights for quotes and characters belongs to corresponding author (mostly Zun), while the code and related things are distributed under MIT* license.
Contributions are welcome!
Plz use tabs for indenting (they have a lot of benefits compared to spaces, think about it).
Thanks to @randomtwdude and their fumosay for massive inspiration.
Thanks to @kojq for AUR packaging.