HTTP server for Redis with Upstash compatibility.
- Axum: High-performance HTTP server framework for Rust
- Redis: Async Redis client with connection pooling
- Docker: Containerized deployment
- High performance with Rust and Axum
- Compatible with Upstash Redis HTTP API
- Easy deployment with Docker
- Bearer token authentication support
docker-compose upServer runs on http://localhost:3000
# Set environment variables
export REDIS_URL=redis://127.0.0.1:6379
export SR_TOKEN=your_token_here
export PORT=3000
# Build and run
cargo build --release
cargo run --releaseREDIS_URL: Redis connection URL (default:redis://127.0.0.1:6379)SR_TOKEN: Bearer token for authentication (optional)PORT: Server port (default:3000)
Include the token in the Authorization header:
curl -H "Authorization: Bearer your_token_here" http://localhost:3000/...This server implements the Upstash Redis HTTP API, allowing you to use Upstash client libraries with your own Redis instance.
MIT