Go Diff

Open-source Go projects categorized as Diff

Top 20 Go Diff Projects

  1. jd

    JSON diff and patch

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. terraboard

    :earth_africa: :clipboard: A web dashboard to inspect Terraform States

  4. dyff

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

    Project mention: Git, JSON and Markdown walk into bar | news.ycombinator.com | 2025-10-08

    Git is generally insufferable when it comes to these. Diffing YAMLs is even worse, and it gets downright hideous when the specific document you're working with betrays YAML's rules about orderedness (the document is order invariant, while YAML is ordered). In that case, even most semantic diffing tools become unusable.

    I've been recently using dyff [0] to diff YAMLs in an order invariant way, and it's been absolutely liberating. Couldn't help with version control, but it's still night and day.

    [0] https://github.com/homeport/dyff

  5. diffnav

    A git diff pager based on delta but with a file tree, à la GitHub.

    Project mention: Show HN: Codiff, a local diff review tool | news.ycombinator.com | 2026-05-16
  6. oasdiff

    OpenAPI Diff and Breaking Changes

  7. 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-16

    OpenAPI-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.

  8. 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.

  9. deck

    decK: Configuration management and drift detection for Kong (by Kong)

  10. revdiff

    TUI for reviewing diffs, files, and documents with inline annotations

    Project mention: Show HN: Codiff, a local diff review tool | news.ycombinator.com | 2026-05-16
  11. got

    An enjoyable golang test framework. (by ysmood)

  12. go-udiff

    µDiff - a micro Go diffing library

  13. JayDiff

    A JSON diff utility

  14. xferspdy

    Xferspdy provides binary diff and patch library in golang. [Mentioned in Awesome Go, https://github.com/avelino/awesome-go]

  15. cuetils

    CLI and library for diff, patch, and ETL operations on CUE, JSON, and Yaml

  16. srctx

    A library for extracting and analyzing definition/reference graphs from your codebase. Powered by tree-sitter and LSIF/SCIP.

  17. infro-core

    Preview infra diffs on your pull requests

  18. sbomlyze

    SBOM diff & analysis tool for software supply-chain security, integrity drift detection, and CI/CD enforcement

    Project mention: SBoM Diff and Analysis | news.ycombinator.com | 2026-02-16
  19. tfscan

    Inspect Terraform resources in a state and plan JSON files

  20. git-file-history

    Browse all changes to a file

  21. godiffyaml

    Human-readable diffs for yamls with multiple documents

    Project mention: Introducing GoDiffYAML Tool 💪 | dev.to | 2025-09-30

    That’s why I created godiffyaml, a tool designed to solve this exact issue. Whether you’re a developer, DevOps engineer, or system admin, godiffyaml makes diffing multi-document YAML files painless.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Diff discussion

Log in or Post with

Go Diff related posts

Index

What are some of the best open-source Diff projects in Go? This list will help you:

# Project Stars
1 jd 2,274
2 terraboard 2,008
3 dyff 1,845
4 diffnav 1,403
5 oasdiff 1,225
6 libopenapi 847
7 pgdiff 504
8 deck 493
9 revdiff 447
10 got 266
11 go-udiff 232
12 JayDiff 110
13 xferspdy 101
14 cuetils 78
15 srctx 59
16 infro-core 25
17 sbomlyze 22
18 tfscan 8
19 git-file-history 5
20 godiffyaml 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com