Coder Social home page Coder Social logo

devaku / nodejs-viber-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 628 KB

A simple NodeJS Viber Bot application

Home Page: https://devaku.github.io/nodejs-viber-bot/

License: GNU General Public License v3.0

JavaScript 97.99% Shell 2.01%
bot javascript nodejs viber viber-chatbot

nodejs-viber-bot's Introduction

NodeJS Viber Bot

This is a simple NodeJS based Viber bot that replies with the text message you send it.

Prerequisites

To use this application, you need to have the following things:

  1. An Active Viber Account

    Download the app here: https://www.viber.com/en/download/

  2. An Active Viber Bot Account

    Create one here: https://developers.viber.com

  3. The Ngrok application to allow tunneling for local development

    Download the application here: https://ngrok.com/download

Usage

  • Clone the repository
git clone https://github.com/devaku/nodejs-viber-bot
cd nodejs-viber-bot
  • Then after that, install the node_modules using the provided script
npm run install-server
  • Once the installation is done, make sure to create a .env file, from the given sample.

  • To run the application locally, ngrok must be running in the background. Make sure the PORT you provide (from the .env file), is the same PORT you use when running ngrok.

ngrok http 8080
  • Once everything is set up just run the following script to get the application started
npm run debug
  • Open up your Viber bot application, and start a conversation to see it work :D

Credits

nodejs-viber-bot's People

Contributors

dependabot[bot] avatar devaku avatar

Stargazers

 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.