Discord bot that periodically checks certain e-shops for newest GPUsi (or any other products) and notifies about any change in price or stock. For now only Alza is supported but it is written in such a way that adding new e-shops is easy.
- Docker
- Docker Compose
- Register Discord App + Discord Bot with Send Message and Embed Links permissions.
- Add bot to your servers + set up its permissions.
- Obtain Channel ID where you want to post the updates (right-click on channel and select
Copy ID
). - Copy
config.template.conf
toconfig.dev.conf
and add your Discord Bot token + channel ID intodiscord
section. - If you are planning to use locally provided Redis then fillout
redis
section with hostnameredis
, port6379
and database0
. - Set the
scraper.interval
(in seconds) to any sensible value you want. Bot will check the updates everyscraper.interval
seconds. - Set up
scraper.interval
targets with URLs of those pages you want to watch. For example if I want to watch RTX3090s then I'll add{ type = "alza", url = "graficke-karty-nvidia-geforce-rtx3090/18881468.htm" }
. - Run
make build
andmake dev
.