https://github.com/crow-misia/go-push-receiver
A library to subscribe to GCM/FCM and receive notifications within Go.
https://github.com/crow-misia/go-push-receiver
fcm gcm go push-notifications receive-notifications
Last synced: 4 months ago
JSON representation
A library to subscribe to GCM/FCM and receive notifications within Go.
- Host: GitHub
- URL: https://github.com/crow-misia/go-push-receiver
- Owner: crow-misia
- License: mit
- Created: 2019-09-01T15:14:52.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2026-02-08T11:19:18.000Z (4 months ago)
- Last Synced: 2026-02-08T17:57:18.745Z (4 months ago)
- Topics: fcm, gcm, go, push-notifications, receive-notifications
- Language: Go
- Homepage:
- Size: 22.4 MB
- Stars: 36
- Watchers: 2
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-push-receiver
[](https://godoc.org/github.com/crow-misia/go-push-receiver)
[](https://goreportcard.com/report/github.com/crow-misia/go-push-receiver)
[](LICENSE)
[](https://github.com/crow-misia/go-push-receiver/actions)
A library to subscribe to GCM/FCM and receive notifications.
This library was developed inspired by push-receiver (https://github.com/MatthieuLemoine/push-receiver/).
## Build
1. prepare
```shell
mise install
lefthook install
```
2. build
```shell
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ protoc -I=proto --go_out=pb/mcs proto/mcs.proto
$ protoc -I=proto --go_out=pb/checkin proto/checkin.proto
$ protoc -I=proto --go_out=pb/checkin proto/android_checkin.proto
$ go build
```
## License
MIT License
proto file is licensed by is The Chromium Authors. (BSD-style license)
(copied it from https://chromium.googlesource.com/chromium/chromium/+/trunk/google_apis/gcm/protocol/)