If you want to stay updated on news from various websites, Really Simple Syndication (RSS) [1] is a great solution. Many websites offer their news in an RSS feed, which is an XML file with a specific format. You can subscribe to these feeds and read the content in RSS feed readers, which can be graphical, command-line, or web-based clients.
However, not all websites provide an RSS feed, and RSS usage seems to have diminished somewhat in recent years. Moreover, not all websites offer their content in the form of articles. Still, you may want to know about changes on these websites, such as the price of your favorite product on an online store or a new page in the table of contents of an online document. Are you then doomed to regularly visit all those websites you’re interested in?
With changedetection.io [2], you can monitor arbitrary changes on web pages and be notified in various ways. At first glance, changedetection.io’s website (Figure 1) seems to suggest it is a commercial service that requires a monthly subscription fee. However, changedetection.io is a completely open source project, with its source code [3] published under the Apache 2.0 license. The developer simply offers this solution as a subscription to fund development.
Installing changedetection.io
Changedetection.io is a Python program, which you can install using Python’s package manager pip. However, because you probably want to run this continuously as a service, it makes sense to run it in a Docker container. On Ubuntu 24.04 LTS, install Docker and Docker Compose with
Then add your user to the docker group:
Log out and log in again to apply the group membership. Next, create a data directory for the container:
Then create a docker-compose.yml file with the content from Listing 1.
Of course, you need to modify the path in the volume to match your user’s home directory. Now, start changedetection.io with:
This story is from the #289/December 2024: Coding with AI edition of Linux Magazine.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Sign In
This story is from the #289/December 2024: Coding with AI edition of Linux Magazine.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Sign In
MADDOG'S DOGHOUSE
The stakeholder approach of open source broadens the pool of who can access, influence, and benefit from information technologies.
MakerSpace
Rust, a potential successor to C/C++, claims to solve some memory safety issues while maintaining high performance. We look at Rust on embedded systems, where memory safety, concurrency, and security are equally important
In Harmony
Using the Go Interface mechanism, Mike demonstrates its practical application with a refresh program for local copies of Git repositories.
Monkey Business
Even small changes in a web page can improve the browsing experience. Your preferred web browser provides all the tools you need to inject JavaScript to adapt the page. You just need a browser with its debugging tools, some knowledge of scripting, and the browser extension Tampermonkey.
Smarter Navigation
Zoxide, a modern version of cd, lets you navigate long directory paths with less typing.
Through the Back Door
Cybercriminals are increasingly discovering Linux and adapting malware previously designed for Windows systems. We take you inside the Linux version of a famous Windows ransomware tool.
Page Pulse
Do you want to be alerted when a product is back in stock on your favorite online store? Do you want to know when a website without an RSS feed gets an update? With changedetection.io, you can stay up-to-date on website changes.
Arco Linux
ArcoLinux, an Arch derivative, offers easier installs while educating users about Arch Linux along the way.
Ghost Coder
Artificial intelligence is increasingly supporting programmers in their daily work. How effective are these tools? What are the dangers? And how can you benefit from Al-assisted development today?
Zack's Kernel News
Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.