Giter VIP home page Giter VIP logo

space-explorer-bot's Introduction

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.

space-explorer-bot's People

Contributors

stojanovic avatar shaialon avatar harrissavalon 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.