Check web (or command output) for changes since last run and notify. Anonymously alerts you of web changes, with
Project description
webchanges checks web content including images, and notifies you via email (or one of many other supported services) if a change is detected. webchanges can also check the output of local commands. The notification includes a detail of what has changed (“diff”), with an optional summary generated by AI (BETA).
webchanges anonymously alerts you of web changes.
Requirements
You should use the latest version of Python if possible, but older Python versions are supported for 3 years after being obsoleted by a new major release (3.x). For each major release, only the latest bug and security fix version (3.x.y) is supported.
For Generative AI summaries (BETA), you need a free API Key from Google Cloud AI Studio (see here).
Installation
pip install webchanges
Running in Docker
webchanges can be run in a Docker container; please see here for one such implementation.
Documentation
The documentation is hosted on Read the Docs.
Quick Start
Initialize
Run the following command to create the default config.yaml (configuration) and jobs.yaml (jobs) files and open an editor to add your jobs:
webchanges --edit
Run the following command to change the default configuration, e.g. to receive change notifications (”reports”) by email and/or one of many other methods:
webchanges --edit-config
Run
To check the sources in your jobs and report on (e.g. display or via email) any changes found from the previous execution, just run:
webchanges
webchanges does not include a scheduler. We recommend using a system scheduler to automatically run it periodically:
On Linux or macOS, you can use cron (if you have never used cron before, see here); crontab.guru will build a schedule expression for you;
On macOS, you can use launchd;
On Windows, you can use the built-in Windows Task Scheduler.
Code
The code and issues tracker are hosted on GitHub.
Contributing
We welcome any contribution no matter how small, both as pull requests or issue reports.
More information for code and documentation contributors is here, and our wishlist is here.
License
Released under the MIT License but redistributing modified source code from urlwatch 2.21 dated 30 July 2020 licensed under a BSD 3-Clause License. See the complete license here.
Compatibility with and improvements from urlwatch
This project is based on code from urlwatch 2.21 dated 30 July 2020. You can easily upgrade to webchanges from the current version of urlwatch using the same job and configuration files (see here) and benefit from many improvements, including:
Summary of changes in plain text using Generative AI, useful for long documents (e.g. legal);
Depicting changes to an image;
Element-by-element changes of JSON or XML data;
Much better documentation, easing implementation;
Much clearer to HTML reports, which include:
Links that are clickable!
Retaining of original formatting such as bolding / headers, italics, underlining, list bullets (•) and indentation;
Lines that are added and deleted are clearly highlighted by color and strikethrough, and long lines wrap around;
Correct rendering by email clients who override stylesheets (e.g. Gmail);
Other legibility improvements;
New filters such as additions_only, which makes it easier to track content that was added without the distractions of the content that was deleted;
New command line arguments, such as --errors (to catch jobs that no longer work);
More reliability and stability, including a ~30 percentage point increase in testing coverage;
Many other additions, refinements and fixes (see detailed information).
Example enhancements to HTML reporting:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file webchanges-3.26.0.tar.gz
.
File metadata
- Download URL: webchanges-3.26.0.tar.gz
- Upload date:
- Size: 137.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b54d315dc7d13211ecb9ef97bc13986b869f34e60cf16cfea2bdfbd3ce44e56 |
|
MD5 | 679cf53955694a3a15c29b2ff7c9bf9b |
|
BLAKE2b-256 | 2b501550384d68adf9c7c8099887fdf1efb8dc819946d9eb6ce85f227e64a3b9 |
File details
Details for the file webchanges-3.26.0-py3-none-any.whl
.
File metadata
- Download URL: webchanges-3.26.0-py3-none-any.whl
- Upload date:
- Size: 140.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5179792597ff7028d312c6f55960f1597d2937ed6d325c834cbcd774091493b |
|
MD5 | f118e54f0a50bca4b09e2ee0cd420cbb |
|
BLAKE2b-256 | 459492384e584e80ca1ec21baf8fa85f827447faec121ed1d2474f7a2747c954 |