Skip to content

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

License

Notifications You must be signed in to change notification settings

roma-apps/PushToFCM

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.9%
  • Dockerfile 2.1%