mirror of
https://github.com/icewind1991/notify-redis.git
synced 2026-06-03 10:14:13 +02:00
No description
- Rust 71.6%
- Nix 26.6%
- Dockerfile 1.8%
| .github/workflows | ||
| src | ||
| tests | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| notify-redis.iml | ||
| package.nix | ||
| README.md | ||
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
nix buildto use docker to build a static binary (requiresnix) - By running
cargo build(requiresrust)
Usage
notify-redis /path/to/watch redis://localhost list_name
The recorded filesystem events will be pushed to the configured list. Details about how events are encoded can be found here
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)