Coder Social home page Coder Social logo

dwtcourses / omni.channel.chatbot.nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thangtranse/omni.channel.chatbot.nodejs

0.0 1.0 0.0 395 KB

Connect Channel Messenger, Zalo, Viber, Skype, Telegram

JavaScript 98.45% HTML 1.28% Dockerfile 0.27%

omni.channel.chatbot.nodejs's Introduction

OMNI CHANNEL BOT

About:

BOT's will help you connect 'omni channel' with platform Rocket.Chat

  • Facebook
  • Viber
  • Skype
  • Zalo
  • Telegram

Setup .ENV :

You must register "Webhook" and get parameter config of the platforms Facebook Messenger, viber, zalo, ... and fill in this file .env

Include arguments:

Facebook:

  FACEBOOK_CLIENT_ID = [your client id]
  FACEBOOK_CLIENT_SECRET = [your client secret]
  FACEBOOK_CALLBACK_URL = [your url call back]
  FACEBOOK_PAGE_ACCESS_TOKEN = [acces token of page]

SKYPE:

  SKYPE_GRANT_TYPE = <client_credentials>
  SKYPE_CLIENT_ID = [Microsoft azure Application ID]
  SKYPE_CLIENT_SECRET = [Microsoft azure Application Password - You must goto setting of app chosen Setting, find "Microsoft App ID" and click at "Manage"]
  SKYPE_SCOPE = [This url to call API AZURE]

Telegram

TELEGRAM_TOKEN_BOT = [Token of the Bot your register with Telegram]

ZALO:

  ZALO_APP_ID = []
  ZALO_REDIRECT_URI = [YOU MUST REGISTER URL THIS WITH ZALO]
  ZALO_SECRETKEY = []
  ZALO_TOKEN = [ACCESS TOKEN OF ACCOUNT TO USE API ZALO]

VIBER

  VIBER_TOKEN = []

ROCKET CHAT

 ROCKET_USERNAME = [User name of BOT],
 ROCKET_USERID = [USER id of BOT],
 ROCKET_TOKEN = [TOKEN of BOT]
 ROCKET_URL_API_ROCKET = [URL Call API of your Rocket.Chat]

MONGO DB

MONGODB_URL = [You can use DB other and fill parameter connect to db at this]
MONGODB_DB_NAME = [Your DB name]
MONGODB_COLLECTION = [Your collection of DN]  

URL_WEBHOOK

URL_WEBHOOK_VIBER = [URL WEBHOOK you wanna register with platform Rocket]
URL_WEBHOOK_SKYPE = [URL WEBHOOK you wanna register with platform Rocket]
URL_WEBHOOK_FACEBOOK = [URL WEBHOOK you wanna register with platform Rocket]
URL_WEBHOOK_ZALO = [URL WEBHOOK you wanna register with platform Rocket]
URL_WEBHOOK_TELEGRAM = [URL WEBHOOK you wanna register with platform Rocket]

RUN PROJECT:

NODEJS

  1. Setup .env
  
  2. npm install
  
  3. npm start

DOCKER

  1. You must update environment in docker-compose.yml
  2. docker-compose up

omni.channel.chatbot.nodejs's People

Contributors

thangtranse 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.