Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.28 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.28 KB

bb-slotter

Get email alerts for delivery slots in BB 📧 🕶️

Easily extensible to:

  • support multiple email recipients
  • support multiple cities and pin codes

For more details on hosting the app, read here.

bb-slotter in action

Docker container running in AWS EC2 instance:

image-20200413092518550

Email alert example

image-20200412122335908

Building image

These environment variables must be present while building the (executable) docker image using make build.

FROM_ADDR=...
EMAIL_PASSWORD=...
URL=https://www.bigbasket.com/pd/241600/tata-salt--iodized-1-kg-pouch/

Also, before building image, subscribers.json file is required. Please note that the area string should be exactly as in one of BigBasket's auto-suggestions in the drop down. Note that email can also be a list of strings.

Example:

[
  {
    "city": "xyz1",
    "area": "xyz1",
    "email": "xyz1@abc.com"
  },
  {
    "city": "xyz2",
    "area": "xyz2",
    "email": ["xyz2@abc.com", "xyz3@abc.com"]
  }
]

Running the image

make run

Disclaimer

For educational purposes. BigBasket T&C here.