This small NodeJS service listens to incoming webhooks from webmention.io and forwards them to an Android/iOS smartphone via Pushover.
To get this run for you, you need to:
-
Fork this repo and clone it locally
-
Create an
.env
file in the root of your new project folder and add following values to the file:
Key | Description |
---|---|
PORT | Every number between 1 and 65535 (Optional, Default 3000) |
WEBHOOK_SECRET | webmention.io Webhook Secret, you invent |
PUSHOVER_USER | Pushover User Key you get here: https://pushover.net |
PUSHOVER_TOKEN | Pushover Application API Key you got here https://pushover.net/apps/*your-registered-application* |
-
Publish the Web Service via your forked repo on a hoster like render.com, Azure App Services or the like. You will get an URL under which the service can be reached, for example https://my-wmpush-service.onrender.com
-
Enter the URL, including the POST path defined in the code, and the WEBHOOK_SECRET into the WEB HOOKS settings on webmention.io ... for example https://my-wmpush-service.onrender.com/webhook
-
Await you first Pushover notification for an incoming Webmention for your site ...
An introductory article is online on kiko.io ...