git clone https://github.com/enricobachiorrini/too-good-to-go-monitor
cd too-good-to-go-monitor
npm install
TODO: Discord (create webhook) and Telegram (create bot).
npm run build
npm start -- --email <email> [--discord <webhook URL>] [--telegram-token <bot token>] [--telegram-chat <chat id>]
Note the --
before --email
.
Open your email, and you should find an email from Too Good To Go with subjet "Continue your log in". Click on the green "LOG ME IN" button. The link must be opened in a browser in order for this to work. If you're automatically redirected to the app upon clicking, manually copy the link and paste it in a browser.
Add the restaurants you want to monitor to your favorites. You will be getting a Discord notification when items are restocked or sold out.
docker build -t toogoodtogo-monitor .
docker run toogoodtogo-monitor -- --email <email> [--discord <webhook URL>] [--telegram-token <bot token>] [--telegram-chat <chat id>]
Note the --
before --email
.