Skip to content

This is a Viber bot project that deals with Covid19 releated questions.

Notifications You must be signed in to change notification settings

DimitriosGkegkas/ViberBot-Covid19

Repository files navigation

Viber Bot for Covid19

This is a Viber bot project that deals with Covid19 releated questions.



Requirements

For development, you will only need Node.js and a node global package installed in your environement.

Node

Just go on official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

If the installation was successful, you should be able to run the following command.

$ node --version
v14.16.0

$ npm --version
6.14.11

If you need to update npm, you can make it using npm! Cool right? After running the following command, just open again the command line and be happy.

$ npm install npm -g


Install

$ git clone https://github.com/DimitriosGkegkas/ViberBot-Covid19.git
$ cd ViberBot-Covid19
$ npm install
$ npm install ngrok -g --save

Configure ngrok

Run

$ ngrok http 3000

You should be getting something like this ngrok

Just copy the mapped https url and paste it in "./secret/url.ts" Do not close this terminal.

Running the project

In a new terminal Run

$ npm start

And now you should be able to talk with the chat bot. Just scan the QR Code below if you are using my Viber Chat Bot Account

ngrok

or just change the viber token to one of yours, in the file "./secret/viber.ts.".

If you want, you can create one here

About

This is a Viber bot project that deals with Covid19 releated questions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published