# segment-boneyard/nightmare

A high-level browser automation library.

Repository: https://github.com/segment-boneyard/nightmare
Canonical: https://ross.abutalabs.com/products/nightmare
Homepage: https://open.segment.com
Language: JavaScript
License Family: other
Topics: electron, headless-chrome, browser, phantomjs, chrome
Last push: 2024-04-20T17:54:13+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": 4533, "days_push": 865, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 19768, forks 1062 (observed 2026-08-28T04:11:29.182465+00:00)

## What it is
Nightmare is a high-level browser automation library from Segment that exposes simple methods like goto, type, and click with a synchronous-feeling API, built on top of Electron. It is designed for automating tasks on sites without APIs and is commonly used for UI testing and crawling, but is no longer maintained.

## Use cases
- automate tasks on websites that don't have APIs
- run UI tests for a web app
- crawl and scrape pages that require JavaScript rendering
- write browser automation scripts without nested callbacks
- generate scripts by recording browsing actions

## When to choose
- you need a simple, synchronous-style API for Electron-based browser automation in a legacy Node.js project
- you're maintaining an existing codebase already built on Nightmare

## When to avoid
- starting a new project - the library is explicitly unmaintained and Electron vulnerabilities may exist
- you need modern browser automation - prefer Playwright or Puppeteer
- you need an actively maintained tool with security fixes

## Facets
- artifact type: library
- maturity: abandoned
- function: web-scraping, testing, e2e-testing, http-client
- domain: web-development, testing, developer-tools
- platform: cross-platform
- tags: browser-automation, headless-browser, ui-testing, crawling, phantomjs-alternative, unmaintained, automation, nodejs, electron

## Member repositories
- segment-boneyard/nightmare (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:29.182465+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-29T16:59:51.863107+00:00, confidence not recorded.
  - readme: https://github.com/segment-boneyard/nightmare (fetched 2026-08-28T04:11:29.182465+00:00, sha 423d004e3e03)
  - homepage: https://open.segment.com (fetched 2026-08-29T07:58:44.623366+00:00, sha 2434f343d725)
  - site_page: https://www.twilio.com/docs (fetched 2026-08-29T07:58:44.630991+00:00, sha 241059188e22)
  - site_page: https://www.twilio.com/en-us/integrations (fetched 2026-08-29T07:58:44.626152+00:00, sha 521abc67b836)
  - site_page: https://www.twilio.com/en-us/company (fetched 2026-08-29T07:58:44.628837+00:00, sha 6e66f2d5fb14)
  - site_page: https://www.twilio.com/en-us/changelog (fetched 2026-08-29T07:58:44.633199+00:00, sha b2c8f12d21a6)
  - site_page: https://www.twilio.com/en-us/pricing (fetched 2026-08-29T07:58:44.635242+00:00, sha 7c664e10035a)
  - site_page: https://www.twilio.com/en-us/products/conversational-ai/pricing (fetched 2026-08-29T07:58:44.637579+00:00, sha af24ed20527f)
  - site_page: https://www.twilio.com/en-us/pricing/messaging (fetched 2026-08-29T07:58:44.639921+00:00, sha eedf72634df2)
  - site_page: https://www.twilio.com/en-us/sms/pricing/us (fetched 2026-08-29T07:58:44.641990+00:00, sha 7a68aac7ffee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
