{"id":26608078,"url":"https://github.com/globocom/configurable-http-proxy-redis-backend","last_synced_at":"2025-04-09T21:45:20.198Z","repository":{"id":57205497,"uuid":"106017099","full_name":"globocom/configurable-http-proxy-redis-backend","owner":"globocom","description":"Redis Backend for Jupyter's Configurable Proxy","archived":false,"fork":false,"pushed_at":"2022-10-25T07:10:34.000Z","size":87,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-02T23:01:34.822Z","etag":null,"topics":["datascience","javascript","jupyterhub","nodejs","redis"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/globocom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-06T14:56:37.000Z","updated_at":"2024-07-26T08:29:58.000Z","dependencies_parsed_at":"2022-09-18T01:32:33.534Z","dependency_job_id":null,"html_url":"https://github.com/globocom/configurable-http-proxy-redis-backend","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fconfigurable-http-proxy-redis-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fconfigurable-http-proxy-redis-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fconfigurable-http-proxy-redis-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fconfigurable-http-proxy-redis-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globocom","download_url":"https://codeload.github.com/globocom/configurable-http-proxy-redis-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119439,"owners_count":21050754,"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","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":["datascience","javascript","jupyterhub","nodejs","redis"],"created_at":"2025-03-23T23:32:00.696Z","updated_at":"2025-04-09T21:45:20.173Z","avatar_url":"https://github.com/globocom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Backend for Jupyter's Configurable Proxy\n\n[![Build Status](https://travis-ci.org/globocom/configurable-http-proxy-redis-backend.svg?branch=master)](https://travis-ci.org/globocom/configurable-http-proxy-redis-backend) [![npm version](https://badge.fury.io/js/configurable-http-proxy-redis-backend.svg)](https://badge.fury.io/js/configurable-http-proxy-redis-backend)\n\n*configurable-http-proxy-redis-backend* is an extension for [configurable-http-proxy](https://github.com/jupyterhub/configurable-http-proxy). It allows routes to be saved on [redis](https://redis.io).\n\n# Install\n\n**configurable-http-proxy-redis-backend** requires Node.js ≥ v6.0.0 and **configurable-http-proxy** ≥ v3.1.0.\n\n\nTo install *configurable-http-proxy-redis-backend*:\n\n```\nnpm install configurable-http-proxy configurable-http-proxy-redis-backend\n```\n\n# Usage\n\nFirst of all, you must export `CONFIGURABLE_PROXY_REDIS_URI` environment variable. URI should follow the format specified in [ioredis](https://github.com/luin/ioredis).\n\n```\n export CONFIGURABLE_PROXY_REDIS_URI=redis://host.myredis:6379\n```\n\nAfter installing and exporting `CONFIGURABLE_PROXY_REDIS_URI`, you should be able to use **--storage-backend** *configurable-http-proxy-redis-backend* argument. \n\n```\nconfigurable-http-proxy \\\n    --ip 0.0.0.0 \\\n    --port 8043 \\\n    --api-ip 0.0.0.0 \\\n    --api-port 8044 \\\n    --default-target http://127.0.0.1:8081 \\\n    --error-target http://127.0.0.1:8081/hub/error \\\n    --log-level debug \\\n    --storage-backend configurable-http-proxy-redis-backend\n```\n\n# Redis URL and Sentinel URL\n\nCurrently, we are supporting the follow URL formats:\n\n* redis://host:port/[name]\n* redis://:auth@host:port/[name]\n\n* sentinel://host:port/master-name\n* sentinel://host1:port,host2:port/master-name\n* sentinel://:auth@host1:port,host2:port/master-name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fconfigurable-http-proxy-redis-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobocom%2Fconfigurable-http-proxy-redis-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fconfigurable-http-proxy-redis-backend/lists"}