Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wesscoby/qotm
Quote of the Moment - Display a random Tech or Programming quote to the console
https://github.com/wesscoby/qotm
bash-script cowsay javascript json lolcat lolcatjs lowdb nodejs qotm quotes wsl wsl-ubuntu
Last synced: 3 months ago
JSON representation
Quote of the Moment - Display a random Tech or Programming quote to the console
- Host: GitHub
- URL: https://github.com/wesscoby/qotm
- Owner: wesscoby
- License: mit
- Created: 2019-05-16T11:51:45.000Z (over 5 years ago)
- Default Branch: qotm-cli
- Last Pushed: 2023-05-01T03:32:02.000Z (over 1 year ago)
- Last Synced: 2024-10-15T16:41:58.210Z (3 months ago)
- Topics: bash-script, cowsay, javascript, json, lolcat, lolcatjs, lowdb, nodejs, qotm, quotes, wsl, wsl-ubuntu
- Language: JavaScript
- Homepage:
- Size: 489 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.json
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Quote of the Moment
Display a random tech or programming quote to the console.## Overview
`qotm` is my version of `fortune` but outputs tech or programming quotes.
![qotm command preview](./images/preview.png)## Installation
```sh
# Installing qotm
> npm install -g qotm
```
### Usage
```sh
qotm
_________________________________
/ \
| Write shy code - modules that |
| don't reveal anything |
| unnecessary to other modules |
| and that don't rely on other |
| modules' implementations |
| |
| -- Unknown |
\ /
---------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```
You can also add the command to your shell's `*rc` file (.bashrc, .zshrc, etc. or whatever file the shell loads on startup) so it outputs a quote every time you open a new shell.### Updates
This Repo will be frequently updated with new quotes. Simply run `npm i -g qotm` to get the latest updates. Expect an update notifier to be added in future updates so as to prompt you when new updates are ready.## Contributing
There are thousands of tech and programming quotes out there. You have your favorites right? Add them to the `contributing.json` file using the specified format and submit a pull request to the `qotm-cli` branch. I'll be happy to pull them in and make them available in subsequent updates. You can also help in any other way you can, be it code refactoring, typo fixes, etc.
*NB*: I may need to verify the quote and it's author. Please do check as well before adding quotes.```sh
❯ qotm
__________________________________
/ \
| One of the best programming |
| skills you can have is knowing |
| when to walk away for a while |
| |
| -- Oscar Godson |
\ /
----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```