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.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for webdiff-0.8.1.tar.gz
Algorithm Hash digest
SHA256 30eac39607265e778c7e2ce749df962ad090ddf50e09ade13e612e4b4bcc4fb4
MD5 c978ae7094624e954709c905089407b0
BLAKE2b-256 90d165ddb234db6922b12dfdb95e60b00a0f43a9eb0f24344777c62826881a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdiff-0.8.1-py2-none-any.whl
Algorithm Hash digest
SHA256 9d46e5f4ba32518d126fe029de6b6af3aca733c4a8541fa0710968c400f27d8e
MD5 6b35fa24be486ba8bc3f3e7db71af366
BLAKE2b-256 b90ae798ffb9365a5b63c98967194903a0ec091a4c9fb67659970493ebc48074

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