Lightweight poller for your Immich install that sends any new file IDs/types to webhooks
1.5K
A simple bash program to poll your immich install and send any new file IDs/types to predefined webhooks
https://github.com/ION606/immich-webhook-poller
You need "two" files to run this program (one if you directly inject the envars into the env). The first file should be .env and be structured like:
IMMICH_BASE_URL=https://myimmichinstance.com
IMMICH_API_KEY=eggnogisgood212121
The second file is hooks.json and should contain the webhook URLs and their corresponding API keys in the following format:
[
{
"url": "http://example.com",
"key": "thisisakey"
}
]
My recommendation is to use either docker or docker compose. If you choose to use docker you can simply run it as
docker run \
--env-file .env \
-v /path/to/hooks.json:/hooks.json \
-v immich_hooks_data:/store.txt \
ion606:immich-webhook-poller
(Make sure to create the volume first)
If you want to use compose, create a service with
services:
immich-poller:
image: ion606/immich-webhook-poller:latest
env_file: .env
# if you want persistance
volumes:
- immich_hooks_data:/hooks
# if you want persistance
volumes:
immich_hooks_data:
Content type
Image
Digest
sha256:236562090…
Size
7.2 MB
Last updated
8 months ago
docker pull ion606/immich-webhook-poller