notes-of-encouragement
v2.1.1
Published
This is a command-line interface (CLI) application written in Node.js that displays one random note of encouragement each time it is run.
Readme
Notes of Encouragement
This is a command-line interface (CLI) application written in Node.js that displays one random note of encouragement each time it is run.
I wrote this application for my son, so he can always get a note of encouragement from me whenever he needs one. You don't even need to be connected to the Internet!

Try It
If you already have Node.js installed, you can run it instantly without installing anything:
npx notes-of-encouragementTo install it so you can run it any time by typing heybuddy:
npm install -g notes-of-encouragement
heybuddyIt won't show you the same note twice in a row. 😊
Modifying For Someone Special in Your Life
The published notes are for my son, but you can personalize your own copy for someone you love. Using a good editor like Visual Studio Code, update:
bin/notes.json: this contains a JavaScript object with an array of introductions (intros) and an array of notes (notes). Make them your own!package.json: change thebincommand to whatever you want. Right now it's set toheybuddy. Change yours toheygirl,heyprincess,hi-beautiful, or whatever you wish!
"bin": {
"heygirl": "./bin/index.js"
}Installing Your Personalized Copy on Someone's Computer
- Download and install Node.js.
- Download, extract, and modify this source code, or copy all the modified source code from your computer to a folder on their computer.
- Open up a terminal/command window.
- Change to the directory where the source code files are located.
- Run the following command to install it as a CLI app.
npm install -g .Last, add instructions to your loved one's computer to open up a terminal/command prompt window and type heybuddy (or whatever you defined as your command in package.json).
Hope this helps you touch someone's heart and let them know you love them! ❤
Updating
- Modify the source code to add/remove notes.
- Reinstall the CLI app same as installing it before.
npm install -g .Uninstalling
npm uninstall -g notes-of-encouragementDevelopment
Run the test suite with:
npm test