Difftastic: A diff that understands syntax

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • difftastic

    a structural diff that understands syntax 🟥🟩

  • hdiff

    Hash-based Diffing for AST's

    I really like the idea of focusing on producing patches for human consumption. I studied the problem of merging AST-level patches during my PhD (https://github.com/VictorCMiraldo/hdiff) and can confirm: not simple! :)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • wordle

    Wordle TUI in Rust (by conradludgate)

    Cargo is Rust's build tool/package manager and can be installed easily using rustup. But I would probably suggest the difftastic maintainers add some prebuilt binaries to the releases

    (I have an example workflow here if anyone from there is interested https://github.com/conradludgate/wordle/blob/main/.github/wo...)

  • helpful

    A better Emacs *help* buffer

    This is written by the same guy who wrote Helpful, an enhancement package for the Emacs Help buffer. I highly recommend checking out Helpful if you haven’t seen it. https://github.com/Wilfred/helpful

  • deadgrep

    fast, friendly searching with ripgrep and Emacs

  • tree-sitter

    An incremental parsing system for programming tools

  • json-ordered-tidy

    A fancy JSON tidier that can arbitrarily order object keys

    I wrote a tool that tidies JSON and can do things like re-orders keys in a fixed order - https://github.com/ActiveState/json-ordered-tidy

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • json-diff

    Structural diff for JSON files

    https://github.com/andreyvit/json-diff works really well for JSON diffing in my experience.

    It's more simplistic than difftastic though: it considers `1` and `[1]` to have nothing in common.

  • delta

    A syntax-highlighting pager for git, diff, and grep output

    Delta is a pager that does Syntax highliting, better diff highliting and improved outputs of existing git commands. Highly recommended.

    https://github.com/dandavison/delta

  • ydiff

    View colored, incremental diff in workspace or from stdin with side by side and auto pager support (Was "cdiff")

    I find ydiff more useful, specially for the side-by-side output: https://github.com/ymattw/ydiff

    I'm using it like "git-ydiff-s" script in my PATH to use "git ydiff-s":

        #!/bin/sh

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts