Using Twilio API for WhatsApp to build a bot.
Features:
- /wiki using duckduckgo
- /unsplash using unsplash
- /loremflickr using loremflickr
- /chart using quickchart
Screenshots
How to use
- Install the dependencies
$ npm install
- Create file .env
SID=Your_Account_SID
KEY=Your_Auth_Token
PORT=5000
AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
S3_BUCKET=dev-red-media
S3_REGION=ap-southeast-1
S3_FOLDER=dev
CHART_DOMAIN=https://quickchart.io/chart
- Start app
$ npm run start:local
Source code: https://github.com/chuongtrh/BotTwilioWhatsapp