Sign inSign up

drumsergio/wayback-diff

By drumsergio

•Updated about 11 hours ago

Image
0

4.2K

drumsergio/wayback-diff repository overview

Wayback-Diff banner

Detect meaningful differences between web pages, with Wayback Machine artifact cleaning, visual comparison and significance scoring.

PyPI Version CI License codecov

Comparing web pages gets hard once Wayback Machine injections, whitespace noise and visual changes the DOM does not show come into play. Wayback-Diff is a CLI that handles all three and tells you how much each change matters.

⁠Features

  • Strips Wayback Machine banners, analytics and playback scripts, and URL rewrites, so you compare the real content.
  • Tags every change High, Medium or Low.
  • Screenshots in Chrome, Firefox, Edge and Opera, with side-by-side and pixel-diff images (--visual).
  • Site-wide crawl and compare with --traverse --max-depth N.
  • Text, JSON and unified diff output, plus Markdown reports (--markdown).
  • CI exit codes: 0 no changes, 1 low or medium, 2 high.
  • Installs from PyPI, from source or as a Docker image.

⁠Quick start

pip install wayback-diff
wayback-diff https://web.archive.org/web/20230101/https://example.com/ https://example.com/

Add --visual --markdown for screenshots and a report (pip install "wayback-diff[visual]" first). Needs Python 3.10 or newer; the source and Docker installs are in Getting started⁠.

⁠Documentation

⁠License

GPL-3.0-or-later⁠

Tag summary

Content type

Image

Digest

sha256:381ce6442…

Size

72.5 MB

Last updated

about 11 hours ago

docker pull drumsergio/wayback-diff:sha-239c026