Skip to content

Give it a video and it will place orders for the ingredients on Swiggy

Notifications You must be signed in to change notification settings

munanadi/swiggy-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp Bot

This should get Youtube, Instagram reel videos of cooking, baking etc and figure out the ingredients used in the video.


TODOs:

  1. Need to figure out how to manage tokens, can easily run out of them while parsing some videos
  2. Instagram Reels
  3. Deploy as an actual bot
  4. This would still work for only smaller videos, but cooking videos are generally shorter in size and hence we can get away with it.

Local dev

  1. Setup twilio account and connect sandbox
  2. run local node, and tunnel to expose to public internet (using ngork or cloudlfared)
  3. Set this exposed localhost in your sandbox settings in twilio
  4. Send your code shown in twilio console to the bot to connect to it,

Get tokens used in the prompt with token POST endpoint

curl -X POST \
-H "Content-Type: application/json" \
-d '{
  "prompt": "Your prompt here"
}' \
http://localhost:3000/token

About

Give it a video and it will place orders for the ingredients on Swiggy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published