{"id":20088501,"url":"https://github.com/fatah4561/go-firebase-cloud-message-server","last_synced_at":"2026-05-10T01:41:56.812Z","repository":{"id":216029722,"uuid":"740286665","full_name":"fatah4561/go-firebase-cloud-message-server","owner":"fatah4561","description":"Simple quickstart go firebase cloud message server","archived":false,"fork":false,"pushed_at":"2024-01-08T03:52:25.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T02:32:19.274Z","etag":null,"topics":["firebase","firebase-cloud-messaging","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fatah4561.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-08T03:01:35.000Z","updated_at":"2024-01-08T03:51:29.000Z","dependencies_parsed_at":"2024-01-08T05:09:35.151Z","dependency_job_id":null,"html_url":"https://github.com/fatah4561/go-firebase-cloud-message-server","commit_stats":null,"previous_names":["fatah4561/go-google-cloud-message-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatah4561%2Fgo-firebase-cloud-message-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatah4561%2Fgo-firebase-cloud-message-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatah4561%2Fgo-firebase-cloud-message-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatah4561%2Fgo-firebase-cloud-message-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatah4561","download_url":"https://codeload.github.com/fatah4561/go-firebase-cloud-message-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241523941,"owners_count":19976424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-cloud-messaging","go","golang"],"created_at":"2024-11-13T16:14:13.018Z","updated_at":"2026-05-10T01:41:51.788Z","avatar_url":"https://github.com/fatah4561.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nSimple quickstart google firebase cloud message server using go programming language / golang, **this is\nthe server** (to send the messages) if you need client apps visit [firebase github](https://github.com/firebase):\n\n- [Android firebase client apps](https://github.com/firebase/quickstart-android)\n- [Web js firebase client apps](https://github.com/firebase/quickstart-js)\n- [Ios firebase client apps](https://github.com/firebase/quickstart-ios)\n\n## Setup\n\nBefore starting replace the \"google-service-key.json\" to correct path private key file in main.go\n\n```go\n// REPLACE \"google-service-key.json\" to correct path private key file\n// visit https://firebase.google.com/docs/cloud-messaging/auth-server#provide-credentials-manually\nopt := option.WithCredentialsFile(\"google-service-key.json\")\n```\n\nAlso replace the registration token \"CLIENT_REGISTRATION_TOKEN\" with yours registration token in main.go\n\n```go\n// This registration token comes from the client FCM SDKs. Check about section in readme if you need client apps\nregistrationToken := \"CLIENT_REGISTRATION_TOKEN\"\n```\n\nIf you want to send message to multiple clients / topcis, add tokens here in main.go\n\n```go\n// These registration tokens come from the client FCM SDKs. Check about section in readme if you need client apps\nregistrationTokens := []string{\n    registrationToken,\n    // ...\n    // \"YOUR_REGISTRATION_TOKEN_n\",\n}\n```\n\nFor more info on sending messages (individual clients, multiple clients, or topic) check [firebase docs](https://firebase.google.com/docs/cloud-messaging/send-message)\n\n## Run / Build\n\nRun\n\n```bash\ngo run main.go\n```\n\nBuild\n\n```bash\ngo build main.go\n```\n\n## Docs\n\n [Google cloud message documentation](https://firebase.google.com/docs/cloud-messaging/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatah4561%2Fgo-firebase-cloud-message-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatah4561%2Fgo-firebase-cloud-message-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatah4561%2Fgo-firebase-cloud-message-server/lists"}