# mmanela/diffplex

DiffPlex is Netstandard 2.0+ C# library to generate textual diffs.

Repository: https://github.com/mmanela/diffplex
Canonical: https://ross.abutalabs.com/products/diffplex
Language: C#
License: Apache-2.0
License Family: permissive
Last push: 2026-01-17T04:01:58+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 62, release rhythm 8, longevity 100
- inputs: {"age_days": 4371, "days_push": 228, "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 1278, forks 202 (observed 2026-08-28T04:04:13.386981+00:00)

## What it is
DiffPlex is a C# library targeting .NET Standard 1.0+ that generates textual diffs between pieces of text. It provides low-level diffing, side-by-side diff models, three-way diff and merge, and unified diff (unidiff) rendering compatible with Git and patch tools.

## Use cases
- compare two text files and show line-by-line differences in C#
- generate unified diff output compatible with git and patch
- build a side-by-side diff view in a web or desktop app
- perform three-way merge and detect conflicts between text versions
- highlight inserted and deleted lines in a console application
- add diffing capabilities to a .NET test or code review tool

## When to choose
- you need textual diffing in a .NET or .NET Standard application
- you want side-by-side, inline, or unified diff rendering out of the box
- you need three-way diff and merge functionality in C#

## When to avoid
- you need binary or image diffing rather than text
- you are not working in a .NET environment
- you need a full version-control system rather than a diffing library

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, text-editors, version-control
- platform: cross-platform, dotnet
- tags: diff, text-diff, csharp, netstandard, unidiff, three-way-merge, side-by-side

## Member repositories
- mmanela/diffplex (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.386981+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-30T05:02:46.447679+00:00, confidence not recorded.
  - readme: https://github.com/mmanela/diffplex (fetched 2026-08-28T04:04:13.386981+00:00, sha 8dc05da2a441)
- Data as of 2026-08-30T08:39:29.467469+00:00.
