toogoodtogo-monitor
toogoodtogo-monitor copied to clipboard
Discord Notifications of TooGoodToGo Restocks
Installation
git clone https://github.com/enricobachiorrini/too-good-to-go-monitor
cd too-good-to-go-monitor
npm install
Configure Notifications Channels
TODO: Discord (create webhook) and Telegram (create bot).
Start the script
npm run build
npm start -- --email <email> [--discord <webhook URL>] [--telegram-token <bot token>] [--telegram-chat <chat id>]
Note the --
before --email
.
Login
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.
Eat
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
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
.