Git Product home page Git Product logo

red-pebble's Introduction

Red Pebble

http://pebble.red

Red Pebble, a Google Assistant & Google Home bot, that tells you everything about the weather on Mars!

How does it work?

Red Pebble uses data from NASA & Centro de Astrobiologia (CSIC-INTA) using the amazing {MAAS} API

The weather & atmospheric data is being transmitted by NASA's Curiosity Rover on Mars.

We then cache this atmospheric weather information daily using Google Cloud Functions on our own servers to make sure that our assistant doesn't make tons of requests to the kind providers of the API listed above.

Our cached version of the API can be found here : http://pebble.red/latest.json
And, you're more than welcome to use our mirror for your projects. In case if you're wondering how up to date our information is, occasionally the information can be sporadic / a few days behind. Having a steady information flow from mars is tough business, and we can only mirror what we have access to from our sources.

Red Pebble is built using API.AI, Google Cloud Functions and Firebase.

Red Pebble has two types of answers.

  • Informative interactions that doesn't require the use of the weather API. These are questions like : "Are there any clouds on Mars?" or "Does it rain on Mars?" etc. These types of questions, that doesn't require any up-to date weather information are handled by api.ai.

  • Interactions that require the use of the weather API. These are questions like : "What's the temperature on Mars?" or "What's the season on Mars?" etc. These types of questions are first received by api.ai, which in return makes a call to our cloud functions server that fetches the latest info from our cached latest.json file and finally return the answer to the user.

We decided to use Google Cloud Functions for this project, and we believe that it's a great way to create assistants / chat bots without worrying about handling large loads, scaling or traffic.

The Cloud Function also logs anonymous user IDs to change the way it responds to save them time and frustration. This part is handled by Firebase. We intend to use this information to also improve the quality of Red Pebble's answers and conversational structure.

Where did the idea come from?

One day Shelby Hutchison, Senem Cinar and I were having breakfast and we thought wouldn't it be hilarious and awesome to have a home assistant that tells the weather on Mars. Then for 7 days after work, we all went home, didn't sleep, designed and coded an assistant that does just that.

Questions, Bugs, Suggestions?

Don't be shy, file an issue, feature or bug report. And don't forget to fork it, share it or star it.

Thanks

{MAAS} API

Centro de Astrobiologia (CSIC-INTA)

And everyone from the Google Home Hackathon NYC 2017 for helping and supporting us.

red-pebble's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

resqs

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.