A golang tool to view Redis data in terminal

Redis Viewer

A tool to view Redis data in terminal.

user interface

Usage:

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

config file directory:

  • Windows: %USERPROFILE%/redis-viewer.yml
  • Linux: ~/.config/redis-viewer/redis-viewer.yml

example config file:

mode: client

addr: 127.0.0.1:6379

master_name:
sentinel_addrs:

password: "123456"
db: 0

Support:

  • client and sentinel connection.
  • 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.

Owner
SaltFish
🐱‍💻🐱‍💻🐱‍💻🐱‍💻
SaltFish
Similar Resources

High-performance framework for building redis-protocol compatible TCP servers/services

Redeo The high-performance Swiss Army Knife for building redis-protocol compatible servers/services. Parts This repository is organised into multiple

Jan 4, 2023

Go client for Redis

Redigo Redigo is a Go client for the Redis database. Features A Print-like API with support for all Redis commands. Pipelining, including pipelined tr

Jan 1, 2023

Go Redis Client

xredis Built on top of github.com/garyburd/redigo with the idea to simplify creating a Redis client, provide type safe calls and encapsulate the low l

Sep 26, 2022

Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)

gokv Simple key-value store abstraction and implementations for Go Contents Features Simple interface Implementations Value types Marshal formats Road

Dec 24, 2022

godis - an old Redis client for Go

godis Implements a few database clients for Redis. There is a stable client and an experimental client, redis and exp, respectively. To use any of the

Apr 16, 2022

Google Go Client and Connectors for Redis

Go-Redis Go Clients and Connectors for Redis. The initial release provides the interface and implementation supporting the (~) full set of current Red

Oct 25, 2022

Redis client library for Go

go-redis go-redis is a Redis client library for the Go programming language. It's built on the skeleton of gomemcache. It is safe to use by multiple g

Nov 8, 2022

Redis Sorted Sets Benchmark

redis-zbench-go Redis Sorted Sets Benchmark Overview This repo contains code to trigger load ( ZADD ) or query (ZRANGEBYLEX key min max) benchmarks, w

May 18, 2021

Examples and code to assign a name to your MongoDB, MySQL, PostgreSQL, RabbitMQ, and redis connection.

Examples and code to assign a name to your MongoDB, MySQL, PostgreSQL, RabbitMQ, and redis connection.

your connection deserves a name 👀 When your app interacts with an external system, assign a name to the connection. An external system in this contex

Dec 14, 2022
Comments
  • support for a `--version` flag

    support for a `--version` flag

    Would be great if the binary supported a --version flag to report its version so we can automate the process of determining if our local binary is up to date and downloading the latest release when necessary.

  • Override config with flags

    Override config with flags

    I don't want to create a config file for each cli tool so I added the option to override the values in the config file with flags. I also updated the go.mod file and simplified your LoadConfig()-function a bit. These two changes are not really in the scope of this PR and if you don't like it I can remove them.

  • 同学,您这个项目引入了233个开源组件,存在1个漏洞,辛苦升级一下

    同学,您这个项目引入了233个开源组件,存在1个漏洞,辛苦升级一下

    检测到 SaltFishPr/redis-viewer 一共引入了233个开源组件,存在1个漏洞

    漏洞标题:Go SSH拒绝服务漏洞
    缺陷组件:golang.org/x/[email protected]
    漏洞编号:CVE-2020-9283
    漏洞描述:Go SSH是一个使用go语言开发的极度简洁的ssh工具,用于远程管理linux、unix等机器。
    Go SSH存在拒绝服务漏洞,该漏洞源于网络系统或产品未对输入的数据进行正确的验证,攻击者可利用该漏洞导致拒绝服务条件,拒绝向合法用户提供服务。
    国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-14300
    影响范围:(∞, 0.0.0-20200220183623-bac4c82f6975)
    最小修复版本:0.0.0-20200220183623-bac4c82f6975
    缺陷组件引入路径:github.com/SaltFishPr/redis-viewer@->github.com/spf13/[email protected]>github.com/spf13/[email protected]>golang.org/x/[email protected]
    

    另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=a918a6

Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)

Go-ReJSON - a golang client for ReJSON (a JSON data type for Redis) Go-ReJSON is a Go client for ReJSON Redis Module. ReJSON is a Redis module that im

Dec 25, 2022
Redis client Mock Provide mock test for redis query

Redis client Mock Provide mock test for redis query, Compatible with github.com/go-redis/redis/v8 Install Confirm that you are using redis.Client the

Dec 27, 2022
GoBigdis is a persistent database that implements the Redis server protocol. Any Redis client can interface with it and start to use it right away.

GoBigdis GoBigdis is a persistent database that implements the Redis server protocol. Any Redis client can interface with it and start to use it right

Apr 27, 2022
Use Redis' MONITOR to draw things in a terminal
Use Redis' MONITOR to draw things in a terminal

Redis Top Redistop uses MONITOR to watch Redis commands and shows per command and per host statistics. Because MONITOR streams back all commands, its

Aug 30, 2022
redis client implement by golang, inspired by jedis.

godis redis client implement by golang, refers to jedis. this library implements most of redis command, include normal redis command, cluster command,

Dec 6, 2022
Type-safe Redis client for Golang

Redis client for Golang ❤️ Uptrace.dev - distributed traces, logs, and errors in one place Join Discord to ask questions. Documentation Reference Exam

Jan 1, 2023
Type-safe Redis client for Golang

Redis client for Golang ❤️ Uptrace.dev - distributed traces, logs, and errors in one place Join Discord to ask questions. Documentation Reference Exam

Jan 4, 2023
A Golang implemented Redis Server and Cluster.
A Golang implemented Redis Server and Cluster.

Godis is a golang implementation of Redis Server, which intents to provide an example of writing a high concurrent middleware using golang.

Dec 28, 2022
Redis client for Golang
Redis client for Golang

Redis client for Golang To ask questions, join Discord or use Discussions. Newsl

Dec 23, 2021
Redis client for Golang
Redis client for Golang

Redis client for Golang Discussions. Newsletter to get latest updates. Documentation Reference Examples RealWorld example app Other projects you may l

Dec 30, 2021