# foreversd/forever-monitor

The core monitoring functionality of forever without the CLI

Repository: https://github.com/foreversd/forever-monitor
Canonical: https://ross.abutalabs.com/products/forever-monitor
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-07-11T12:17:16+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5174, "days_push": 783, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1156, forks 174 (observed 2026-08-28T04:03:48.104704+00:00)

## What it is
forever-monitor is a Node.js library providing the core process monitoring functionality of the forever tool without its CLI. It lets you spawn and supervise child processes from your own code, automatically restarting them on failure with configurable uptime and restart limits.

## Use cases
- keep a node script running and restart it if it crashes
- supervise a non-node process like a perl script from node code
- limit how many times a failing process restarts
- restart a process when watched source files change
- manage child process pid files and stdout/stderr output programmatically

## When to choose
- you need forever's process supervision embedded in a Node.js application rather than as a CLI
- you want programmatic control over restart policies, spin detection, and file watching for child processes

## When to avoid
- you need full process management from the command line (use the forever CLI instead)
- you need modern container or systemd-based process supervision in production
- you need a maintained, actively developed supervisor for new projects

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, developer-tools
- domain: developer-tools
- platform: cross-platform
- tags: process-management, process-monitor, restart, fault-tolerance, nodejs, devops, automation

## Member repositories
- foreversd/forever-monitor (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.104704+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:32:07.665467+00:00, confidence not recorded.
  - readme: https://github.com/foreversd/forever-monitor (fetched 2026-08-28T04:03:48.104704+00:00, sha 6b7ab3e62e33)
  - registry_npm: https://registry.npmjs.org/forever-monitor (fetched 2026-08-29T12:37:30.485352+00:00, sha 6ee92d4a0e27)
- Data as of 2026-08-30T08:39:29.467469+00:00.
