⚡ nudge-cli is a simple cross-platform reminder and notification CLI tool built with Node.js.
It lets you:
- Set reminders that trigger notifications later.
- List and manage pending reminders.
- Run a persistent background scheduler.
npm install -g nudge-cli
git clone https://github.com/mrxgupta/nudge-cli.git
cd nudge-clinpm install
npm link
nudge <command>
nudge add "Take a break in 10 minutes"
-
seconds / s
-
minutes / min / m
-
hours / h
-
days / d
nudge add "Drink water in 20 minutes"
nudge add "Meeting in 2 hours"
nudge add "Call mom in 1 day"
nudge list
nudge start
- You can also run this with PM2 or any process manager to keep it alive.
nudge fire <reminderId>
-
Reminders are saved in a local JSON database.
-
When you add a reminder, it schedules a detached process to fire the notification.
-
You can also run nudge start to keep a persistent scheduler running.
-
Notifications are shown via the Node node-notifier library.
- If you are running on Windows, you must have Node.js installed and in your PATH.
- Notifications rely on node-notifier and may require enabling system notifications.
If you want to modify the code:
-
Clone the repo
-
Install dependencies
-
Edit the commands or lib files
Run commands using:
node bin/nudge.js <command>
MIT License
Feel free to open issues or pull requests!