/goredis

live monitoring redis commands via pcap in a browser

Primary LanguageJavaScript

Goredis

goredis is intended to be a graphical version of redis "monitor" tool. It captures network traffic via pcap to do so.

building

You need at least Go 1.11i with modules enabled, Ragel 6.8 and libpcap

git clone https://github.com/hellvinz/goredis.git

cd goredis

ragel -Z -o src/redis_protocol/parse.go src/redis_protocol/parse.rl

go build -o bin/goredis src/cmd/goredis/main.go

building the ui (optional)

cd ui
npm install -g yo
npm install -g generator-angular
npm install grunt
npm install
bower install
bundle
bundle exec grunt build

running

sudo ./bin/goredis -d en0 -p 6379

where en0 is the interface you want to capture the traffic on

then navigate to http://thehost:12345, where thehost is where you have ran goredis

limitations

tested only on macos/debian and chrome