Skip to content

saltfishpr/redis-viewer

Repository files navigation

Redis Viewer

A tool to view Redis data in terminal.

user interface

Install

Go version >=1.16: go install github.com/saltfishpr/redis-viewer@latest

or

Download from Release.

Usage:

See help: redis-viewer --help

KeyBoard Description
ctrl+c exit redis viewer
previous key
next key
previous page
next page
r reload data from redis
s enter search keywords
enter apply scan with text
Mouse Description
scroll up detail scroll up
scroll down detail scroll down

default config file path is $HOME/.redis-viewer.yaml

example config file:

addrs:
    - 127.0.0.1:6380
    - 127.0.0.1:6381
    - 127.0.0.1:6382
    - 127.0.0.1:6383
    - 127.0.0.1:6384
    - 127.0.0.1:6385

db:
username:
password:

master_name:

Support:

  • client, sentinel and cluster mode.
  • string, hash, list, set, zset key types.

Note:

In Windows, you should change system encoding to UTF-8 before run this program.

TODOs:

  • Add load animation.
  • Friendly value detail.
  • Add log view.

Build with bubbletea.