{"id":13525279,"url":"https://github.com/gphper/grm","last_synced_at":"2025-09-13T01:23:01.233Z","repository":{"id":41066574,"uuid":"500408654","full_name":"gphper/grm","owner":"gphper","description":"redis可视化工具（gin+element-plus）【部署简单便捷，SSH连接，用户校验，操作日志、命令行模式、LUA脚本执行、Redis监控等】","archived":false,"fork":false,"pushed_at":"2023-11-24T07:28:39.000Z","size":2650,"stargazers_count":208,"open_issues_count":3,"forks_count":35,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-07T15:07:37.703Z","etag":null,"topics":["database-gui","element-plus","gin","golang","redis-client","redis-gui","redis-gui-client","visualizer","vue3","xterm-js"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gphper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-06T11:37:50.000Z","updated_at":"2025-05-05T16:24:45.000Z","dependencies_parsed_at":"2024-01-13T16:22:23.813Z","dependency_job_id":"6aae090c-44c6-4511-b6c2-92d42fffd7b9","html_url":"https://github.com/gphper/grm","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gphper%2Fgrm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gphper%2Fgrm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gphper%2Fgrm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gphper%2Fgrm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gphper","download_url":"https://codeload.github.com/gphper/grm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902614,"owners_count":21822261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-gui","element-plus","gin","golang","redis-client","redis-gui","redis-gui-client","visualizer","vue3","xterm-js"],"created_at":"2024-08-01T06:01:17.380Z","updated_at":"2025-05-07T15:07:46.298Z","avatar_url":"https://github.com/gphper.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/18718299/176125402-04261517-be75-43a2-8687-3d5e8f9397e9.png\" alt=\"grm\" width=\"140\"\u003e\n\u003c/p\u003e\n\n![vue3](http://img.shields.io/badge/vue3-element--plus-blue.svg?style=flat-square) ![go](http://img.shields.io/badge/go-gin-blue.svg?style=flat-square) ![visitor](https://visitor-badge.glitch.me/badge?page_id=gphper.grm)\n\n### 介绍 [Introduction]\n\n基于go+vue的web版redis管理工具【Web redis management tool based on golang and vue】\n\n### 功能清单\n\n- :white_check_mark: 管理连接(直连和SSH)、切换DB\n\n- :white_check_mark: 支持 string/list/set/zset/hash/stream 类型的增删查改\n\n- :white_check_mark: 编译打包成独立的二进制文件\n\n- :white_check_mark: 服务信息展示\n\n- :white_check_mark: 支持命令行\n\n- :white_check_mark: 用户鉴权\n\n- :white_check_mark: 操作日志\n\n- :white_check_mark: 支持LUA脚本\n\n- :white_check_mark: Redis监控\n\n## 编译代码\n+ web目录下\n  `npm run build`\n+ grm目录下\n  `go build -ldflags \"-s -w\" .\\main.go`\n+ 推荐使用upx再次压缩\n  `upx -9 main.exe -o grm.exe`  \n\n## 用户管理\n  * 添加用户 `grm user add`\n  * 删除用户 `grm user delete`\n## 运行项目\n\n  ### 方式一 【推荐】\n    * 执行 `grm srv run [-H 指定host] [-p 指定端口]`\n  ### 方式二\n    * 项目根目录执行\n      `docker build -t grmdocker:v1 .`\n    * 运行容器\n      `docker run -d -p 宿主机端口:8088 grmdocker:v1`  \n  ### 方式三\n    * 执行 `grm run -H ip地址 -p ip端口`  \n    * 安装服务 `grm run --install`\n    * 卸载服务 `grm run --uninstall`\n    * 运行服务 `grm run --start`\n    * 停止服务 `grm run --stop`\n  访问地址 http://ip地址:ip端口/static/#/\n## Nginx反向代理\n  ```\n  server {\n        listen       80;\n        server_name  www.xxx.com;\n\n        location / {\n        \t  proxy_pass http://host:port;\n            proxy_http_version 1.1;\n            proxy_set_header Upgrade $http_upgrade;\n            proxy_set_header Connection \"Upgrade\";\n        }\n  }\n```\n\n## 使用已有域名的Nginx配置\n  ```\n  listen       80;\n  server_name  www.xxx.com;\n\n  location /grmapix/ {\n      proxy_pass http://host:port;\n      proxy_http_version 1.1;\n      proxy_set_header Upgrade $http_upgrade;\n      proxy_set_header Connection \"Upgrade\";\n  }\n\n  location ~ ^/grm/(.*) {\n      proxy_pass http://host:port/$1;\n  }\n  ```\n* 访问地址  http://www.xxx.com/grm/static/#/\n\n## 持续更新中。。。\n### 登录\n![login](https://user-images.githubusercontent.com/18718299/180608188-9d7a3d97-3c4c-40ea-bcfe-444ed0fc2900.gif)\n### 服务管理\n![conn](https://user-images.githubusercontent.com/18718299/179389039-d626c654-2874-40e0-951b-27a759d66192.gif)\n### 数据展示\n![show](https://user-images.githubusercontent.com/18718299/179389052-2229d782-3551-4e07-81e1-6ed8e58d8776.gif)\n### Terminal\n![cmd](https://user-images.githubusercontent.com/18718299/179389058-039fd95d-3f59-49e2-8141-c994964aa7b0.gif)\n### 添加数据\n![add](https://user-images.githubusercontent.com/18718299/179389065-98829c30-6098-44de-8471-5ba24be6aab1.gif)\n### LUA脚本\n![lua](https://user-images.githubusercontent.com/18718299/183094603-533e7f6f-8f20-4f3d-9f0d-27508936f8fe.gif)\n### 系统设置\n![tree](https://user-images.githubusercontent.com/18718299/184534033-9c6cf55c-9752-4293-8baf-e5fd874f2959.gif)\n### REDIS监控\n![moni](https://user-images.githubusercontent.com/18718299/189467120-1ad4a4fc-1a89-4ed3-a84b-1b83f48d5c10.gif)\n\n## 支持作者\n如果觉得这个项目对你有帮助的话，请留下一颗star ⭐⭐鼓励一下！\nIf the project is helpful to you, please give a star to encourage me\n","funding_links":[],"categories":["Go","Redis-Manage"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgphper%2Fgrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgphper%2Fgrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgphper%2Fgrm/lists"}