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.0.tar.gz (941.3 kB view details)

Uploaded Source

Built Distribution

webdiff-0.8.0-py2-none-any.whl (1.0 MB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: webdiff-0.8.0.tar.gz
  • Upload date:
  • Size: 941.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webdiff-0.8.0.tar.gz
Algorithm Hash digest
SHA256 959c2c5eae0d13bbaef0dbe517c2b66635e695c34a90c5b8471c539233636e9b
MD5 61bc03f23198a19a293618ab8521a258
BLAKE2b-256 cbbb6ca28cd006ffab9e134c8571476ed52dfc8479c99987021fd7a33ca22441

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdiff-0.8.0-py2-none-any.whl
Algorithm Hash digest
SHA256 57df0c930826dd176decc78950e9865ae5dbc7a49b09bb219a2091281bc87453
MD5 9ed6faa00e38d2c0f068889a7f633ac6
BLAKE2b-256 2769793b38db69121397e43fb01c4b5a957339cb751eac96dbb4bee497b78189

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