quoted

Crates.ioquoted
lib.rsquoted
version0.1.2
sourcesrc
created_at2024-02-10 18:31:29.993678
updated_at2024-02-21 17:43:26.57492
descriptionA simple CLI program to print a random quote from a JSON list.
homepage
repository
max_upload_size
id1135112
size20,816
Colin Heffernan (colin-heffernan)

documentation

README

Quoted

Quoted is a simple program that displays a random quote from a JSON list in your .config.

Usage

Place a file called config.json in the configuration directory. Here is the configuration directory location on several common operating systems:

  • Windows: C:\Users\user\AppData\Roaming\quoted
  • MacOS: /Users/user/Library/Application Support/quoted
  • Linux: /home/user/.config/quoted

A sample config.json may look like this:

[
  ["Those that can, do. Those that can't, complain.", "Linus Torvalds"]
]

To add more quotes, simply add more entries to the top-level array in the form: ["quote", "author"]

License

Quoted is licensed under the MIT License. Quoted uses the Dirs library under the terms of the MIT License. Quoted uses the Rand library under the terms of the MIT License. Quoted uses the Serde library under the terms of the MIT License.

Commit count: 0

cargo fmt