Crates.io | quoted |
lib.rs | quoted |
version | 0.1.2 |
source | src |
created_at | 2024-02-10 18:31:29.993678 |
updated_at | 2024-02-21 17:43:26.57492 |
description | A simple CLI program to print a random quote from a JSON list. |
homepage | |
repository | |
max_upload_size | |
id | 1135112 |
size | 20,816 |
Quoted is a simple program that displays a random quote from a JSON list in your .config.
Place a file called config.json
in the configuration directory. Here is the configuration
directory location on several common operating systems:
C:\Users\user\AppData\Roaming\quoted
/Users/user/Library/Application Support/quoted
/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"]
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.