Registry / database / brobbot-redis-brain

brobbot-redis-brain

JSON →
library3.0.6jsnpmunverified

A Redis-backed brain adapter for brobbot (a Hubot alternative). Version 3.0.6 is the current stable release, but the package depends on brobbot 6.x and has seen no recent significant updates. It automatically detects common Redis environment variables (REDISTOGO_URL, REDISCLOUD_URL, BOXEN_REDIS_URL, REDIS_URL) and supports a custom data key prefix via BROBBOT_REDIS_DATA_PREFIX. Compared to Hubot's redis-brain, it is specific to the brobbot ecosystem and has a smaller user base.

npm install brobbot-redis-brain
INSTALL
IMPORT
SIG · BROBBOT-REDIS-BRAI
B
brobbot-redis-brain
databasejavascriptv3.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

useBrain
nothing to import; configure via environment and command line
brobbot-redis-brain is loaded implicitly when brobbot starts with -b redis. No explicit import is needed.

Install brobbot and the redis brain adapter, set a Redis URL, and start brobbot with the redis brain.

npm install --save brobbot brobbot-redis-brain export REDISTOGO_URL=redis://user:password@localhost:6379 ./index.sh -b redis
Debug
Known issues
deprecatedThe package depends on brobbot 6.x which may be outdated or unmaintained.
fix
Check if a newer version of brobbot is available or consider migrating to a different chatbot framework.
affects: >=3.0
gotchaMust set one of the supported Redis environment variables (REDISTOGO_URL, REDISCLOUD_URL, BOXEN_REDIS_URL, REDIS_URL) before starting brobbot.
fix
Use Redis connection string. Example: export REDIS_URL=redis://user:password@localhost:6379
affects: all
gotchaThe brain data is stored with a configurable prefix (default 'data:'). Ensure the Redis database does not overwrite existing keys with the same prefix.
fix
Set BROBBOT_REDIS_DATA_PREFIX to a unique prefix if using the same Redis for multiple bots.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'brobbot'
brobbot peer dependency not installed or version mismatch.
fix
Run 'npm install brobbot@6.x' to install the correct version.
Error: Missing required constructor arguments
brobbot instance not passed correctly or brain not loaded via -b redis.
fix
Start brobbot with './index.sh -b redis' and ensure REDIS_URL environment variable is set.
Upgrade
Version history
3.0.6latest on npm
Audit
Dependencies
brobbotrequiredpeer dependency: this adapter is designed for brobbot version 6.x
Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
1
Resources
brobbot-redis-brain — npm install brobbot-redis-brain · libregistry