Coder Social home page Coder Social logo

iampranavdhar / whatsapp-bot Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 0.0 33 KB

HelpOn is a WhatsApp bot built using nodejs and Twilio

License: MIT License

Shell 1.71% JavaScript 98.29%
nodejs covid19-data vaccination-tracker twilio vaccination-centers covid19-tracker youtube-api newsapi javascript location-based-services

whatsapp-bot's Introduction

HelpOn ๐Ÿค–

HelpOn is a WhatsApp bot that can help you with many works built on nodejs and Twilio

Features of HelpOn ๐ŸŽ†

  • Can send you Vaccine Availability and their locations in your area by Pincode [Only in India]
  • Can find the address of nearest areas based on your search keyword in the range of 2km
  • Can grab the youtube video link based on your search word which keeps you concentrated on what you would like to see instead of getting to youtube and seeing some random recommended stuff
  • Can get top 10 repositories from github based on the keyword
  • Can get you news based on the location you wish to
  • Can get you an image based on the keyword
  • Can get you a geeky joke

Demo ๐Ÿฟ

Setup ๐Ÿง

  • First fork and clone the repo to your system

    git clone REPO-URL

  • Install all the node dependencies

    npm install

  • Create a Twilio account(Free account is more than enough for building purposes)

  • Create a .env file and add all the required API KEYS as mentioned in the .env.example file

  • Now get into Programmable Messaging -> Tryit Out -> Try WhatsApp and configure your WhatsApp sandbox in Twilio console

    image

  • Download ngrok and unzip it in the project folder

  • Start your server in the terminal nodemon server.js [If it gives any error try npx nodemon seever.js]

  • Now open new terminal and run ./ngrok http <port>. Copy the url next to forwarding in the terminal(Ex:http://d9086sssaa4db5.ngrok.io)

  • Open WhatsApp sandbox in Twilio console and and paste the url along with /message (Ex:http:// d9086sssaa4db5.ngrok.io/message) in WHEN A MESSAGE COMES IN textbox

    image

  • Now send a message to the Twilio number saying Hi/Start/Help and you should see an automated message from Twilio with the list of commands

    WhatsApp Image 2021-08-03 at 21 20 04

Author ๐Ÿ“

whatsapp-bot's People

Contributors

iampranavdhar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.