Add alerts, currency conversion and notifications.

Items fire when a page is available from an accepted seller at or below
max_price, converted with the ECB's daily rates when the page uses
another currency. A per-item cooldown, kept in the state file, holds
back repeat alerts unless the price drops. Alerts go to Discord, ntfy
and JSON webhooks with retries, and to the desktop;
'dibs notify test' sends a sample.
This commit is contained in:
Overlord committed 2026-10-14 11:55:27 +02:00
1 parent 2175c0e5aa
commit 8f0eda5d4d
16 files changed
+1409 -15

No files matched your search

+10
View File
@@ -14,6 +14,7 @@ require (
)
require (
git.sr.ht/~jackmordaunt/go-toast v1.1.2 // indirect
github.com/andybalholm/brotli v1.2.0 // indirect
github.com/bdandy/go-errors v1.2.2 // indirect
github.com/bdandy/go-socks4 v1.2.3 // indirect
@@ -21,8 +22,17 @@ require (
github.com/bogdanfinn/utls v1.7.8-barnius // indirect
github.com/bogdanfinn/websocket v1.5.6-barnius // indirect
github.com/cloudflare/circl v1.6.5 // indirect
github.com/esiqveland/notify v0.13.3 // indirect
github.com/gen2brain/beeep v0.11.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/jackmordaunt/icns/v3 v3.0.1 // indirect
github.com/klauspost/compress v1.18.2 // indirect
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
github.com/quic-go/qpack v0.6.0 // indirect
github.com/sergeymakinen/go-bmp v1.0.0 // indirect
github.com/sergeymakinen/go-ico v1.0.0-beta.0 // indirect
github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af // indirect
github.com/tam7t/hpkp v0.0.0-20160821193359-2b70b4024ed5 // indirect
golang.org/x/crypto v0.57.0 // indirect
golang.org/x/text v0.42.0 // indirect