# sindresorhus/electron-context-menu

Context menu for your Electron app

Repository: https://github.com/sindresorhus/electron-context-menu
Canonical: https://ross.abutalabs.com/products/electron-context-menu
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-03-19T07:43:38+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 51, longevity 100
- inputs: {"age_days": 3742, "days_push": 167, "days_rel": 167, "gap_med": 103, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1472, forks 167 (observed 2026-08-28T04:04:49.407860+00:00)

## What it is
An npm library that adds a ready-made, extensible context menu to Electron apps, which lack a built-in one. It provides default actions like Cut/Copy/Paste, Save Image, Copy Link, spellchecking, and an Inspect Element item in development, with options to prepend or append custom menu items.

## Use cases
- add a right-click context menu to my electron app
- enable copy paste menu on right click in electron
- save images from right-click menu in electron
- add spellcheck corrections to context menu
- add custom items to electron context menu
- show inspect element on right click during development

## When to choose
- you're building an Electron app and want a polished context menu without implementing it yourself
- you need default text/image/link actions plus spellchecking out of the box
- you want an easy API to add custom menu items conditionally

## When to avoid
- your app is not built with Electron
- you need full control over menu behavior beyond prepend/append customization
- you use an Electron version older than 30

## Facets
- artifact type: library
- maturity: active
- function: ui-components, gui
- domain: desktop-applications, cross-platform, developer-tools
- platform: cross-platform
- tags: context-menu, right-click, spellcheck, electron-main-process, electron, nodejs

## Member repositories
- sindresorhus/electron-context-menu (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.407860+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-30T04:34:43.985181+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/electron-context-menu (fetched 2026-08-28T04:04:49.407860+00:00, sha eff0f733ca96)
  - registry_npm: https://registry.npmjs.org/electron-context-menu (fetched 2026-08-29T11:42:48.027690+00:00, sha 9f702a673a6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
