Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saltfishpr/redis-viewer
A tool to view redis data in terminal.
https://github.com/saltfishpr/redis-viewer
go redis tui
Last synced: about 2 months ago
JSON representation
A tool to view redis data in terminal.
- Host: GitHub
- URL: https://github.com/saltfishpr/redis-viewer
- Owner: saltfishpr
- License: mit
- Created: 2022-02-08T05:31:22.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T14:31:44.000Z (over 2 years ago)
- Last Synced: 2024-09-06T01:13:23.081Z (4 months ago)
- Topics: go, redis, tui
- Language: Go
- Homepage:
- Size: 1.56 MB
- Stars: 151
- Watchers: 4
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis Viewer
A tool to view Redis data in terminal.
![user interface](images/ui.png)
## Install
Go version >=1.16: `go install github.com/saltfishpr/redis-viewer@latest`
or
Download from [Release](https://github.com/saltfishpr/redis-viewer/releases).
## 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:
```yaml
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:6385db:
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:
- [x] Add load animation.
- [x] Friendly value detail.
- [ ] Add log view.Build with [bubbletea](https://github.com/charmbracelet/bubbletea).