Skip to content

About

A clone of the 'Hello Jarvis' Facebook Messenger bot, built with Microsoft Bot Framework and Wit.ai.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

reminder-bot

This is a clone of the Hello Jarvis Facebook Messenger bot, built with the Microsoft Bot Framework and Wit.ai for language processing. It has the exact same functionality and it required just 600 lines of code to implement.

Build Status codecov

Prerequisites

There are a number of things you'll need to do before running the bot:

  • Register your bot on the Bot Framework's Developer Portal. You might need to create an account first.
  • Create an App ID and password for your bot.
  • Get a Google Maps api key and activate the Geocoding and Time Zone API's in the Google API Console.
  • Get a Wit.ai account and create a new app from the backup file that is included in the repo's resources directory.
  • Get the Wit.ai Server Access Token from your app's settings page.
  • Install MongoDB. By default the bot will connect to a database named 'dev'. Create it with use dev from the mongo shell, or change the connection uri to select a different database.

Configuring the bot

The keys acquired from the previous section need to be passed to the bot via config.json in the project's root directory.

Using the bot with the Bot Framework Emulator

Set endpoint

Set App Id and password

  • Make sure you have MongoDB up and running before starting up the bot
  • Run some usual npm commands:
$ npm install
$ npm run build
$ npm start
  • Connect the emulator

About

A clone of the 'Hello Jarvis' Facebook Messenger bot, built with Microsoft Bot Framework and Wit.ai.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages