@mudassirabrar/keepnotes
v1.0.1
Published
A simple terminal-based todo & note-keeping CLI app
Readme
keepnotes 📋
A fast, simple terminal-based todo & note-keeping CLI app. Runs directly from your terminal — no browser, no GUI.
Installation
From npm (once published)
npm install -g @mudassirabrar/keepnotesFrom GitHub (for development)
git clone https://github.com/YOUR_USERNAME/keepnotes.git
cd keepnotes
npm install
npm link # makes "keepnotes" available as a global commandCommands
Add a task
keepnotes add "Buy milk"
keepnotes add "Fix the login bug" --priority high
keepnotes add "Read that article" -p lowPriority levels: high | normal (default) | low
List tasks
keepnotes list # or: keepnotes ls
keepnotes list --pending # show only incomplete tasks
keepnotes list --done # show only completed tasksMark as done
keepnotes done 2 # mark task #2 (by list position)
keepnotes d 2 # shorthand aliasMark as pending again
keepnotes undone 1
keepnotes u 1 # shorthand aliasDelete a task
keepnotes delete 3
keepnotes del 3 # shorthand aliasClear completed tasks
keepnotes clear # removes all completed tasks
keepnotes clear --all # removes EVERY task (use carefully!)Quick demo
$ keepnotes add "Write the README" -p high
✔ Task added: Write the README [HIGH]
$ keepnotes add "Push to GitHub"
✔ Task added: Push to GitHub
$ keepnotes list
██╗ ██╗███████╗███████╗██████╗ ███╗ ██╗ ██████╗ ████████╗███████╗███████╗
██║ ██╔╝██╔════╝██╔════╝██╔══██╗████╗ ██║██╔═══██╗╚══██╔══╝██╔════╝██╔════╝
█████╔╝ █████╗ █████╗ ██████╔╝██╔██╗ ██║██║ ██║ ██║ █████╗ ███████╗
██╔═██╗ ██╔══╝ ██╔══╝ ██╔═══╝ ██║╚██╗██║██║ ██║ ██║ ██╔══╝ ╚════██║
██║ ██╗███████╗███████╗██║ ██║ ╚████║╚██████╔╝ ██║ ███████╗███████║
╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚══════╝╚══════╝
📋 keepnotes — your tasks (0/2 completed)
╭───┬─────────┬──────────┬──────────────────┬───────────────╮
│ # │ Status │ Priority │ Task │ ID │
├───┼─────────┼──────────┼──────────────────┼───────────────┤
│ 1 │ Pending │ HIGH │ Write the README │ 1729381203492 │
│ 2 │ Pending │ NORMAL │ Push to GitHub │ 1729381203493 │
╰───┴─────────┴──────────┴──────────────────┴───────────────╯
$ keepnotes done 1
✔ Marked done: Write the README
$ keepnotes listData storage
All tasks are saved locally in ~/.keepnotes.json on your machine. Nothing is sent anywhere.
Publishing to npm
- Create an account at npmjs.com
- In the project folder:
npm login
npm publish --access=public- Anyone can now install it with
npm install -g @mudassirabrar/keepnotes
Project structure
keepnotes/
├── cli.js ← entry point, defines all commands
├── src/
│ ├── add.js ← add command logic
│ ├── list.js ← list command logic
│ ├── actions.js ← done, undone, delete, clear
│ └── storage.js ← reads/writes ~/.keepnotes.json
└── package.json