{"id":15676485,"url":"https://github.com/deckchairlabs/typescript-fcm-example","last_synced_at":"2025-10-14T06:44:08.763Z","repository":{"id":43988887,"uuid":"242057984","full_name":"deckchairlabs/typescript-fcm-example","owner":"deckchairlabs","description":"Typescript example for Firebase Cloud Messaging","archived":false,"fork":false,"pushed_at":"2023-01-05T07:53:51.000Z","size":1725,"stargazers_count":4,"open_issues_count":12,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T04:31:33.508Z","etag":null,"topics":["firebase","firebase-cloud-messaging","parceljs","service-worker","typescript"],"latest_commit_sha":null,"homepage":"https://typescript-fcm-example.netlify.com/","language":"TypeScript","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/deckchairlabs.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":"2020-02-21T04:58:49.000Z","updated_at":"2025-02-25T16:35:35.000Z","dependencies_parsed_at":"2023-02-03T19:15:35.713Z","dependency_job_id":null,"html_url":"https://github.com/deckchairlabs/typescript-fcm-example","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/deckchairlabs%2Ftypescript-fcm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckchairlabs%2Ftypescript-fcm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckchairlabs%2Ftypescript-fcm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckchairlabs%2Ftypescript-fcm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deckchairlabs","download_url":"https://codeload.github.com/deckchairlabs/typescript-fcm-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252790027,"owners_count":21804533,"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","parceljs","service-worker","typescript"],"created_at":"2024-10-03T16:02:18.196Z","updated_at":"2025-10-14T06:44:03.715Z","avatar_url":"https://github.com/deckchairlabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typescript-fcm-example\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/46b4c999-5c0c-4427-a012-08b55ac97a91/deploy-status)](https://app.netlify.com/sites/typescript-fcm-example/deploys)\n\nTypescript example for Firebase Cloud Messaging\n\nThe following assumes an existing knowledge of NodeJS and Firebase development.\n\n## Environment Setup\n\n1. You will need to create a `.env` or `.env.local` (this is preferred, as to keep any sensitive credentials out of your repository) file with the following variables.\n\n   ```sh\n   # .env.local\n   # Follow the instructions here to obtain your Firebase config https://firebase.google.com/docs/web/setup\n   FIREBASE_API_KEY=your value here\n   FIREBASE_PROJECT_ID=your value here\n   FIREBASE_MESSAGING_SENDER_ID=your value here\n   FIREBASE_APP_ID=your value here\n   FIREBASE_MEASUREMENT_ID=your value here\n   # To get your VAPID key, follow the instructions here https://firebase.google.com/docs/cloud-messaging/js/client\n   PUBLIC_VAPID_KEY=your value here\n   ```\n\n2. Allow Chrome to use insecure certificates for localhost `chrome://flags/#allow-insecure-localhost`\n\n## Testing\n\nRun `yarn dev` to start the local development server powered by ParcelJS. You will be asked for permission to receive notifications, after accepting, the textarea will be populated with your FCM token which you can use to send tests using the Firebase Console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckchairlabs%2Ftypescript-fcm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeckchairlabs%2Ftypescript-fcm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckchairlabs%2Ftypescript-fcm-example/lists"}