diffyml: a faster, leaner YAML diff tool
I love "dyff". I really do. For a long time, it was the best CLI tool for comparing YAML files for me. But I was tired of typing "dyff between " every time. Every time thinking: why "between"? A diff tool should just... diff. That small friction was the start. Then I submitted a PR and waited five months with no response. The project seemed to have stalled. dyff is a well-built tool that popularised structural YAML diffing, and I have a lot of respect for it. Maintaining open source is hard, and I don't blame anyone for stepping back. But I needed a tool I could rely on and evolve — so I built one. Meet diffyml. → "diffyml file1.yaml file2.yaml". No subcommands, no ceremony. → Faster than dyff at every file size tested. → 1 runtime dependency vs dyff's 14 — just yaml.v3 and the Go stdlib. Fewer deps = smaller attack surface. → Lowest memory footprint at every file size tested (18.4 MB at 5K lines vs 21–326 MB for alternatives). → Kubernetes-aware — auto-detects resources by apiVersion/
Continue reading on Dev.to DevOps
Opens in a new tab




