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:
quotesExample output:
βDo not wait to strike till the iron is hot; but make it hot by striking.β β William Butler YeatsIf you want a quote to appear every time you start a new shell session:
echo 'quotes' >> ~/.bashrc
# or for zsh
echo 'quotes' >> ~/.zshrcecho 'quotes' >> ~/.config/fish/config.fishquotes-cli/
βββ Cargo.toml
βββ Cargo.lock
βββ src/
β βββ main.rs
βββ .gitignoreRun locally with:
cargo runBuild release binary:
cargo build --releasePull 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