# foreversd/forever

A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)

Repository: https://github.com/foreversd/forever
Canonical: https://ross.abutalabs.com/products/forever
Homepage: http://github.com/foreverjs/forever
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-05-21T21:49:29+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5819, "days_push": 1200, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13830, forks 935 (observed 2026-08-28T04:11:04.907612+00:00)

## What it is
Forever is a Node.js CLI tool that keeps a given script running continuously by daemonizing it and restarting it if it exits. It supports start, stop, restart, and log-tailing commands, and can also be used programmatically via the forever-monitor package.

## Use cases
- keep a node.js server running after crashes
- run a script as a daemon from the command line
- restart a process automatically when it fails
- tail logs of long-running background scripts
- manage multiple background scripts with start/stop/restart commands

## When to choose
- you need a lightweight, simple way to keep a script alive
- you want a quick daemonizer for legacy node.js apps
- you prefer a minimal process supervisor over a full-featured one

## When to avoid
- starting a new project - the maintainers recommend pm2 or nodemon instead
- you need clustering, load balancing, or rich monitoring dashboards
- you need actively maintained tooling with regular fixes

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools, monitoring, deployment
- domain: developer-tools
- platform: cli, cross-platform
- tags: process-manager, daemon, nodejs, script-runner, keep-alive, command-line, devops, automation, linux, macos

## Member repositories
- foreversd/forever (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.907612+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-29T17:13:00.928392+00:00, confidence not recorded.
  - readme: https://github.com/foreversd/forever (fetched 2026-08-28T04:11:04.907612+00:00, sha 942cc96af329)
  - homepage: http://github.com/foreverjs/forever (fetched 2026-08-29T08:07:29.426742+00:00, sha 60b6392ae6b0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
