# homeport/dyff

/ˈdʏf/ - diff tool for YAML files, and sometimes JSON

Repository: https://github.com/homeport/dyff
Canonical: https://ross.abutalabs.com/products/dyff
Language: Go
License: MIT
License Family: permissive
Topics: yaml, diff, json, yaml-files, yaml2json, json2yaml, go-patch, spruce, bosh, dyff, golang, tool
Last push: 2026-08-17T19:46:45+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 81, longevity 100
- inputs: {"age_days": 3099, "days_push": 16, "days_rel": 129, "gap_med": 15, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1876, forks 100 (observed 2026-08-28T04:05:47.714848+00:00)

## What it is
dyff is a command-line diff tool for YAML files (and sometimes JSON) that reports only the parts of a file that changed, referencing each difference by its path in the document. It also provides sub-commands to convert between YAML and JSON while preserving key order.

## Use cases
- diff two yaml files
- show what changed between kubernetes manifests with kubectl diff
- convert yaml to json
- convert json to yaml
- compare configuration files from files, urls, or stdin
- compact diff output for yaml config changes

## When to choose
- you need human-readable, compact diffs of YAML or JSON config files
- you want a better diff backend for kubectl diff
- you need order-preserving YAML/JSON conversion
- you work with BOSH, Spruce, or go-patch style path syntaxes

## When to avoid
- you need line-based diffs of arbitrary text files (use standard diff)
- you need semantic diffs of source code
- you need a GUI diff tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli, yaml, json, file-system
- domain: developer-tools, files
- platform: cli, cross-platform, go
- tags: yaml-diff, json-diff, kubectl-diff, yaml-to-json, json-to-yaml, bosh, configuration-diff, command-line, devops

## Member repositories
- homeport/dyff (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.714848+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-30T03:14:44.411634+00:00, confidence not recorded.
  - readme: https://github.com/homeport/dyff (fetched 2026-08-28T04:05:47.714848+00:00, sha 4cc8b87019ee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
