SaaSHub helps you find the best software and product alternatives Learn more →
Top 21 Go Diff Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
With Nix: nix run github:dimanovikov/datadiff -- --help. If you already use dyff, it documents the same KUBECTL_EXTERNAL_DIFF setup, and the argument filter applies to it just the same.
-
Project mention: ContractBridge: Let Local Gemma Repair API Drift Without Trusting It Blindly | dev.to | 2026-10-25
ContractBridge uses oasdiff to find structural breaking changes, then applies its own limited schema analysis. A diff can show that state became status, but it cannot decide whether PLACED and CONFIRMED mean the same thing to the business.
-
ttt
TTT Editor (Terminal Text Tool): A real alternative to VS Code, Zed, and Sublime that runs in your terminal. A TUI that feels like GUI. Single binary, zero config.
Project mention: The Optimistic Maintainer: Why Fast Merges Beat Endless Review Cycles | dev.to | 2026-11-01I've been on that side of the fence. Now, as the maintainer of TTT—a terminal text editor and IDE written in Go—I'm on the other side.
-
libopenapi
libopenapi is a fully featured, high performance OpenAPI 3.2, 3.1, 3.0, Overlays and Arazzo parser, library, validator and toolkit for go applications.
Project mention: Your MCP Server Is Eating Your Context Window. There's a Simpler Way | dev.to | 2026-03-16OpenAPI-native, no code generation. The binary embeds the latest Apideck Unified API spec. On startup, it parses the spec with libopenapi and builds commands for every API group, resource, and operation. When the API adds new endpoints, apideck sync pulls the latest spec. No SDK regeneration, no version bumps.
-
-
pgdiff
Compares the PostgreSQL schema between two databases and generates SQL statements that can be run manually against the second database to make their schemas match.
-
Project mention: Our decision on Cursor following its acquisition by SpaceX | news.ycombinator.com | 2026-08-28
I was looking at CLI-only solutions a while ago and the best thing I found was to use something like revdiff: https://github.com/umputun/revdiff
For instance, in Claude Code you can have it bring up this TUI overlay after every edit it makes (it literally is an overlay, rather than a separate tab in your terminal) and you can annotate line-by-line anything you want changed or rejected. Then once you exit the overlay those suggestions are automatically piped back into the agent.
I tried a few of these TUI-based code annotators, and this one is by far the best. It also works for files not under version control.
I'm currently not using it as I also prefer something more akin to "text editor with agent built in", but I wanted to mention here in case you were curious.
-
-
-
-
xferspdy
Xferspdy provides binary diff and patch library in golang. [Mentioned in Awesome Go, https://github.com/avelino/awesome-go]
-
-
srctx
A library for extracting and analyzing definition/reference graphs from your codebase. Powered by tree-sitter and LSIF/SCIP.
-
sbomlyze
Git diff for SBOMs—compare CycloneDX, SPDX, and Syft documents, detect tampering, and gate CI.
-
-
-
-
Go Diff discussion
Go Diff related posts
-
Making kubectl diff show what actually changed
-
An OpenAPI diff is a judgement call, not a line diff
-
Why API Breaking Changes Still Reach Production Even With CI/CD
-
OpenAPI仕様の差分を比較し、CIで破壊的変更をブロックする方法
-
Cómo Comparar Especificaciones OpenAPI y Bloquear Cambios Disruptivos en Integración Continua
-
Show HN: Codiff, a local diff review tool
-
API Versioning Without the Mess
-
A note from our sponsor - SaaSHub
www.saashub.com | 11 Nov 2026
Index
What are some of the best open-source Diff projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | jd | 2,306 |
| 2 | terraboard | 2,011 |
| 3 | dyff | 1,905 |
| 4 | diffnav | 1,626 |
| 5 | oasdiff | 1,456 |
| 6 | ttt | 1,082 |
| 7 | libopenapi | 884 |
| 8 | deck | 506 |
| 9 | pgdiff | 504 |
| 10 | revdiff | 447 |
| 11 | got | 265 |
| 12 | go-udiff | 235 |
| 13 | JayDiff | 111 |
| 14 | xferspdy | 99 |
| 15 | cuetils | 78 |
| 16 | srctx | 61 |
| 17 | sbomlyze | 26 |
| 18 | infro-core | 25 |
| 19 | tfscan | 8 |
| 20 | git-file-history | 6 |
| 21 | godiffyaml | 5 |