fathonix / ChatGPT-WhatsApp

An OpenAI ChatGPT WhatsApp Bot, but uses Baileys.
MIT License
43 stars 14 forks source link

Hello fathonix! #1

Open navopw opened 1 year ago

navopw commented 1 year ago

Whats the advantage of Baileys vs whatsapp-web.js?

If its suitable we could migrate our project :)

🚀

Best Regards

stan

fathonix commented 1 year ago

Oh my god, the navopw itself!

I planned to deploy the bot to my VPS that's only equipped with 1GB of RAM, so I chose Baileys because it doesn't need puppeteer, which needs Chromium running in the background. I think that's the main reason. Baileys is also capable of sending images so we can use that for DALL-E.

Best Regards,

Aldo

navopw commented 1 year ago

Oh my god, the navopw itself!

I planned to deploy the bot to my VPS that's only equipped with 1GB of RAM, so I chose Baileys because it doesn't need puppeteer, which needs Chromium running in the background. I think that's the main reason. Baileys is also capable of sending images so we can use that for DALL-E.

Best Regards,

Aldo

We implemented DALLE already into whatsapp-chatgpt 🫶

I will also add voice message support, so the bot can understand voice messages and answer them 🎇

Release: today or tomorrow

navopw commented 1 year ago

Baileys is more lightweight for sure :)

theKokox commented 1 year ago

Without a doubt, Baileys is the right path for your project, @navopw , allows a considerable saving of resources and the handling of the API is much more efficient