Skip to main content

A beautiful Redis TUI client built with Textual

Project description

TuiRedis 🔴

A beautiful, high-performance Redis Terminal UI built with Python & Textual.

English | 中文说明


TuiRedis Main View TuiRedis Value View

🚀 Features

  • 🔗 Connection Management — Connect to any Redis instance (supports Password / DB Indexing / SSH Tunnel).
  • 🌲 Hierarchical Key Browser — Interactive Tree view grouping keys by : separator with real-time fuzzy search.
  • ⏱️ TTL Expiry Indicators — Keys color-coded by expiry: 🔴 critical (< 60s), ⏱ expiring (< 1h).
  • ☑ Multi-select & Bulk Delete — Press Space on any key to select, Ctrl+D to delete all selected keys at once.
  • 📄 Advanced Value Viewer — Native support for viewing & editing String, List, Hash, Set, and Sorted Set.
  • ⚡ Pagination & Elastic Loading — Safe loading of millions of keys without blocking the TUI. Hash and Set types support cursor-based HSCAN/SSCAN pagination.
  • 📋 Copy to Clipboard — One-click copy of any String value to your system clipboard.
  • 📤 Export to File — Export any key's value to a local file (.txt for strings, .json for structured types).
  • 📊 Server Info & Monitoring — View exact server stats, memory footprints, connected clients, and keyspace utilization.
  • ✨ CRUD Operations — Create, Read, Update, Delete keys seamlessly.
  • 🎨 Modern Dark Theme — Redis-branded aesthetics with fluid terminal animations.
  • 🛠️ IRedis Integration — Press Ctrl+T to jump into an iredis interactive session. Press Ctrl+Z inside iredis to suspend it and return to TuiRedis instantly; press Ctrl+T again to resume the same session where you left off.

📦 Installation

TuiRedis is available on PyPI and can be installed using your preferred Python package manager.

Using pipx (Recommended)

pipx install tuiredis

Using uvx / uv

uvx tuiredis
# or
uv tool install tuiredis

Using pip

pip install tuiredis

From Source

# Clone the repository
git clone https://github.com/Wooden-Robot/tuiredis.git
cd tuiredis

# Sync dependencies using uv
uv sync

# Run the project
uv run tuiredis

💻 Usage

If you installed TuiRedis via pipx or pip, you can start it directly from the terminal by running tuiredis. If you cloned from the source, you should use uv run tuiredis instead.

# Launch TuiRedis with the Interactive Connection Dialog
tuiredis

# Fast connect via CLI arguments
tuiredis -H 127.0.0.1 -p 6379 -a mypassword -n 0 -c

# Connect securely via an SSH Tunnel
tuiredis -H 127.0.0.1 -p 6379 --ssh-host my-bastion.com --ssh-user root --ssh-key ~/.ssh/id_rsa -c

# Show all available CLI options
tuiredis --help

⌨️ Keyboard Shortcuts

Key Action
q Quit the application
F5 Refresh Key Tree & Info
/ Focus search bar
n Create a New Key
Space Toggle key selection (in Key Tree)
Ctrl+D Bulk delete all selected keys
Tab Switch between active panels
Ctrl+o Switch Connection
Ctrl+t Toggle IRedis session — launch, suspend (Ctrl+Z in iredis), and resume seamlessly
Ctrl+i Toggle Server Info Panel

Requirements: Python >= 3.10 / Redis Server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tuiredis-0.5.1.tar.gz (326.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tuiredis-0.5.1-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file tuiredis-0.5.1.tar.gz.

File metadata

  • Download URL: tuiredis-0.5.1.tar.gz
  • Upload date:
  • Size: 326.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tuiredis-0.5.1.tar.gz
Algorithm Hash digest
SHA256 fc3975cd77f34bff40021bc5a00d3e8ae31dfb7c2dae0b294b76620bbdae3283
MD5 56f8a8bfc548460476daf9a5ca1892c0
BLAKE2b-256 18702a33cabc11fe75675deb9caca06f3c634e84a3ff96e23c12dae7a13e4fda

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuiredis-0.5.1.tar.gz:

Publisher: publish.yml on Wooden-Robot/TuiRedis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tuiredis-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: tuiredis-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tuiredis-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae6457954435c660abe504019e28809284d2f88d6b3595a495d8ab5ac8e8a482
MD5 4696bed34007ebf00095bbd212ccfd4c
BLAKE2b-256 27a50c9236ec39dad4f989ef5a5df0525fe71c6a6da23c956e3817580cee1b5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuiredis-0.5.1-py3-none-any.whl:

Publisher: publish.yml on Wooden-Robot/TuiRedis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page