Every week for the past few weeks I’ve been working on a mini side project each week 🙂
This week, it was a site/feed checker. I have been using the excellent baRSS (
https://github.com/relikd/baRSS) for at least a couple of years now to monitor updates to a few RSS feeds I follow.
But this week I realized that I might also want to follow updates to non-RSS feed items, for example, a list of posts on a forum. I realized that there was no solution to do that — at least, not the way I wanted it to work …
So I started work on a quick-and-dirty replacement to baRSS in Swift that would do both jobs at once — monitor RSS feeds, and monitor a given site for updates to a set of items identified by an xpath.
The basic implementation took only about a day of work and it is working quite nicely, if I do say so myself 🙂 Plus, when I compared memory usage, my implementation uses like 25% of the memory that baRSS did — granted, baRSS was written in ObjectiveC and my implementation was SwiftUI, but I didn’t expect that huge a difference in memory usage …
I do have more things to do — add a Settings screen (currently all settings are hardcoded) and add a xpath tester so that you can easily figure out if the correct data would be extracted for a given site, to name a few. But I’m happy enough with the basic functionality for the time being …
#RSS #SwiftUI #macOS #Coding