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

sonarr-monitor-specials

v1.2.0

Published

A CLI tool for [Sonarr](https://github.com/Sonarr/Sonarr) that periodically scans your library and **monitors "interesting" specials** so they show up as _missing_. By default, Sonarr's all-or-nothing approach means either monitoring every special and get

Readme

sonarr-monitor-specials

A CLI tool for Sonarr that periodically scans your library and monitors "interesting" specials so they show up as missing. By default, Sonarr's all-or-nothing approach means either monitoring every special and getting buried in fluff, or monitoring none and missing OVAs, movies, and other story-relevant extras. This tool takes the middle ground by monitoring specials that run at least half the length of a normal episode. Sure, it's not perfect and might still monitor a few you don't care about, but it's a far better trade-off than Sonarr's defaults.

Quick Start

Run with docker:

docker run -e API_KEY=your-api-key -e BASE_URL=http://sonarr:8989/ deathspike/sonarr-monitor-specials

Or run with npm (using npx):

npx sonarr-monitor-specials --api-key=your-api-key --base-url=http://localhost:8989/

Installation

The Quick Start commands are for one-off runs to quickly try the tool, while the options below are intended for regular use. You can set up a persistent environment with Docker Compose, install the CLI globally with npm, or clone from source if you want full control or plan to contribute.

Docker Compose

services:
  sonarr.monitor.specials:
    image: deathspike/sonarr-monitor-specials
    container_name: sonarr.monitor.specials
    restart: always
    depends_on:
      - sonarr
    environment:
      - API_KEY=your-api-key
      - BASE_URL=http://sonarr:8989/
    volumes:
      - sonarr.monitor.specials.data:/app/data
volumes:
  sonarr.monitor.specials.data:
    name: sonarr.monitor.specials.data

npm

Install globally with npm:

npm install -g sonarr-monitor-specials

Then run:

sonarr-monitor-specials --api-key=your-api-key --base-url=http://localhost:8989/

From Source

Install from source with git and npm:

git clone https://github.com/Deathspike/sonarr-monitor-specials
cd sonarr-monitor-specials
npm install

Then run with node:

node bin/cli.js --api-key=your-api-key --base-url=http://localhost:8989/

Configuration

You can configure this tool either with CLI options or with environment variables. CLI options are typically used when running from the command line, while environment variables are more convenient in Docker. If you provide both, CLI options take precedence. If neither is set, the tool falls back to the default values shown in the table below.

| CLI | ENV | Default | Description | | ----------------- | --------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --api-key | API_KEY | (empty) | Required. Your Sonarr API key, found under Sonarr → Settings → General → Security. Without it, this tool cannot access your library. | | --base-url | BASE_URL | http://localhost:8989/ | The base URL of your Sonarr instance, including protocol and port. For Docker setups, this may be something like http://sonarr:8989/. | | --file-path | FILE_PATH | data/episodes.jsonl | Path to the file where this tool stores specials it has flagged. This prevents re-flagging the same special again. Important: If you remove or reset this file, specials may be flagged again. | | --interval | INTERVAL | 0 or 86400000 | Interval between runs, in milliseconds. A value of 0 runs once and exits (default for CLI). Any positive value repeats after that many milliseconds, with Docker defaulting to 86400000 (once per day). |

Contributions

Pull requests are welcome! Please open an issue first to discuss major changes.