Skip to main content

Social Diffing

Alt text

If GitHub can provide “social coding”, ghidriff can provide “social diffing”. Since the diff output is in markdown, you can publish the diff wherever markdown is supported. All the sections within the markdown are deep linked, which is great for sharing and pointing out specific areas of interest. - Ghidriff Blog Post

Sample Diffs

image image

Github

Gists

READMEs

Posting to a Github Gist

After you create you diff it will be located in ghidriffs/diff.md.

Option 1: Post using gh client

cat to stdin:

cat ghidriff.md | gh gist create -f ghidriff.gist.filename.md -

Option 2: Copy/Paste Markdown to new gist

Just copy paste to new file and make sure to set the filetype to md.

Publishing on a blog

See some of the samples posted in the diffs. If the blog enginer can render markdown, it should work.

Here is an example of social diffing with CVE-2023-38140 from a recent post on Twitter. As each function is a deep-link, you can highlight (with deep-links) to the functions of interest. - Ghidriff Blog Post