Skip to main content

Two-column web-based git difftool

Project description

webdiff displays side-by-side two-column diffs in the web browser.

It supports syntax highlighting, eliding & expansion of common lines and multi-file diffs.

It integrates with git.

Install via:

pip install webdiff

Then run via one of these:

git webdiff

git webdiff <arguments>

webdiff <left_dir> <right_dir>

webdiff https://github.com/owner/repo/pull/123

webdiff #123

See https://github.com/danvk/webdiff/ for more information.

Release Notes
- 0.8
* New image diff modes: onion skin, swipe
* Shrink to fit for image diffs
* More aggressive syntax highlighting (makes a guess based on file contents)
* Refresh no longer kills the webdiff server (useful if file changes on disk)
* Renames/moves are displayed more compactly (ala GitHub)

- 0.7
* Support for file vs. file diffs (i.e. webdiff as a replacement for diff)
* List of files instead of dropdown for small diffs
* Display resolution and file size for images
* Conversion to ReactJS

- 0.6
* Support for image diffs
* Basic move/rename detection
* Bug fixes

- 0.5
* Switched from jsdifflib to codediff.js, which provides syntax highlighting.
* Make better use of narrow browser windows
* Detect (and suppress) binary diffs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webdiff-0.8.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

webdiff-0.8.2-py2-none-any.whl (1.2 MB view details)

Uploaded Python 2

File details

Details for the file webdiff-0.8.2.tar.gz.

File metadata

  • Download URL: webdiff-0.8.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webdiff-0.8.2.tar.gz
Algorithm Hash digest
SHA256 4523a36209ad323573aa1aa126a99fe786229e303cd812a93fc5815db073dc43
MD5 668ae1062591b41038732021024d8e67
BLAKE2b-256 11e94444b3ed77d217b8f0b35ed750a686171340b6854fa660bee427985b6160

See more details on using hashes here.

File details

Details for the file webdiff-0.8.2-py2-none-any.whl.

File metadata

File hashes

Hashes for webdiff-0.8.2-py2-none-any.whl
Algorithm Hash digest
SHA256 9238b9bfce8b7280116981536d67ed93d14ea6d10572ce491b5781a7a007a307
MD5 b7b21653636a42b7282fcaca01c4079b
BLAKE2b-256 b95ef27c7c902df9f392c3eb91861c528499715494152d13fadfb5307469ab60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page