tateisu / PushToFCM

Receives WebPush message from Mastodon, send it to Firebase Cloud Messaging

Repository from Github https://github.comtateisu/PushToFCMRepository from Github https://github.comtateisu/PushToFCM

Deprecated: moved to https://github.com/tateisu/SubwayTooterAppServerV2

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

About

Receives WebPush message from Mastodon, send it to Firebase Cloud Messaging

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 98.3%Language:Dockerfile 1.7%