{"id":44731853,"url":"https://github.com/edganiukov/fcm","last_synced_at":"2026-02-15T18:37:27.524Z","repository":{"id":57481210,"uuid":"61109484","full_name":"edganiukov/fcm","owner":"edganiukov","description":"Golang client library for Firebase Cloud Messaging.","archived":false,"fork":false,"pushed_at":"2019-03-23T10:21:50.000Z","size":33,"stargazers_count":24,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T12:16:13.252Z","etag":null,"topics":["android","fcm","firebase-cloud-messaging","go","go-fcm","golang","push-notifications"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edganiukov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-14T09:24:05.000Z","updated_at":"2024-02-14T14:45:12.000Z","dependencies_parsed_at":"2022-09-26T17:50:42.793Z","dependency_job_id":null,"html_url":"https://github.com/edganiukov/fcm","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/edganiukov/fcm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edganiukov%2Ffcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edganiukov%2Ffcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edganiukov%2Ffcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edganiukov%2Ffcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edganiukov","download_url":"https://codeload.github.com/edganiukov/fcm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edganiukov%2Ffcm/sbom","scorecard":{"id":366452,"data":{"date":"2025-08-11","repo":{"name":"github.com/edganiukov/fcm","commit":"a12f05d3363cdc8ac28e5828f2ee7c60cf381a56"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 2/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T11:55:47.898Z","repository_id":57481210,"created_at":"2025-08-18T11:55:47.899Z","updated_at":"2025-08-18T11:55:47.899Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29486627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["android","fcm","firebase-cloud-messaging","go","go-fcm","golang","push-notifications"],"created_at":"2026-02-15T18:37:27.427Z","updated_at":"2026-02-15T18:37:27.504Z","avatar_url":"https://github.com/edganiukov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fcm\n[![GoDoc](https://godoc.org/github.com/edganiukov/fcm?status.svg)](https://godoc.org/github.com/edganiukov/fcm)\n[![Build Status](https://travis-ci.org/edganiukov/fcm.svg?branch=master)](https://travis-ci.org/edganiukov/fcm)\n[![Go Report Card](https://goreportcard.com/badge/github.com/edganiukov/fcm)](https://goreportcard.com/report/github.com/edganiukov/fcm)\n\nGolang client library for Firebase Cloud Messaging. Implemented only [HTTP client](https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream).\n\nMore information on [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)\n\n### Getting Started\n-------------------\nTo install fcm, use `go get`:\n\n```bash\ngo get github.com/edganiukov/fcm\n```\nor `dep`, add to the `Gopkg.toml` file dependency:\n\n```toml\n[[constraint]]\n  name = \"github.com/edganiukov/fcm\"\n  version = \"0.3.0\"\n```\nand then run:\n\n```bash\ndep ensure\n```\n\n### Sample Usage\n----------------\nHere is a simple example illustrating how to use FCM library:\n```go\npackage main\n\nimport (\n\t\"github.com/edganiukov/fcm\"\n)\n\nfunc main() {\n\t// Create the message to be sent.\n\tmsg := \u0026fcm.Message{\n     \t\tToken: \"sample_device_token\",\n      \t\tData: map[string]interface{}{\n         \t\t\"foo\": \"bar\",\n      \t\t},\n  \t}\n\n\t// Create a FCM client to send the message.\n\tclient, err := fcm.NewClient(\"sample_api_key\")\n\tif err != nil {\n  \t\tlog.Fatal(err)\n\t}\n\n\t// Send the message and receive the response without retries.\n\tresponse, err := client.Send(msg)\n\tif err != nil {\n\t\t/* ... */\n\t}\n\t/* ... */\n}\n```\n\n\n#### TODO:\n---------\n- [ ] Retry only failed messages while multicast messaging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedganiukov%2Ffcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedganiukov%2Ffcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedganiukov%2Ffcm/lists"}