V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
chenchengbin
V2EX  ›  分享创造

分享一个小众 RedisGUI 软件

  •  
  •   chenchengbin · 156 天前 · 1801 次点击
    这是一个创建于 156 天前的主题,其中的信息可能已经有所发展或是发生改变。

    web-redis-manager

    web-redis-manager是 redis 的管理工具,支持同时管理多个 redis 实例, 慢日志, 服务器信息, 配置信息, CLI 模式,同时支持 web 端和 webview, 可以作为 GUI 和在线管理界面. 程序由 Go 语言和 Vue 开发完成, 现已可以完成日常 95%的工作.

    特性

    • BasicAuth
    • 支持 redis 常用数据类型管理:
      • list
      • string
      • hashmap
      • set
      • sorted set
      • stream
      • json (开发中)
      • RediSeach (开发中)
    • CLI 命令行模式
    • 慢日志查看
    • 服务信息查看
    • 连接客户端管理
    • 发布订阅模式
    • 性能图表监控
    • 只读管理模式

    使用方法

    
    git  clone --depth=1 https://github.com/xiusin/web-redis-manager.git
    
    cd  web-redis-manager
    
    git  checkout  develop
    
    yarn  # 安装前端依赖
    
    yarn  build  # 打包前端代码
    
    cd  server
    
    go  mod  tidy  # 下载 go 依赖包
    
    go  build  -o  rdm.exe  # 编译 windows
    
    go  build  -o  rdm  # *nix
    
    # 非 basic auth 启动 (Webview 本地窗口)
    ./rdm.exe
    
    # basic auth 启动 (用于 web 端授权密码登录)
    
    ./rdm.exe  --username=admin  --password=123456
    
    

    演示案例: http://rdm.xiusin.cn

    账号: admin 密码:123456

    示意图

    入口页面

    ./images/1-min.png

    连接实例

    ./images/2-min.png

    管理键

    ./images/3-min.png

    操作值

    ./images/4-min.png

    配置信息

    ./images/5-min.png

    服务器信息

    ./images/6-min.png

    慢日志

    ./images/7-min.png

    CLI 管理

    ./images/8-min.png

    huangliu
        1
    huangliu  
       156 天前
    不错~
    archxm
        2
    archxm  
       156 天前
    要是有大键值的,一下就把服务器干卡死了
    nickyadance23
        3
    nickyadance23  
       155 天前
    @archxm 这跟他的 GUI 也没啥关系,cli 读一样的
    chenchengbin
        4
    chenchengbin  
    OP
       155 天前
    @archxm 后面会优化 LIST 等复杂类型的分段读取,如果是本身就是一个大键值,我想极限情况是个工具都会卡死. 这个是无解的
    archxm
        5
    archxm  
       155 天前 via Android
    @nickyadance23 用 cli 会非常小心,但 gui 一下子就出来了。
    cleanery
        6
    cleanery  
       155 天前
    看到一个命令行 GUI 工具: https://github.com/mylxsw/redis-tui
    感觉挺酷的
    cleanery
        7
    cleanery  
       155 天前
    哦, 使用的图形库应该是 https://github.com/rivo/tview
    loginv2
        8
    loginv2  
       155 天前
    @chenchengbin 截取一部分显示呢?
    cheneydog
        9
    cheneydog  
       155 天前
    👍支持
    chenchengbin
        10
    chenchengbin  
    OP
       155 天前
    @loginv2 什么意思,是 key 和 value 只显示部分?
    chenchengbin
        11
    chenchengbin  
    OP
       155 天前
    @cheneydog 谢谢👍
    loginv2
        12
    loginv2  
       154 天前
    @chenchengbin 对,判断一下长度然后截断显示,再加个提醒就行,有时候 GUI 并不是需要看到数据全部,只是为了方便找一下特定数据
    chenchengbin
        13
    chenchengbin  
    OP
       147 天前
    @loginv2 是的这个可以先查一下数据长度, 然后给出提醒👍🏻
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2216 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:40 · PVG 17:40 · LAX 02:40 · JFK 05:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.