explaingit

rubix-studios-pty-ltd/rubix-redis-bridge

Analysis updated 2026-05-18

5RustAudience · developerLicense

TLDR

A self-hosted HTTP gateway that exposes Redis with Upstash-compatible endpoints, token auth, and command allowlisting.

Mindmap

mindmap
  root((Rubix Redis Bridge))
    What it does
      Redis over HTTP
      Upstash SDK compatible
    Security
      Bearer token auth
      Command allowlist
      Hard-denied commands
    Requests
      Single command
      Pipeline
      Managed transaction
    Ops
      Docker deployment
      Health checks
      Prometheus metrics

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Expose a private Redis instance over HTTP for serverless functions that can't open a direct TCP connection.

USE CASE 2

Swap Upstash's hosted SDKs to point at a self-hosted Redis bridge with the same request format.

USE CASE 3

Enforce a command allowlist and hard-denied commands before requests reach Redis.

USE CASE 4

Monitor the bridge's health and metrics through Prometheus-compatible endpoints.

What is it built with?

RustAxumRedisDocker

How does it compare?

rubix-studios-pty-ltd/rubix-redis-bridgedhkts1/teamclaude-rseternal-flame-ad/unitdc-rs
Stars555
LanguageRustRustRust
Last pushed2024-10-12
MaintenanceStale
Setup difficultyeasymoderate
Complexity2/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

In plain English

Rubix Redis Bridge is a self hosted piece of software that sits in front of a Redis database, a fast in memory data store many applications use for caching and quick lookups, and exposes it over a web style HTTP API instead of Redis's normal direct connection protocol. It is aimed at teams who like the simplicity of Upstash, a hosted Redis-over-HTTP service, but want to run that same kind of API themselves on their own private infrastructure. The bridge is meant for situations where an application cannot make a normal direct connection to Redis, such as serverless functions, services running inside Docker or Tailscale private networks, or other integrations that only speak HTTP. Applications that already use Upstash's own developer libraries for Redis, rate limiting, or realtime features can point those same libraries at this bridge instead, since it is built to accept the same request format. Before any command reaches the actual Redis database, the bridge checks a bearer token to confirm the caller is authorized, and applies a configurable policy of which Redis commands are allowed or specifically blocked, on top of limits on request size, argument count, and how long a request is allowed to run. It supports sending a single command, a batch of commands as a pipeline, or a set of commands as a managed transaction, plus a realtime subscription feature for streaming updates as they happen. It also exposes health check endpoints and metrics in a format the Prometheus monitoring tool can read. The project is designed to be run as a Docker container, configured through environment variables such as which Redis server to connect to, what token to require, and which specific Redis commands to permit. It is released under the MIT License and includes automated tests to check it stays compatible with the official Upstash software development kits.

Copy-paste prompts

Prompt 1
Walk me through deploying Rubix Redis Bridge with Docker using environment mode.
Prompt 2
Explain how command allowlists and hard-denied commands work in this bridge.
Prompt 3
Show me how to send a pipeline and a managed transaction through the bridge's API.
Prompt 4
How would I point the @upstash/redis SDK at my own self-hosted Rubix Redis Bridge instance?

Frequently asked questions

What is rubix-redis-bridge?

A self-hosted HTTP gateway that exposes Redis with Upstash-compatible endpoints, token auth, and command allowlisting.

What language is rubix-redis-bridge written in?

Mainly Rust. The stack also includes Rust, Axum, Redis.

Who is rubix-redis-bridge for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.