moodlet
v0.1.1
Published
A CLI that prints ASCII moods
Maintainers
Readme
moodlet
Moodlet mood (mm) is a tiny, dependency-free CLI that prints ASCII moods in your terminal.
No dependencies.
No configuration.
Just moods.
Install
Run instantly (no install)
npx moodlet happyInstall globally
npm install -g moodlet
mm happyUsage
mm <mood>
mm --list | -l
mm --random | -r
mm --help | -hExamples
mm happy
mm sad
mm tired
mm sleepy # alias -> tired
mm ok # alias -> chill
mm --list
mm --randomOutput
mm happy
╔════════════════╗
║ ◕ ◕ ║
║ ▿ ║
║ \______/ ║
╚════════════════╝mm sad
╔════════════════╗
║ ╥ ╥ ║
║ ▄▄▄ ║
║ ▄████▄ ║
╚════════════════╝mm love
╔════════════════╗
║ ♥ ♥ ║
║ ▿ ║
║ \\______/ ║
╚════════════════╝Available moods
Run:
mm --listExample moods:
- happy
- sad
- tired
- angry
- love
- confused
- excited
- chill
- stressed
Aliases
Some inputs are mapped automatically to a mood:
| Input | Mapped to | | ------ | --------- | | ok | chill | | cool | chill | | relax | chill | | sleepy | tired | | mad | angry | | rage | angry | | yay | excited | | wtf | confused | | hmm | confused | | panic | stressed |
Why moodlet?
- Big multiline ASCII (easy to read)
- Terminal-native
- Zero dependencies
- Fast and fun
Development
Requirements
- Node.js 18+
Setup
git clone https://github.com/<your-username>/moodlet.git
cd moodlet
npm installThis project has no runtime dependencies.
npm installis only for local workflows.
Run locally
node bin/moodlet.js happyOr link it globally while developing:
npm link
mm happyUnlink when done:
npm unlink -g moodletTests
Uses Node’s built-in test runner:
node --testProject structure
moodlet/
bin/
mm.js
src/
cli.js
engine.js
moods.js
test/
engine.test.js
package.json
README.md
LICENSELicense
MIT
