A blazingly fast, lightweight in-memory key-value store built with TypeScript and Bun
In-memory storage with optimized data structures for blazing fast operations
Supports 20+ Redis commands including strings, lists, and TTL operations
Run with a single Docker command on port 6379, just like real Redis
Minimal dependencies, powered by Bun for maximum performance
Support for strings, lists with automatic type detection
Automatic expiration with background cleanup worker
AOF (Append-Only File) persistence ensures data survives restarts and crashes
Get up and running in seconds with Docker
docker run -d -p 6379:6379 -v redis-data:/app/storage --name mini-redis ghcr.io/saman-dev12/mini-redis:latest
Start the Mini-Redis server with a single Docker command. The image will be automatically pulled from GitHub Container Registry. Data persists in the redis-data volume.
Connect to the server using: docker exec -it mini-redis bun run test.ts
Use Redis commands like SET, GET, LPUSH, INCR and more!