A simple and fun command-line tool that shows you random inspirational quotes whenever you open a new terminal session or run the command.
- Get a random quote instantly in your terminal
- Lightweight and fast (built in Rust ⚡)
- Can be added to your shell startup for daily inspiration
- Works cross-platform (Linux, macOS, Windows with WSL)
Make sure you have Rust installed.
git clone https://github.com/yourusername/quotes-cli.git
cd quotes-cli
cargo install --path .
This will install the binary into ~/.cargo/bin/quotes.
Run:
quotes
Example output:
“Do not wait to strike till the iron is hot; but make it hot by striking.” – William Butler Yeats
If you want a quote to appear every time you start a new shell session:
echo 'quotes' >> ~/.bashrc
# or for zsh
echo 'quotes' >> ~/.zshrc
echo 'quotes' >> ~/.config/fish/config.fish
quotes-cli/
├── Cargo.toml
├── Cargo.lock
├── src/
│ └── main.rs
└── .gitignore
Run locally with:
cargo run
Build release binary:
cargo build --release
Pull requests are welcome! If you’d like to add more quotes, fix bugs, or improve the code, feel free to open an issue or PR.
MIT License © 2025 Tobibur