Runs shell scripts when syncthing folders get updated. 🦉🕗
| .gitignore | ||
| .npmignore | ||
| api.js | ||
| hooks.js | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
syncthing-hooks
Very early experiment for running event hooks when SyncThing detects changes in a folder.
Prerequisites
A somewhat recent version of Node.js.
Installation
None yet, there's no point installing this as a daemon right now. But you'll need to install the dependencies to make it run:
npm i
# or
yarn
Usage
You can experiment with it by just running it via Node.js and monitoring the output.
API_KEY=mykey node index.js
Then change some files in one of your monitored folders.