npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rmdr

v0.2.0

Published

Quickly make reminders in the terminal

Downloads

12

Readme

rmdr

npm version

Quickly make reminders in the terminal. Reminders are displayed in all open terminals. For Linux and OSX.

Installation

npm install -g rmdr 

Basic usage

rmdr [me|clear|list|remove|help] [messsage] [options]

rmdr me get coffee -in 10min
rmdr me project is due -date jan 30 # same time on january 30th
rmdr me get lunch -time 12:30
rmdr me work out -every 7am
rmdr me do something -every friday -time 3pm
rmdr me do something -date tomorrow

How it works

Reminders are created using crontab, and the message is saved as a text file in ~/.rmdr. The crontab job displays the contents of the file, and, if it is not a repeating reminder (such as -every friday) the job and the file are deleted.

Custom messages and commands

Edit ~/.rmdr/config.json

{
  template: "rmdr: {message}\n", //the output reminder message
  cmd: ""                      	 //command run after the reminder is displayed
}

The following are valid placeholders: {message} {randomid} {minute} {hour} {dom} {month} {dow}. An example could be replacing template with rmdr: {message} at time {hour}:{minute}.

Interval

rmdr me [messsage] -in [interval]
rmdr me [messsage] -i [interval]

Types of intervals:

  • minute|min|minutes|mins
  • hour|hr|hrs|hours
  • day|d|days|dy
  • month
  • week|weeks|wk|wks

Examples:

-i 10 min
-i 5min

Date

rmdr me [message] -date [date]
rmdr me [message] -d [date]
rmdr me [message] -every [date]
rmdr me [messsage] -e [date]

Date formats:

  • day of week: sun, mon, tues, wed, thurs, fri, sat
  • day of month: 1-31
  • month/day of month: 1-12/1-31' or jan-dec/1-31`

Examples:

-d 12 #12th day of month
-d jan 12
-d 1/12

Time

rmdr me [messsage] -time [time]
rmdr me [messsage] -t [time]
rmdr me [messsage] -every [time]
rmdr me [message] -e [time]

Time formats:

  • hour: 1-12 automatically decides on am or pm
  • hour minute: 1-12:0-59
  • hour am/pm: 1-12am or 1-12pm
  • hour minute am/pm: 1-12:0-59am or 1-12:0-59pm

Examples:

-t 7
-t 7pm
-t 12:30
-t 12:30pm

Date and time

rmdr me [message] -date [date] -time [time]
rmdr me [message] -d [date] -t [time]

Examples:

-d jan 12 -t 7pm
-d 01/12 -t 12:30

Managing reminders

rmdr clear 	# deletes all created reminders

rmdr list #everything scheduled
┌────┬─────────────────────┬─────┬────┬─────┬───┬─────┐
│ id │ message             │ min │ h  │ dom │ m │ dow │
├────┼─────────────────────┼─────┼────┼─────┼───┼─────┤
│ 0  │ something           │ 12  │ 17 │ 18  │ 1 │ *   │
├────┼─────────────────────┼─────┼────┼─────┼───┼─────┤
│ 1  │ pick up the laundry │ 0   │ 12 │ 20  │ 1 │ *   │
└────┴─────────────────────┴─────┴────┴─────┴───┴─────┘

rmdr remove 0 # by id