{"id":18292530,"url":"https://github.com/tinode/fcm","last_synced_at":"2025-06-13T08:36:06.411Z","repository":{"id":57494547,"uuid":"69814237","full_name":"tinode/fcm","owner":"tinode","description":"Basic implementation of FCM (firebase cloud messaging) in Go","archived":false,"fork":false,"pushed_at":"2018-10-02T08:01:50.000Z","size":16,"stargazers_count":12,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-10T20:01:45.720Z","etag":null,"topics":["fcm","firebase-cloud-messaging"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinode.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-10-02T18:30:39.000Z","updated_at":"2025-03-25T21:32:55.000Z","dependencies_parsed_at":"2022-09-02T04:30:32.637Z","dependency_job_id":null,"html_url":"https://github.com/tinode/fcm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinode/fcm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ffcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ffcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ffcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ffcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinode","download_url":"https://codeload.github.com/tinode/fcm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ffcm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259610696,"owners_count":22884305,"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":["fcm","firebase-cloud-messaging"],"created_at":"2024-11-05T14:18:24.850Z","updated_at":"2025-06-13T08:36:06.368Z","avatar_url":"https://github.com/tinode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang FCM\n\nBasic implementation of FCM (firebase cloud messaging) in Go. Only HTTP requests with JSON payload are supported.\nThis package uses legacy HTTP API (pre-v1 API).\n\n## Documentation\n\n[https://godoc.org/github.com/tinode/fcm](https://godoc.org/github.com/tinode/fcm)\n\n## Usage:\n\n```\n  client := fcm.NewClient(your_fcm_api_key)\n\n  message := \u0026fcm.HttpMessage{...initialize your message...}\n  response := client.SendHttp(message)\n```\n\nThe `client` is safe to use from multiple go routines at the same time. The client maintains a pool of HTTP connections. It recycles them as needed. Do not recreate client for every request because it's wasteful.\n`SendHttp` is a blocking call.\n\nSample code: https://github.com/tinode/chat/blob/master/server/push/fcm/push_fcm.go\n\n## Installation\n\n```\ngo get github.com/tinode/fcm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinode%2Ffcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinode%2Ffcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinode%2Ffcm/lists"}