changedetection.io/README.md

192 wiersze
8.1 KiB
Markdown
Czysty Zwykły widok Historia

2021-01-27 19:51:55 +00:00
# changedetection.io
2021-12-19 22:04:56 +00:00
[![Release Version][release-shield]][release-link] [![Docker Pulls][docker-pulls]][docker-link] [![License][license-shield]](LICENSE.md)
2021-05-08 01:44:43 +00:00
![changedetection.io](https://github.com/dgtlmoon/changedetection.io/actions/workflows/test-only.yml/badge.svg?branch=master)
2021-01-27 19:51:55 +00:00
2021-12-19 22:04:56 +00:00
## Self-Hosted, Open Source, Change Monitoring of Web Pages
2021-01-27 19:51:55 +00:00
2021-03-26 10:07:06 +00:00
_Know when web pages change! Stay ontop of new information!_
2022-01-30 01:13:19 +00:00
Live your data-life *pro-actively* instead of *re-actively*.
2021-03-26 10:07:06 +00:00
2022-03-26 13:02:56 +00:00
Free, Open-source web page monitoring, notification and change detection. Don't have time? [Try our $6.99/month plan - unlimited checks and watches!](https://lemonade.changedetection.io/start)
2021-01-27 19:51:55 +00:00
2022-03-26 08:56:56 +00:00
[<img src="https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/screenshot.png" style="max-width:100%;" alt="Self-hosted web page change monitoring" title="Self-hosted web page change monitoring" />](https://lemonade.changedetection.io/start)
2021-01-29 12:26:16 +00:00
2021-12-15 22:32:48 +00:00
2022-02-26 17:42:54 +00:00
**Get your own private instance now! Let us host it for you!**
2022-01-30 01:13:19 +00:00
[![Deploy to Lemonade](https://lemonade.changedetection.io/static/images/lemonade.svg)](https://lemonade.changedetection.io/start)
2022-02-26 17:42:54 +00:00
[_Let us host your own private instance - We accept PayPal and Bitcoin, Support the further development of changedetection.io!_](https://lemonade.changedetection.io/start)
2022-01-30 01:13:19 +00:00
- Automatic Updates, Automatic Backups, No Heroku "paused application", don't miss a change!
- Javascript browser included
2022-02-26 17:42:54 +00:00
- Unlimited checks and watches!
2022-01-03 17:46:50 +00:00
2021-01-29 12:28:46 +00:00
#### Example use cases
2021-01-29 12:26:16 +00:00
2021-12-27 23:47:00 +00:00
- Products and services have a change in pricing
2021-12-28 12:18:44 +00:00
- Governmental department updates (changes are often only on their websites)
2021-02-21 13:15:21 +00:00
- New software releases, security advisories when you're not on their mailing list.
2021-01-29 12:26:16 +00:00
- Festivals with changes
- Realestate listing changes
2021-05-27 14:03:17 +00:00
- COVID related news from government websites
2021-12-29 07:55:37 +00:00
- University/organisation news from their website
2021-07-11 09:38:54 +00:00
- Detect and monitor changes in JSON API responses
- API monitoring and alerting
2022-01-01 17:11:54 +00:00
- Changes in legal and other documents
2021-12-19 22:04:56 +00:00
- Trigger API calls via notifications when text appears on a website
2021-12-28 12:18:44 +00:00
- Glue together APIs using the JSON filter and JSON notifications
2021-12-28 12:19:24 +00:00
- Create RSS feeds based on changes in web content
2021-12-28 17:57:39 +00:00
- You have a very sensitive list of URLs to watch and you do _not_ want to use the paid alternatives. (Remember, _you_ are the product)
_Need an actual Chrome runner with Javascript support? We support fetching via WebDriver!</a>_
2021-01-29 12:26:16 +00:00
2021-12-22 09:42:48 +00:00
## Screenshots
Examining differences in content.
<img src="https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/screenshot-diff.png" style="max-width:100%;" alt="Self-hosted web page change monitoring context difference " title="Self-hosted web page change monitoring context difference " />
Please :star: star :star: this project and help it grow! https://github.com/dgtlmoon/changedetection.io/
2021-08-16 14:34:44 +00:00
## Installation
### Docker
With Docker composer, just clone this repository and..
```bash
$ docker-compose up -d
```
Docker standalone
```bash
2021-12-16 10:53:28 +00:00
$ docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
```
2021-08-16 14:34:44 +00:00
### Python Pip
Check out our pypi page https://pypi.org/project/changedetection.io/
```bash
$ pip3 install changedetection.io
$ changedetection.io -d /path/to/empty/data/dir -p 5000
```
Then visit http://127.0.0.1:5000 , You should now be able to access the UI.
2021-01-27 19:51:55 +00:00
_Now with per-site configurable support for using a fast built in HTTP fetcher or use a Chrome based fetcher for monitoring of JavaScript websites!_
2021-01-27 19:51:55 +00:00
## Updating changedetection.io
2022-01-30 14:20:26 +00:00
### Docker
```
2021-12-16 10:53:28 +00:00
docker pull dgtlmoon/changedetection.io
docker kill $(docker ps -a|grep changedetection.io|awk '{print $1}')
docker rm $(docker ps -a|grep changedetection.io|awk '{print $1}')
2021-12-16 10:53:28 +00:00
docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
```
### docker-compose
```bash
docker-compose pull && docker-compose up -d
```
2022-01-30 14:19:21 +00:00
See the wiki for more information https://github.com/dgtlmoon/changedetection.io/wiki
## Filters
XPath, JSONPath and CSS support comes baked in! You can be as specific as you need, use XPath exported from various XPath element query creation tools.
2022-02-19 12:41:54 +00:00
(We support LXML re:test, re:math and re:replace.)
2022-01-30 14:19:21 +00:00
## Notifications
ChangeDetection.io supports a massive amount of notifications (including email, office365, custom APIs, etc) when a web-page has a change detected thanks to the <a href="https://github.com/caronc/apprise">apprise</a> library.
Simply set one or more notification URL's in the _[edit]_ tab of that watch.
Just some examples
discord://webhook_id/webhook_token
flock://app_token/g:channel_id
gitter://token/room
gchat://workspace/key/token
msteams://TokenA/TokenB/TokenC/
o365://TenantID:AccountEmail/ClientID/ClientSecret/TargetEmail
rocket://user:password@hostname/#Channel
mailto://user:pass@example.com?to=receivingAddress@example.com
json://someserver.com/custom-api
syslog://
<a href="https://github.com/caronc/apprise#popular-notification-services">And everything else in this list!</a>
<img src="https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/screenshot-notifications.png" style="max-width:100%;" alt="Self-hosted web page change monitoring notifications" title="Self-hosted web page change monitoring notifications" />
Now you can also customise your notification content!
2021-07-11 12:10:49 +00:00
2022-01-30 14:19:21 +00:00
## JSON API Monitoring
2021-07-11 12:10:49 +00:00
Detect changes and monitor data in JSON API's by using the built-in JSONPath selectors as a filter / selector.
2021-07-11 12:10:49 +00:00
![image](https://user-images.githubusercontent.com/275001/125165842-0ce01980-e1dc-11eb-9e73-d8137dd162dc.png)
2021-07-18 08:15:44 +00:00
This will re-parse the JSON and apply formatting to the text, making it super easy to monitor and detect changes in JSON API results
2021-07-11 12:10:49 +00:00
![image](https://user-images.githubusercontent.com/275001/125165995-d9ea5580-e1dc-11eb-8030-f0deced2661a.png)
2022-01-30 14:19:21 +00:00
### Parse JSON embedded in HTML!
When you enable a `json:` filter, you can even automatically extract and parse embedded JSON inside a HTML page! Amazingly handy for sites that build content based on JSON, such as many e-commerce websites.
```
<html>
...
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"Product","name":"Nan Optipro Stage 1 Baby Formula 800g","price": 23.50 }
</script>
```
`json:$.price` would give `23.50`, or you can extract the whole structure
2022-01-30 14:19:21 +00:00
## Proxy configuration
See the wiki https://github.com/dgtlmoon/changedetection.io/wiki/Proxy-configuration
2021-05-27 10:37:56 +00:00
2022-01-30 14:19:21 +00:00
## Raspberry Pi support?
2021-06-18 12:00:33 +00:00
Raspberry Pi and linux/arm/v6 linux/arm/v7 arm64 devices are supported! See the wiki for [details](https://github.com/dgtlmoon/changedetection.io/wiki/Fetching-pages-with-WebDriver)
2021-06-18 12:00:33 +00:00
## Windows support?
2021-08-20 16:24:49 +00:00
YES! See the wiki https://github.com/dgtlmoon/changedetection.io/wiki/Microsoft-Windows
2021-05-18 13:34:56 +00:00
2022-01-30 14:19:21 +00:00
## Support us
2021-05-18 13:34:56 +00:00
Do you use changedetection.io to make money? does it save you time or money? Does it make your life easier? less stressful? Remember, we write this software when we should be doing actual paid work, we have to buy food and pay rent just like you.
Please support us, even small amounts help a LOT.
2021-05-19 03:09:41 +00:00
BTC `1PLFN327GyUarpJd7nVe7Reqg9qHx5frNn`
2021-05-18 13:34:56 +00:00
<img src="https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/btc-support.png" style="max-width:50%;" alt="Support us!" />
2021-12-19 22:04:56 +00:00
2022-01-30 14:19:21 +00:00
## Commercial Support
2022-01-22 14:35:07 +00:00
I offer commercial support, this software is depended on by network security, aerospace , data-science and data-journalist professionals just to name a few, please reach out at dgtlmoon@gmail.com for any enquiries, I am more than glad to work with your organisation to further the possibilities of what can be done with changedetection.io
2021-12-19 22:04:56 +00:00
2022-02-02 10:33:22 +00:00
[release-shield]: https://img.shields.io:/github/v/release/dgtlmoon/changedetection.io?style=for-the-badge
2021-12-19 22:04:56 +00:00
[docker-pulls]: https://img.shields.io/docker/pulls/dgtlmoon/changedetection.io?style=for-the-badge
[test-shield]: https://github.com/dgtlmoon/changedetection.io/actions/workflows/test-only.yml/badge.svg?branch=master
[license-shield]: https://img.shields.io/github/license/dgtlmoon/changedetection.io.svg?style=for-the-badge
[release-link]: https://github.com/dgtlmoon.com/changedetection.io/releases
[docker-link]: https://hub.docker.com/r/dgtlmoon/changedetection.io