No description
  • Rust 71.6%
  • Nix 26.6%
  • Dockerfile 1.8%
Find a file
2019-03-28 18:20:44 +01:00
src only log events that we push to redis 2018-04-17 11:45:02 +02:00
.gitignore add makefile tests and travis config 2018-04-17 13:21:42 +02:00
.travis.yml upload travis build for releases 2018-04-17 13:28:01 +02:00
Cargo.lock initial version 2018-04-16 17:05:10 +02:00
Cargo.toml initial version 2018-04-16 17:05:10 +02:00
Dockerfile add makefile tests and travis config 2018-04-17 13:21:42 +02:00
LICENSE Create LICENSE 2018-04-16 17:06:53 +02:00
Makefile add makefile tests and travis config 2018-04-17 13:21:42 +02:00
notify-redis.iml initial version 2018-04-16 17:05:10 +02:00
README.md Add build instructions 2019-03-28 18:20:44 +01:00
test.sh add makefile tests and travis config 2018-04-17 13:21:42 +02:00
travis-build.sh add makefile tests and travis config 2018-04-17 13:21:42 +02:00

Notify Redis

Push filesystem notifications into a redis list

Getting the binary

There are 3 ways for getting the binary to run

  • Grab a pre-compiled static binary from the releases page.
  • By running make to use docker to build a static binary (requires make and docker)
  • By running cargo build (requires rust)

Usage

notify-redis /path/to/watch redis://localhost list_name

The recorded filesystem events will be pushed to the configured list. The events are encoded in the following ways

  • write|$path
  • remame|$from|$to
  • remove|$path

Filesystem events are debounced and merge where applicable (e.g. touch foo.txt, mv foo.txt bar.txt will result in one write event for bar.txt)