{"id":15105623,"url":"https://github.com/mastodon/webpush-fcm-relay","last_synced_at":"2025-06-20T10:36:48.808Z","repository":{"id":41819389,"uuid":"477314627","full_name":"mastodon/webpush-fcm-relay","owner":"mastodon","description":"Relay encrypted WebPush notifications to Firebase Cloud Messaging.","archived":false,"fork":false,"pushed_at":"2024-09-18T10:26:54.000Z","size":54,"stargazers_count":15,"open_issues_count":1,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-31T11:57:27.425Z","etag":null,"topics":["fcm","mastodon","push-notifications","webpush"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/mastodon.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mastodon","patreon":"mastodon","open_collective":"mastodon","custom":"https://sponsor.joinmastodon.org"}},"created_at":"2022-04-03T11:01:28.000Z","updated_at":"2024-10-29T13:26:00.000Z","dependencies_parsed_at":"2024-04-15T11:20:17.583Z","dependency_job_id":"f592c1db-0013-42b8-990c-f146949b0aa7","html_url":"https://github.com/mastodon/webpush-fcm-relay","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.5714285714285714,"last_synced_commit":"0819c19f09e4bf5590f5aa93c7d544613eb969e3"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fwebpush-fcm-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fwebpush-fcm-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fwebpush-fcm-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fwebpush-fcm-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastodon","download_url":"https://codeload.github.com/mastodon/webpush-fcm-relay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237152832,"owners_count":19263792,"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","mastodon","push-notifications","webpush"],"created_at":"2024-09-25T20:41:44.444Z","updated_at":"2025-02-04T16:31:18.313Z","avatar_url":"https://github.com/mastodon.png","language":"Go","funding_links":["https://github.com/sponsors/mastodon","https://patreon.com/mastodon","https://opencollective.com/mastodon","https://sponsor.joinmastodon.org"],"categories":[],"sub_categories":[],"readme":"webpush-fcm-relay\n=================\n\n[![Go](https://github.com/mastodon/webpush-fcm-relay/actions/workflows/go.yml/badge.svg)](https://github.com/mastodon/webpush-fcm-relay/actions/workflows/go.yml)\n\nRelay encrypted WebPush notifications to Firebase Cloud Messaging.\n\n## Usage\n\n```\nUsage of ./webpush-fcm-relay:\n  -bind string\n      Bind address (default \"127.0.0.1:42069\")\n  -credentials-file-path string\n        Path to the Firebase credentials file\n  -max-queue-size int (default 1024)\n      The size of the internal queue\n  -max-workers int (default 4)\n      The number of workers sending requests to fcm\n```\n\n## API\n\nSend a request to `POST /relay-to/fcm/:device_token(/:extra)` with the encrypted payload in the body and content encoding `aesgcm`.\n\nRequired headers:\n\n- `Content-Encoding`\n- `Crypto-Key`\n- `Encryption`\n\nSupported headers:\n\n- `TTL`\n- `Topic`\n- `Urgency`\n\n## More information\n\nSee [toot-relay](https://github.com/DagAgren/toot-relay)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastodon%2Fwebpush-fcm-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastodon%2Fwebpush-fcm-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastodon%2Fwebpush-fcm-relay/lists"}