https://github.com/beeper/push-receiver
https://github.com/beeper/push-receiver
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/beeper/push-receiver
- Owner: beeper
- Created: 2024-06-21T13:16:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-11T17:21:20.000Z (4 months ago)
- Last Synced: 2026-03-11T03:55:48.447Z (3 months ago)
- Language: Go
- Size: 283 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-push-receiver
[](https://godoc.org/github.com/beeper/push-receiver)
[](https://goreportcard.com/report/github.com/beeper/push-receiver)
[](LICENSE)
[](https://github.com/beeper/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. install protoc
```shell
brew install protobuf
```
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/)