{"id":28339687,"url":"https://github.com/hubotio/hubot-redis-brain","last_synced_at":"2025-10-09T00:23:30.660Z","repository":{"id":22078828,"uuid":"25408273","full_name":"hubotio/hubot-redis-brain","owner":"hubotio","description":"A hubot script to persist hubot's brain using redis","archived":false,"fork":false,"pushed_at":"2025-06-26T04:32:28.000Z","size":770,"stargazers_count":68,"open_issues_count":2,"forks_count":57,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-08-19T14:28:24.707Z","etag":null,"topics":["hubot","hubot-scripts"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hubotio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-10-18T19:51:32.000Z","updated_at":"2025-06-26T04:32:25.000Z","dependencies_parsed_at":"2024-06-18T12:37:01.931Z","dependency_job_id":"229b6c6d-3a84-4e14-8658-1ca42844ae74","html_url":"https://github.com/hubotio/hubot-redis-brain","commit_stats":{"total_commits":48,"total_committers":12,"mean_commits":4.0,"dds":0.7083333333333333,"last_synced_commit":"2ab89635b26d776039709acc25bab7b690fec7c1"},"previous_names":["hubot-scripts/hubot-redis-brain"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/hubotio/hubot-redis-brain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubotio%2Fhubot-redis-brain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubotio%2Fhubot-redis-brain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubotio%2Fhubot-redis-brain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubotio%2Fhubot-redis-brain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubotio","download_url":"https://codeload.github.com/hubotio/hubot-redis-brain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubotio%2Fhubot-redis-brain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000719,"owners_count":26082879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hubot","hubot-scripts"],"created_at":"2025-05-27T01:51:27.842Z","updated_at":"2025-10-09T00:23:30.654Z","avatar_url":"https://github.com/hubotio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/hubotio/hubot-redis-brain/actions/workflows/pipeline.yml/badge.svg)\n\nNote: The build is failing because I don't have access to this organization to update the NPM_TOKEN; nor do I have access to the NPM package on npmjs to create a new NPM_TOKEN. If you want to use the latest version of this module, you can `npm i hubotio/hubot-redis-brain#main` install it from the GitHub repo directly, instead of the npm registry.\n\n![E2E Tests](https://github.com/hubotio/hubot-redis-brain/actions/workflows/e2e.yml/badge.svg)\n\n# hubot-redis-brain\n\nA hubot script to persist hubot's brain using redis\n\nSee [`src/RedisBrain.js`](src/RedisBrain.js) for full documentation.\n\n## Installation\n\nIn hubot project repo, run:\n\n`npm install hubot-redis-brain --save`\n\nThen add **hubot-redis-brain** to your `external-scripts.json`:\n\n```json\n[\n  \"hubot-redis-brain\"\n]\n```\n\n## Configuration\n\nhubot-redis-brain requires a redis server to work. It uses the `REDIS_URL` environment variable for determining\nwhere to connect to. The default is on localhost, port 6379 (ie the redis default).\n\nThe following attributes can be set using the `REDIS_URL`\n\n* authentication\n* hostname\n* port\n* key prefix\n\nFor example, `export REDIS_URL=redis://:password@192.168.0.1:16379/prefix` would\nauthenticate with `password`, connecting to `192.168.0.1` on port `16379`, and store\ndata using the `prefix:storage` key.\n\nFor a UNIX domain socket, `export REDIS_URL=redis://:password@/var/run/redis.sock?prefix` would authenticate with `password`, connecting to `/var/run/redis.sock`, and store data using the `prefix:storage` key.\n\n### Installing your own\n\nIf you need to install and\nrun your own, most package managers have a package for redis:\n\n* Mac OS X with homebrew: `brew install redis`\n* Ubuntu/Debian with apt: `apt-get install redis-server`\n* Compile from source: http://redis.io/topics/quickstart\n\n### Boxen\n\nIf you are using [boxen](https://boxen.github.com/) to manage your environment,\nhubot-redis-brain will automatically use the boxen-managed redis (ie by using `BOXEN_REDIS_URL`).\n\n### Heroku\n\nIf you are deploying on [Heroku](https://www.heroku.com/), you can add the\nRedis Cloud or Redis To Go addon to have automatically configure itself to use it:\n\n* [Redis Cloud](https://addons.heroku.com/rediscloud)\n* [Redis To Go](https://addons.heroku.com/redistogo)\n\n\nOther redis addons would need to be configured using `REDIS_URL` until support\nis added to hubot-redis-brain (or hubot-redis-brain needs to be updated to look\n  for the environment variable the service uses)\n\n### Redis Twemproxy\n\nIf you are using [Twemproxy](https://github.com/twitter/twemproxy) to cluster redis,\nyou need to turn off the redis ready check which uses the unsupported INFO cmd.\n\n`REDIS_NO_CHECK = 1`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubotio%2Fhubot-redis-brain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubotio%2Fhubot-redis-brain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubotio%2Fhubot-redis-brain/lists"}