A terminal user interface for browsing and managing Redis data.
- Tree-based navigation of Redis keys
- Support for all Redis data types (strings, lists, sets, hashes, sorted sets)
- Pattern-based filtering
- Data type filtering
- TTL display and management
- Basic Redis operations (view, edit, delete)
- Search functionality
- Configurable Redis connection
Using Homebrew:
brew install redis
brew services start redis- Linux: Redis Installation Guide for Linux
- Windows: Redis Installation Guide for Windows
- Docker:
docker run --name redis -p 6379:6379 -d redis
redis-cli pingIf you see PONG as the response, Redis is running correctly!
- Clone the repository:
git clone https://github.com/gregk/redis_tui.git
cd redis_tui- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On macOS/Linux- Install in development mode:
pip install -e .pip install redis-tuiThere are two ways to run Redis TUI:
- Using the installed command:
redis-tui- Running the module directly:
python -m src.appConnect to a specific Redis instance:
redis-tui --host localhost --port 6379 --db 0Or when running as a module:
python -m src.app --host localhost --port 6379 --db 0Load sample data for testing/demo purposes:
redis-tui --samples↑/↓: Navigate keys←/→: Collapse/expand tree nodesEnter: Select keyf: Toggle between key tree and data viewd: Toggle raw data viewq: Quitr: Refresh data
Redis connection details can be provided via:
- Command line arguments
- Environment variables:
export REDIS_HOST=localhost export REDIS_PORT=6379 export REDIS_DB=0
- Configuration file:
# ~/.config/redis-tui/config.yaml redis: host: localhost port: 6379 db: 0
- Clone the repository:
git clone https://github.com/yourusername/redis-tui.git
cd redis-tui- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On macOS/Linux- Install development dependencies:
pip install -e ".[dev]"Contributions are welcome! Please see our contributing guidelines for more details.
MIT License