Skip to content

Tobibur/quotes-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Quotes CLI

A simple and fun command-line tool that shows you random inspirational quotes whenever you open a new terminal session or run the command.


🚀 Features

  • 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)

📦 Installation

From source

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.


🎯 Usage

Run:

quotes

Example output:

“Do not wait to strike till the iron is hot; but make it hot by striking.”William Butler Yeats

⚙️ Optional: Auto-run on new shell

If you want a quote to appear every time you start a new shell session:

For bash/zsh:

echo 'quotes' >> ~/.bashrc
# or for zsh
echo 'quotes' >> ~/.zshrc

For fish:

echo 'quotes' >> ~/.config/fish/config.fish

📂 Project Structure

quotes-cli/
├── Cargo.toml
├── Cargo.lock
├── src/
│   └── main.rs
└── .gitignore

🛠️ Development

Run locally with:

cargo run

Build release binary:

cargo build --release

🤝 Contributing

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.


📜 License

MIT License © 2025 Tobibur

About

A simple and fun command-line tool that shows you random inspirational quotes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages