Forward Cloudflare notifications to pushover with Cloudflare worker.
- Clone the repo;
- Run
pnpm i
in your terminal; - Run
pnpm run deploy
in your terminal; - log in to your pushover, you can find your user key at https://pushover.net/;
- Register your app on https://pushover.net/apps/build, you will find your app token;
- Go to your Cloudflare dash, and set up environment variables
PUSHOVER_APP_TOKEN
andPUSHOVER_USER_KEY
(hide is recommended); - If you wish, you can set up environment variables
WEBHOOK_SECRET
(hide is recommended); - Go to your Cloudflare notifications page and add the Webhook. The
URL
is your worker's URL and the optional secret should be the same asWEBHOOK_SECRET
; - It should work now;
- You can override it with URL search params;