Skip to content

jollySleeper/Quoterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

70 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—¨οΈ Quoterm

A CLI tool for greeting you and your terminal with beautiful quotes around the day.

Quoterm

πŸ“– Table of Contents

✨ Features

  • Quotes: Greets you with random quotes every time you open your terminal.
  • Reactive: Formatting changes based on the width of your terminal.
  • Stay Motivated: Get motivational & thought-provoking quotes.

πŸš€ Installation

Please note that you should have Rust installed on your system.

  • Clone this repo using
git clone http://github.com/jollySleeper/quoterm.git ~/quoterm && cd ~/quoterm
  • Run these commands to install
cargo build --release
cargo install --path .

πŸ› οΈ Usage

Please add ~/.cargo/bin/ to your PATH.

  • Append the following snippet to your shell rc file:
if type "quoterm" > /dev/null; then
    quoterm 
fi

βš™οΈ Configuration

Quoterm can be customized through a configuration file. The file is automatically created with default values when you first run the program.

Location

  • Linux/macOS: ~/.config/quoterm/config.json
  • Windows: %APPDATA%\quoterm\config.json

Example Configuration

{
  "colors": {
    "divider": "yellow",
    "quote": "blue",
    "author": "red"
  }
}

Available Colors

Basic Colors:

  • "black"
  • "red"
  • "green"
  • "yellow"
  • "blue"
  • "magenta"
  • "cyan"
  • "white"

RGB Colors: You can also specify custom RGB colors using an array of three numbers (red, green, blue) between 0 and 255:

{
  "colors": {
    "divider": [255, 128, 0],  // Orange color
    "quote": "blue",           // Basic color
    "author": [100, 150, 200]  // Custom blue shade
  }
}

You can find an example configuration file in config.example.json in the repository.

πŸ—‘οΈ Uninstall

If you decide to uninstall, we're sorry to hear that quoterm didn't meet your expectations. We appreciate your feedback. To uninstall, run rm ~/.cargo/bin/quoterm from terminal and delete the Quoterm folder using rm -r quoterm command.

πŸ› Bugs or Requests

If you encounter any problem(s) feel free to open an issue. If you feel the project is missing a feature, please raise an issue with FeatureRequest as heading.

🀝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • This project takes inspiration from Please and many other similar projects.
  • The quotes displayed by this CLI tool is provided by the JSON File in Please.

About

πŸ—¨οΈ A CLI tool for Greeting you with beautiful quotes around the day.

Topics

Resources

License

Stars

Watchers

Forks

Languages