Simple, visual command line tool for redis

Overview

redis-cui

Build Status GolangCI Go Report Card

Simple, visual command line tool for redis.

demo

Feature

  • Simple and visual
  • Server friendly
  • Supported vim keys
  • Same arguments as redis-cli

Installation

go get github.com/kyai/redis-cui

Or download the binary and add it to your PATH

Latest release

Usage

$ redis-cui
Usage: redis-cui [OPTIONS]

  -h 
   
       Server hostname (default: 127.0.0.1)
  -p 
    
            Server port (default: 6379)
  -a 
     
         Password to use when connecting to the server
  -n 
      
          Database number
  -q              Default redis query condition (default: *)
  --help          Output this help and exit
  --version       Output version and exit

      
     
    
   

LICENSE

MIT

Issues
  • panic due to unrecognised data type

    panic due to unrecognised data type

    Redis version 5.0.5

    I was just trying this project out for the first time with my local test redis instance and I got this error while browsing through my keys.

    I only have one streaming key and didn't need to browse it, would it be possible to fix it so that unknown datatypes are simply skipped over?

    panic: Unknown type: STREAM
    
    goroutine 1 [running]:
    log.Panic(0xc0000a99a8, 0x2, 0x2)
            /usr/lib/go/src/log/log.go:333 +0xac
    github.com/kyai/redis-cui/class.NewClass(0xc000318c46, 0x6, 0xc00014c000, 0x6, 0xc0000a9bd0)
            /home/kio/go/src/github.com/kyai/redis-cui/class/class.go:34 +0x191
    github.com/kyai/redis-cui/cui.renderData(0xc0001640f0, 0x0)
            /home/kio/go/src/github.com/kyai/redis-cui/cui/render.go:103 +0x8d0
    github.com/kyai/redis-cui/cui.handleKeysSelect(0xc00014c000, 0xc0001640f0, 0x0, 0x0, 0x5)
            /home/kio/go/src/github.com/kyai/redis-cui/cui/event.go:102 +0x54
    github.com/kyai/redis-cui/cui.handleKeysNextLine(0xc00014c000, 0xc0001640f0, 0x4, 0xc0000a9d01)
            /home/kio/go/src/github.com/kyai/redis-cui/cui/event.go:89 +0x3a
    github.com/kyai/gocui.(*Gui).execKeybindings(0xc00014c000, 0xc0001640f0, 0xc0000a7dc0, 0x0, 0x6, 0x7)
            /home/kio/go/src/github.com/kyai/gocui/gui.go:647 +0xc4
    github.com/kyai/gocui.(*Gui).onKey(0xc00014c000, 0xc0000a7dc0, 0x2, 0x0)
            /home/kio/go/src/github.com/kyai/gocui/gui.go:611 +0x1b3
    github.com/kyai/gocui.(*Gui).handleEvent(...)
            /home/kio/go/src/github.com/kyai/gocui/gui.go:426
    github.com/kyai/gocui.(*Gui).MainLoop(0xc00014c000, 0x0, 0x1)
            /home/kio/go/src/github.com/kyai/gocui/gui.go:386 +0x1e3
    github.com/kyai/redis-cui/cui.New()
            /home/kio/go/src/github.com/kyai/redis-cui/cui/cui.go:60 +0x22a
    main.main()
            /home/kio/go/src/github.com/kyai/redis-cui/main.go:23 +0x22f
    
    opened by Sekenre 2
  • dependencies outdated

    dependencies outdated

    I get following error when I try to install your tool package github.com/go-redis/redis/v7: cannot find package "github.com/go-redis/redis/v7" in any of: /usr/lib/go-1.10/src/github.com/go-redis/redis/v7 (from $GOROOT) /root/go/src/github.com/go-redis/redis/v7 (from $GOPATH)

    Could you please fix it? I seems that your tool is that I need. I've no experience in go, so I can't fix it myself

    opened by newsfusion 1
Owner
Code & Cat
null
An open-source GitLab command line tool bringing GitLab's cool features to your command line

GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code without switching

Clement Sam 1.9k May 14, 2022
A command line tool to prompt for a value to be included in another command line.

readval is a command line tool which is designed for one specific purpose—to prompt for a value to be included in another command line. readval prints

Venky 0 Dec 22, 2021
💾 A visual du(1) alternative for human beings

dux A disk usage analyzer. Like du(1), but displays the results as an interactive treemap. testdata 111B (8 files) (4) ┌testdata/ 111B────────────

Jens Green Olander 1 Jan 15, 2022
Redis inventory is a tool to analyse Redis memory usage by key patterns and displaying it hierarchically

Redis inventory is a tool to analyse Redis memory usage by key patterns and displaying it hierarchically. The name is inspired by "Disk Inventory X" tool doing similar analysis for disk usage.

Aleks Obukhov 175 May 1, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Gruntwork 571 May 12, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command. You give git-xargs:

Maxar Infrastructure 1 Feb 5, 2022
A command line tool for simplified docker volume command built with go

dockervol A command line tool for simplified docker volume command built with go. Features: Remove anonymous volume (beta) Remove volume by matching n

Moh Achun Armando 0 Dec 18, 2021
Package command provide simple API to create modern command-line interface

Package command Package command provide simple API to create modern command-line interface, mainly for lightweight usage, inspired by cobra Usage pack

chenen 0 Jan 16, 2022
Watcher - A simple command line app to watch files in a directory for changes and run a command when files change!

Watcher - Develop your programs easily Watcher watches all the files present in the directory it is run from of the directory that is specified while

Geet Sethi 1 Mar 27, 2022
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

asciigraph Go package to make lightweight ASCII line graphs ╭┈╯. Installation go get github.com/guptarohit/asciigraph Usage Basic graph package main

Rohit Gupta 1.9k May 12, 2022
fofax is a fofa query tool written in go, positioned as a command-line tool and characterized by simplicity and speed.

fofaX 0x00 Introduction fofax is a fofa query tool written in go, positioned as

null 377 May 18, 2022
A simple command line tool using which you can skip phone number based SMS verification by using a temporary phone number that acts like a proxy.

Fake-SMS A simple command line tool using which you can skip phone number based SMS verification by using a temporary phone number that acts like a pr

Narasimha Prasanna HN 661 May 18, 2022
A very simple command line tool for downloading YouTube videos.

GoTube Overview This repository contains a single-file implementation of YouTube video downloader written in Go. It does not require any third-party p

Jimmy Yang 186 Mar 25, 2022
Soren L. Hansen 1.5k May 19, 2022
Simple command line tool to control TP-Link HS100 and HS110 Devices

tplink-hs1x-cli A simple app to control TPLink HS100 and HS110 devices. Sometimes it is just easier to use a simple cli tool to turn the lights on and

null 0 Nov 9, 2021
Simple command line tool helper to integrate with hashicorp vault & github api

Overview CI/CD Toolkit is small command line tool helper to integrate with vault secret kv management & github api We can use simple command to genera

M Azwar Nurrosat 1 Apr 2, 2022
A simple tool which you can use to move through your directories from the command line

Fe What is Fe ? Fe is a simple tool which you can use to move through your direc

Pranav Baburaj 8 Jan 1, 2022
Vfkit - Simple command line tool to start VMs through virtualization framework

vfkit - Simple command line tool to start VMs through virtualization framework v

Christophe Fergeau 0 Feb 21, 2022
OpenStreetMap find - A simple command line tool to explore osm data

A small tool for playing around with osm databases (those resulting from osm2pgsql). Read SETUP_DATABASE.md to learn how to set up the required databa

Richard Ulmer 119 May 3, 2022