{"id":13508614,"url":"https://github.com/Hajto/ExFCM","last_synced_at":"2025-03-30T11:32:24.562Z","repository":{"id":62429111,"uuid":"70003063","full_name":"Hajto/ExFCM","owner":"Hajto","description":"ExFCM is a simple wrapper around Firebase Cloud Messaging","archived":false,"fork":false,"pushed_at":"2016-10-05T06:49:37.000Z","size":8,"stargazers_count":1,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T07:51:32.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/exfcm","language":"Elixir","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/Hajto.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}},"created_at":"2016-10-04T20:22:52.000Z","updated_at":"2016-11-11T07:11:14.000Z","dependencies_parsed_at":"2022-11-01T20:01:32.282Z","dependency_job_id":null,"html_url":"https://github.com/Hajto/ExFCM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajto%2FExFCM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajto%2FExFCM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajto%2FExFCM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajto%2FExFCM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hajto","download_url":"https://codeload.github.com/Hajto/ExFCM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314011,"owners_count":20757450,"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":[],"created_at":"2024-08-01T02:00:55.647Z","updated_at":"2025-03-30T11:32:21.800Z","avatar_url":"https://github.com/Hajto.png","language":"Elixir","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# ExFCM\n\nIs a simple wrapper around Firebase Cloud Messaging that uses HTTPoison.\n\n## Needed configuration\n\n```elixir\n\nconfig :exfcm,\n  server_key: \"yourKeyFromConsole\"\n\n```\n\n## To send message to topic\n\n```elixir\n{:ok , result } = Message.put_data(%{\"sample\" =\u003e \"true\"})\n    |\u003e Message.put_notification(\"Github\",\"is_awesome\")\n    |\u003e Message.target_topic(\"aTopic\")\n    |\u003e Message.send\n```\n\n## To send message to device or device group\n\n```elixir\n{:ok , result } = Message.put_data(%{\"sample\" =\u003e \"true\"})\n    |\u003e Message.put_notification(\"Github\",\"is_awesome\")\n    |\u003e Message.target_device(\"aTopic\")\n    |\u003e Message.send\n```\n\n## Installation\n\nIf [available in Hex](https://hex.pm/packages/exfcm), the package can be installed as:\n\n  1. Add `exfcm` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:exfcm, \"~\u003e 0.1.0\"}]\n    end\n    ```\n\n  2. Ensure `exfcm` is started before your application:\n\n    ```elixir\n    def application do\n      [applications: [:exfcm]]\n    end\n    ```\n## TODO\n\n* Add custom filters\n* Add suport for additional params on notification\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHajto%2FExFCM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHajto%2FExFCM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHajto%2FExFCM/lists"}