Relay encrypted WebPush notifications to Firebase Cloud Messaging.
Tim Campbell 0819c19f09 Added datadog logging context for trace correlation (#8) | 2 ヶ月 前 | |
---|---|---|
.github | 7 ヶ月 前 | |
.gitignore | 2 年 前 | |
Dockerfile | 2 ヶ月 前 | |
README.md | 2 ヶ月 前 | |
go.mod | 2 ヶ月 前 | |
go.sum | 2 ヶ月 前 | |
webpush-fcm-relay.go | 2 ヶ月 前 |
Relay encrypted WebPush notifications to Firebase Cloud Messaging.
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
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
See toot-relay