Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

A FB Messenger chat bot using Democracy Club APIs and Claudia Bot Builder.

Notifications You must be signed in to change notification settings

techpink/citizns-ge2017-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Explorer Bot

Space Explorer is simple Messenger chat bot that uses NASA's API to get the data and images about the space.

It's created for fun and also as a showcase for Claudia Bot Builder, node.js library for creating chat bots for various platform and deploying them on AWS Lambda.

Watch the video

Short video is available on Vimeo.

Try it live

Scan the code:

Messenger code

Or go to https://m.me/space.explorer.bot.

How to run and deploy it

Prerequests:

  • Create a new bot page in Facebook and a messenger app, as explained in the Facebook Messenger Getting Started Guide.

Steps:

  1. Clone the repository and run:

    npm init
    
  2. Install claudia as a global utility, if you do not have it already:

    npm install claudia -g
    
  3. Create a new bot in AWS. If you changed the name of bot.js file, change the --api-module argument below accordingly.

    claudia create --region us-east-1 --api-module bot
    
  4. Configure Facebook Bot with a following command and follow the instructions:

    claudia update --configure-fb-bot --configure-app
    

And that's it :)

Full instructions for Claudia Bot Builder are available in Getting started with Claudia Bot Builder guide.

License

The MIT License (MIT)

Copyright (c) 2016 Slobodan Stojanović

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A FB Messenger chat bot using Democracy Club APIs and Claudia Bot Builder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%