sergi/go-diff
Diff, match and patch text in Go observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 25
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5011
- days_rel: n/a
- days_push: 454
- n_releases_24m: 0
Adoption not part of the score
2087 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library port of Google's diff-match-patch library that computes text differences, performs fuzzy text matching, and applies patches to text. It provides the core algorithms needed for synchronizing plain text.
Use cases
- compare two texts and show their differences in go
- apply patches to text files programmatically
- fuzzy match a string inside a larger text
- implement text synchronization in a go application
- generate diffs for version tracking of plain text
- port diff-match-patch functionality to go
When to choose
- you need diff, match, and patch algorithms in a Go project
- you want a Go port of the well-tested google-diff-match-patch algorithms
- you need fuzzy text matching, not just exact diffs
When to avoid
- you need binary file diffs rather than plain text
- you need a CLI diff tool rather than a library
- you need word-processor-style rich text or semantic diffs out of the box
Facets
library · maturity stable
parser developer-tools developer-tools text-editors go cross-platform diff patch fuzzy-matching text-comparison diff-match-patch algorithms
1 source
- readme: https://github.com/sergi/go-diff · fetched 2026-08-28 · 8f8e9b26aa19
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sergi/go-diff | main | 44 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem