hubot-firebase-brain
A hubot script to persist hubot's brain using firebase.
Last updated 4 years ago by justmiles .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-firebase-brain 
SYNC missed versions from official npm registry.

hubot-firebase-brain

A hubot script to persist hubot's brain using firebase - because, why not?

Installation

Add hubot-firebase-brain to your package.json with npm install hubot-firebase-brain --save.

"dependencies": {
  "hubot-firebase-brain": ">= 1.0.0"
}

Add hubot-firebase-brain to external-scripts.json.

> cat external-scripts.json
> ["hhubot-firebase-brain"]

Configuration

Set the enviornment variable FIREBASE_URL to your firebase/hubot scope. eg https://your_firebase.firebaseio.com/hubot

(Optional) Firebase Authentication

Set the enviornment variable FIREBASE_SECRET generated here from Firebase (https://your_firebase.firebaseio.com/?page=Admin)

Create a security rule to allow read/write. Simply add auth.hubot === true to the scope of your hubot firebase. (https://your_firebase.firebaseio.com/?page=Security).

{
    "rules": {
        "hubot": {
          ".read": "auth.hubot === true",
          ".write": "auth.hubot === true"
        }
    }
}

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

5 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |