A Python 3 app that sends a notification if there's a new analog camera available on 2dehands (the eBay of Belgium). The app runs in the background on macOS and sends a system notification if it sees a new deal is available. rumps is used to make the status bar app and send the notifications.
In the future when the app is complete without bugs, the app might become universal for all types of listings (so not just for analog cameras). Users will have to choice to use their own category of listings they want notifications for. The app will most likely also change names when this happens.
- Background check for new listings every 60 seconds
- Sends system notification with listing title and price if it finds a new listing
- Clicking the notification will open all new listings
- Status bar menu with following options:
- Open all new listings (in the default browser)
- Clear all new listings (in case you haven't used the app in a while and don't want it to open 50+ tabs)
- Manual check for new listings
- Blocklist to block certain words or sellers
- Reset
- Check for updates
- About info
- Quit the application
- Show an alert if more than 10 listings will be opened so the user can cancel this action
The app checks the 100 most recent listings for new listings. If you want to decrease this value, you can do so by changing the numberOfListings
variable in the update()
function.
You need py2app
to compile the app yourself.
Use pip install py2app
to install it.
Important: you need the latest version of rumps which is 0.4.0
. However, this build is not yet available if you use pip install rumps
.
To install the latest version, follow the install instructions here
From the root of the project folder, run python setup.py py2app -A
in the terminal to compile the app in Alias mode. The app is ready to open and test in the dist
folder.
If everything works fine, and you want to create a stand-alone version, you have to remove the build and dist folder (rm -rf build dist
). Then run python setup.py py2app
to build the app. The stand-alone build is available in the dist
folder.