Home
Softono

Webpush Fcm Relay

Open source Go
19
Stars
12
Forks
0
Issues
6
Watchers
1 year
Last Commit

 About Webpush Fcm Relay

Relay encrypted WebPush notifications to Firebase Cloud Messaging.

Platforms

Web Self-hosted Cloud

Languages

Go

Links

Need Help Installing Webpush Fcm Relay?

We provide expert installation service for this software. Our team will install, configure, and secure Webpush Fcm Relay on your server. plans start at just $30.

Webpush Fcm Relay

View on GitHub

webpush-fcm-relay

Go

Relay encrypted WebPush notifications to Firebase Cloud Messaging.

Usage

Usage of ./webpush-fcm-relay:
  -bind string
      Bind address (default "127.0.0.1:42069")
  -credentials-file-path string
        Path to the Firebase credentials file
  -max-queue-size int (default 1024)
      The size of the internal queue
  -max-workers int (default 4)
      The number of workers sending requests to fcm

API

Send a request to POST /relay-to/fcm/:device_token(/:extra) with the encrypted payload in the body and content encoding aesgcm.

Required headers:

  • Content-Encoding
  • Crypto-Key
  • Encryption

Supported headers:

  • TTL
  • Topic
  • Urgency

More information

See toot-relay