Trustable
Utilities

REDIS Console

REDIS Console

An interactive Redis console for learning, exploring, and testing Redis functionality, built with React + Tailwind on the frontend and Nuvolaris / Apache OpenServerless actions on the backend. All Redis operations go through a single public action, v1/console, that uses the generated Redis wiring (ctx.REDIS / ctx.REDIS_PREFIX).

Architecture

Sections

Overview · Keys · Laboratories · Strings · Hashes · Lists · Sets · Sorted Sets · Streams · Pub/Sub · TTL · Transactions · Console · Reference

Overview — Live Dashboard

The Overview section (/overview) is a read-only dashboard fed by Redis INFO and DBSIZE through the v1/console status action (detail: true). It surfaces: connection status, Redis version, uptime, connected clients, used memory (with peak), total keys (DBSIZE), current database (with keyspace breakdown), hit rate (from keyspace_hits/keyspace_misses), expired keys, and evicted keys. Hit rate is tone-coded (green ≥ 80%, amber ≥ 50%, red below).

Reference — Educational Command Reference

The Reference section (/reference) is a static, frontend-only curated reference of common Redis commands (src/lib/redis-commands.ts). It never calls Redis. Users filter by category (Generic, String, Hash, List, Set, Sorted Set, Stream, Pub/Sub, Transactions, Server) and search by command/description/syntax. Each entry expands to show the syntax, argument explanations (with optional markers), and a worked example with its expected output. Commands are rendered with token-level syntax highlighting.

Console — Safe Raw Redis Terminal

The Console section (/raw, labelled “Console” in the sidebar) is a terminal-like raw Redis console. The browser sends each typed command to the v1/console action with cmd: "raw"; the frontend never connects to Redis directly.

Frontend behaviour:

Backend behaviour (packages/v1/console/console.py, cmd_raw):

Keys — Visual Key Explorer

The Keys section is a visual browser, not a command form:

The backend gained three ops on v1/console: keys.scan accepts withmeta to return {name,type,ttl} per key, and hashes.hscan / sets.sscan provide cursor-based, bounded iteration over large hashes/sets instead of HGETALL / SMEMBERS.

The UI is responsive (desktop sidebar, mobile drawer) and includes a Redis connection/status indicator, a command execution area, and an output/result panel for each section.

Notes / limitations