Receives WebPush message from Mastodon, send it to Firebase Cloud Messaging
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.sample
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
genKey.js
index.js
package-lock.json
package.json
yarn.lock

README.md

This app receives event sent from Mastodon's WebPush REST API, then this app send it to my mobile app (Subway Tooter) via Firebase Cloud Messaging.

Currently payload decryption is not implemented because Subway Tooter does not requires it's content, just use event as notification check trigger.

But if you want sample of payload decryption. see also

JWT verify sample

VAPID for Web Push