All Projects → hubotio → Hubot Redis Brain

hubotio / Hubot Redis Brain

A hubot script to persist hubot's brain using redis

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Hubot Redis Brain

st2chatops
Packaging environment for building StackStorm chatops native packages
Stars: ✭ 26 (-58.73%)
Mutual labels:  hubot
bot
Slack bot (bro) for Mobile Development Group, IITR.
Stars: ✭ 13 (-79.37%)
Mutual labels:  hubot
Hubot Wit
💬 A script to use Wit.ai with Hubot.
Stars: ✭ 10 (-84.13%)
Mutual labels:  hubot
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (-39.68%)
Mutual labels:  hubot
saihubot
💬 client side chatbot that works in the browser and command line
Stars: ✭ 15 (-76.19%)
Mutual labels:  hubot
Hubot Rocketchat
Rocket.Chat Hubot adapter
Stars: ✭ 499 (+692.06%)
Mutual labels:  hubot
hubot-ansible
A hubot script for launching ansible commands
Stars: ✭ 14 (-77.78%)
Mutual labels:  hubot
Hubot Darksky
A script to grab the forecast information from Dark Sky for Hubot
Stars: ✭ 27 (-57.14%)
Mutual labels:  hubot
groupme-at-all
A Hubot chat bot to mention every user in a GroupMe channel all at once.
Stars: ✭ 94 (+49.21%)
Mutual labels:  hubot
Hubot Gitter
A simple Hubot adapter for gitter.im
Stars: ✭ 23 (-63.49%)
Mutual labels:  hubot
docker-hubot
Docker container for running hubot in a container.
Stars: ✭ 17 (-73.02%)
Mutual labels:  hubot
hubot-group-alias
@mentions for groups using Hubot
Stars: ✭ 14 (-77.78%)
Mutual labels:  hubot
Hubot Loudbot
A LOUDBOT SCRIPT FOR HUBOT
Stars: ✭ 6 (-90.48%)
Mutual labels:  hubot
hubot-dingtalk
hubot-dingtalk:支持钉钉Outgoing
Stars: ✭ 29 (-53.97%)
Mutual labels:  hubot
Hubot Env
Hubot manages environment variables in process.env and redis via commands
Stars: ✭ 10 (-84.13%)
Mutual labels:  hubot
hubot-messenger-bot
🔌 A Hubot adapter for Facebook Messenger Platform (Bots) with zero external dependencies.
Stars: ✭ 44 (-30.16%)
Mutual labels:  hubot
Hubot
A customizable life embetterment robot.
Stars: ✭ 16,047 (+25371.43%)
Mutual labels:  hubot
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-19.05%)
Mutual labels:  hubot
Hubot Slack Docker
Docker container running Github Hubot.
Stars: ✭ 21 (-66.67%)
Mutual labels:  hubot
Hubot Standup
Hubot script to ping the team everyday for the standup meeting
Stars: ✭ 6 (-90.48%)
Mutual labels:  hubot

Build Status Coverage Status

hubot-redis-brain

A hubot script to persist hubot's brain using redis

See src/redis-brain.js for full documentation.

Installation

In hubot project repo, run:

npm install hubot-redis-brain --save

Then add hubot-redis-brain to your external-scripts.json:

[
  "hubot-redis-brain"
]

Configuration

hubot-redis-brain requires a redis server to work. It uses the REDIS_URL environment variable for determining where to connect to. The default is on localhost, port 6379 (ie the redis default).

The following attributes can be set using the REDIS_URL

  • authentication
  • hostname
  • port
  • key prefix

For example, export REDIS_URL=redis://:[email protected]:16379/prefix would authenticate with password, connecting to 192.168.0.1 on port 16379, and store data using the prefix:storage key.

For a UNIX domain socket, export REDIS_URL=redis://:[email protected]/var/run/redis.sock?prefix would authenticate with password, connecting to /var/run/redis.sock, and store data using the prefix:storage key.

Installing your own

If you need to install and run your own, most package managers have a package for redis:

Boxen

If you are using boxen to manage your environment, hubot-redis-brain will automatically use the boxen-managed redis (ie by using BOXEN_REDIS_URL).

Heroku

If you are deploying on Heroku, you can add the Redis Cloud or Redis To Go addon to have automatically configure itself to use it:

Other redis addons would need to be configured using REDIS_URL until support is added to hubot-redis-brain (or hubot-redis-brain needs to be updated to look for the environment variable the service uses)

Redis Twemproxy

If you are using Twemproxy to cluster redis, you need to turn off the redis ready check which uses the unsupported INFO cmd.

REDIS_NO_CHECK = 1

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].