redis-viewer

module
v0.0.0-...-0f97b93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: MIT

README

Redis Viewer

A tool to view Redis data in terminal, fork from saltfishpr/redis-viewer.

user interface

Install

go install github.com/bingoohuang/redis-viewer/....@latest

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
e export values to JSON
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
  • or environment REDIS like export REDIS='addr=192.168.0.1:6379&db=0&pwd=abc'

example config file:

addrs:
    - 127.0.0.1:6379

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL