# jupyter/nbdime

Tools for diffing and merging of Jupyter notebooks.

Repository: https://github.com/jupyter/nbdime
Canonical: https://ross.abutalabs.com/products/nbdime
Homepage: http://nbdime.readthedocs.io
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: jupyterlab-extension, jupyter, jupyter-notebook, diff, diffing, merge, git, hg, mercurial, mergetool, merge-driver, vcs, version-control
Last push: 2026-06-10T10:12:19+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 37, longevity 100
- inputs: {"age_days": 3943, "days_push": 84, "days_rel": 204, "gap_med": 261.0, "n_releases_24m": 3}
- 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 2840, forks 194 (observed 2026-08-28T04:07:24.733259+00:00)

## What it is
nbdime provides tools for diffing and merging Jupyter notebooks, with terminal commands (nbdiff, nbmerge, nbshow) and rich web-based diff/merge views. It integrates with version control systems like git and mercurial as a diff and merge driver.

## Use cases
- diff two jupyter notebooks
- merge conflicting notebook changes from a git branch
- set up git to diff notebooks instead of showing raw JSON
- review notebook changes in a rendered web view
- resolve merge conflicts in ipynb files
- show a notebook in a terminal-friendly format

## When to choose
- you use notebooks in version control and need meaningful diffs
- you need to merge notebooks with conflict resolution
- you want a rendered, cell-level diff rather than raw JSON comparison

## When to avoid
- you need to diff plain text or non-notebook files
- you want a general-purpose git diff tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, version-control, documentation
- domain: developer-tools, version-control, data-science
- platform: cli, cross-platform
- tags: jupyter, notebooks, diff, merge, git, mercurial, jupyterlab-extension, web-server

## Member repositories
- jupyter/nbdime (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.733259+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-30T07:37:16.462720+00:00, confidence not recorded.
  - readme: https://github.com/jupyter/nbdime (fetched 2026-08-28T04:07:24.733259+00:00, sha b475412d2b31)
  - registry_npm: https://registry.npmjs.org/nbdime (fetched 2026-08-29T09:53:36.451756+00:00, sha 3d65c125309e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
