Skip to content

Notifies you when grocery delivery is available. Built for an immunocompromised family member in March 2020 and expanded to public notifications for people in my town. CPU/RAM efficient (monitors using HTTP requests, no headless browser)

License

Notifications You must be signed in to change notification settings

Carcraftz/instacartmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instacartmonitor

Monitors Instacart and notifies you via a Discord Webhook if Delivery is avaliable

I made this because back in march, instacart delivieries were impossible to get due to Covid, especially for the immunocompromised. I originally shared the link to a discord server with the webhooks for various stores with my community and it was used in order to place orders. Luckily, this no longer became needed as Instacart has hired many more workers to handle the demand. I'm releasing the code now. It's extremely simple. In order to run it, all you need to do is find a host (could be your personal computer or you can use glitch.com). Download the project and edit the .env file as following:

To obtain the cookie, go to instacart.com, log in, ctrl/cmd shift I to open developer console, then go to console, run console.log(document.cookie) and enter the value returned into the .env file after cookie=

To obtain the webhook, go to discord, log in and create a guild. Create the channel you want messages to be posted in. Click edit channel, click webhooks, and then click Create Webhook. Copy the webhook URL and enter the value into the .env file after webhook=

To obtain the store name you have to use the same name that's in the instacart URL for the store. For example, if the store url is https://www.instacart.com/store/acme-markets/storefront the store name would be acme-markets. For this store you would enter acme-markets into the .env file after store=

About

Notifies you when grocery delivery is available. Built for an immunocompromised family member in March 2020 and expanded to public notifications for people in my town. CPU/RAM efficient (monitors using HTTP requests, no headless browser)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published