fs-webhook

module
v0.0.0-...-431c38b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT

README

filesystem-webhook

About

This app sends webhooks for filesystem changes. You can define an URL to receive webhooks and a filesystem path to be monitored for changes.

Usage

./fs-webhook -url "<URL>" -path "<PATH>"

Example

Execute the application with the following config:

./fs-webhook -url "http://localhost/webhook-receiver" -path "/tmp/hello-world"

When you make a change to hello-world you will receive the following http post request at your defined url:

POST /webhook-receiver HTTP/1.1
Host: localhost
Content-Length: 56
Content-Type: application/json

{
   "action": "write",
   "path": "/tmp/hello-world"
}

Build

To build executables for multiple platforms you can use the build script at scripts/build.sh.

Directories

Path Synopsis
cmd
fs-webhook command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL