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 🙏

© 2026 – Pkg Stats / Ryan Hefner

joplin-plugin-mccormick-runshellcmd

v0.1.2

Published

Runs shell commands on notes starting with ❕cmd: and caches output

Downloads

249

Readme

Run Shell Command Note for Joplin

Turn a Joplin note into a self-updating status dashboard by running a shell command and capturing the output as the note body (cache for one hour).

Whenever you select a note whose first line contains a command definition (❕cmd: <command> - note the exclamation is an emoji), the command executes automatically and the output appears below the header. The output is cached for one hour so you can view updated status information without redundant command runs or lag when switching notes.

Features

  • Execute shell commands defined in notes starting with ❕cmd: <command>.
  • Automatic output caching for one hour to avoid unnecessary execution.
  • Status indicator prefixes:
    • ❕cmd: Command configured and idle (or showing cached output).
    • ⏳cmd: Command execution currently in progress.
    • ❌cmd: Command execution failed (shows error toast and logs details).
  • Context menu action: Right-click inside the note editor to select Re-run command now to bypass the cache.
  • Runs automatically when selecting a command note.

Usage

Set the first line of any note to ❕cmd: <command>. When you open the note, the command runs and its output appears below. The output remains cached for one hour before running again on your next visit.

To manually refresh the output before the one-hour cache expires, right-click inside the note editor and choose Re-run command now.

Examples

1. Live Weather Forecast Note

Set the first line to fetch a lightweight text forecast from wttr.in:

❕cmd: curl -s "wttr.in/?0qnT"

Sets the body of the note to:

❕cmd: curl -s "wttr.in/?0qnT"

City, Country

      \   /     Sunny
       .-.      +21(18) °C
    ― (   ) ―   ↗ 15 km/h
       `-’      10 km
      /   \     0.0 mm

2. System Vitals & Disk Space Monitor

Set the first line to inspect server load and mounted filesystem capacity:

❕cmd: uptime && echo "" && df -h / /home

Sets the body of the note to:

❕cmd: uptime && echo "" && df -h / /home

 14:20:12 up 14 days,  3:25,  1 user,  load average: 0.35, 0.42, 0.38

Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p2  500G  120G  380G  24% /
/dev/nvme0n1p2  500G  120G  380G  24% /home