modulepackage
0.1.5
Repository: https://github.com/saltfishpr/redis-viewer.git
Documentation: pkg.go.dev
# README
Redis Viewer
A tool to view Redis data in terminal.
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.
# Packages
Copyright © 2022 saltfishpr [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.