https://github.com/gphper/grm
redis可视化工具(gin+element-plus)【部署简单便捷,SSH连接,用户校验,操作日志、命令行模式、LUA脚本执行、Redis监控等】
https://github.com/gphper/grm
database-gui element-plus gin golang redis-client redis-gui redis-gui-client visualizer vue3 xterm-js
Last synced: about 2 months ago
JSON representation
redis可视化工具(gin+element-plus)【部署简单便捷,SSH连接,用户校验,操作日志、命令行模式、LUA脚本执行、Redis监控等】
- Host: GitHub
- URL: https://github.com/gphper/grm
- Owner: gphper
- License: apache-2.0
- Created: 2022-06-06T11:37:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T07:28:39.000Z (over 1 year ago)
- Last Synced: 2025-02-19T00:11:58.915Z (about 2 months ago)
- Topics: database-gui, element-plus, gin, golang, redis-client, redis-gui, redis-gui-client, visualizer, vue3, xterm-js
- Language: Go
- Homepage:
- Size: 2.53 MB
- Stars: 205
- Watchers: 4
- Forks: 35
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-x - grm - plus)【部署简单便捷,SSH连接,用户校验,操作日志、命令行模式、LUA脚本执行等】 (Go)
- awesome-ops - gphper/grm - 2.0|206|2022-06-06|2023-11-24 | Golang 开发的 Redis 可视化工具,部署简单便捷,SSH连接,用户校验,操作日志、命令行模式、LUA 脚本执行、Redis 监控等 | (Redis-Manage)
- awesome - gphper/grm - redis可视化工具(gin+element-plus)【部署简单便捷,SSH连接,用户校验,操作日志、命令行模式、LUA脚本执行、Redis监控等】 (Go)
README
![]()
  
### 介绍 [Introduction]
基于go+vue的web版redis管理工具【Web redis management tool based on golang and vue】
### 功能清单
- :white_check_mark: 管理连接(直连和SSH)、切换DB
- :white_check_mark: 支持 string/list/set/zset/hash/stream 类型的增删查改
- :white_check_mark: 编译打包成独立的二进制文件
- :white_check_mark: 服务信息展示
- :white_check_mark: 支持命令行
- :white_check_mark: 用户鉴权
- :white_check_mark: 操作日志
- :white_check_mark: 支持LUA脚本
- :white_check_mark: Redis监控
## 编译代码
+ web目录下
`npm run build`
+ grm目录下
`go build -ldflags "-s -w" .\main.go`
+ 推荐使用upx再次压缩
`upx -9 main.exe -o grm.exe`## 用户管理
* 添加用户 `grm user add`
* 删除用户 `grm user delete`
## 运行项目### 方式一 【推荐】
* 执行 `grm srv run [-H 指定host] [-p 指定端口]`
### 方式二
* 项目根目录执行
`docker build -t grmdocker:v1 .`
* 运行容器
`docker run -d -p 宿主机端口:8088 grmdocker:v1`
### 方式三
* 执行 `grm run -H ip地址 -p ip端口`
* 安装服务 `grm run --install`
* 卸载服务 `grm run --uninstall`
* 运行服务 `grm run --start`
* 停止服务 `grm run --stop`
访问地址 http://ip地址:ip端口/static/#/
## Nginx反向代理
```
server {
listen 80;
server_name www.xxx.com;location / {
proxy_pass http://host:port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}
```## 使用已有域名的Nginx配置
```
listen 80;
server_name www.xxx.com;location /grmapix/ {
proxy_pass http://host:port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}location ~ ^/grm/(.*) {
proxy_pass http://host:port/$1;
}
```
* 访问地址 http://www.xxx.com/grm/static/#/## 持续更新中。。。
### 登录

### 服务管理

### 数据展示

### Terminal

### 添加数据

### LUA脚本

### 系统设置

### REDIS监控
## 支持作者
如果觉得这个项目对你有帮助的话,请留下一颗star ⭐⭐鼓励一下!
If the project is helpful to you, please give a star to encourage me