No description
  • Rust 84.6%
  • Nix 15.4%
Find a file
2022-07-17 13:32:27 +02:00
.github/workflows bumb dependencies + docker ci 2021-07-31 15:49:26 +02:00
src add builtin docker-hub support 2022-07-17 13:32:27 +02:00
.dockerignore docker setup 2021-01-07 21:01:46 +01:00
.envrc flake 2022-07-17 13:01:44 +02:00
.gitignore flake 2022-07-17 13:01:44 +02:00
Cargo.lock add builtin docker-hub support 2022-07-17 13:32:27 +02:00
Cargo.toml add builtin docker-hub support 2022-07-17 13:32:27 +02:00
Dockerfile docker setup 2021-01-07 21:01:46 +01:00
flake.lock flake 2022-07-17 13:01:44 +02:00
flake.nix flake 2022-07-17 13:01:44 +02:00
README.md add builtin docker-hub support 2022-07-17 13:32:27 +02:00

rss-webhook-trigger

Trigger webhooks from rss feeds.

Send a POST request to a webhook every time an rss feed changes.

Note that this will only detect changes made while the program is running, it is not able to detect changes made to the feeds on program start.

Configuration

interval = 600 # optional, defaults to 30 minutes

[[feed]]
feed = "https://example.com/feed1.xml"
hook = "https://hook.example.com/hook1/call"

[[feed]]
feed = "https://example.com/feed2.xml"
hook = "https://hook.example.com/hook2/call"
headers = { authorization = "...." }
body = { event_type = "build" }

# trigger on docker hub updates instead of rss feed update
[[feed]]
feed = "docker-hub://matrixdotorg/synapse"
hook = "https://hook.example.com/hook2/call"